[cgma-dev] r4568 - cgm/trunk/itaps
James Porter
jvporter at wisc.edu
Thu Mar 10 16:41:43 CST 2011
I'll leave that up to the people working on the Cubit 12 branch, since I wouldn't be surprised if there are other changes that need to be merged in, and I don't know how out of sync that branch is.
- Jim
On 03/10/11, Rajeev Jain wrote:
>
>
>
>
> How about "merge-cubit12" branch?
>
> Rajeev
>
>
>
> From: "jvporter at wisc.edu" <jvporter at wisc.edu>
> To: cgma-dev at mcs.anl.gov
> Sent: Thursday, March 10, 2011 13:49:04
> Subject: [cgma-dev] r4568 - cgm/trunk/itaps
>
> Author: jvporter
> Date: 2011-03-10 13:49:03 -0600 (Thu, 10 Mar 2011)
> New Revision:
>
> 4568
>
> Modified:
> cgm/trunk/itaps/iGeom.h
> cgm/trunk/itaps/iGeom_CGMA.cc
> cgm/trunk/itaps/testgeom.cc
> Log:
> Update iGeom's tagging interface to match iMesh's
>
>
> Modified: cgm/trunk/itaps/iGeom.h
> ===================================================================
> --- cgm/trunk/itaps/iGeom.h 2011-03-10 05:50:49 UTC (rev 4567)
> +++ cgm/trunk/itaps/iGeom.h 2011-03-10 19:49:03 UTC (rev 4568)
> @@ -3236,9 +3236,13 @@
>
> /**\brief Set a tag value of arbitrary type on an entity set
> *
> - * Set a tag value of arbitrary type on an entity set. Tag data is
> - * passed as char* type,
> - * but really represents pointer to arbitrary data.
> + * Set a tag value of arbitrary type on an entity set. The tag data
> + * is passed as void*.
>
> tag_value_size specifies the size of the memory
> + * pointed to by tag_value in terms of bytes. Applications are free to
> + * use this function to set data of any type, not just iBase_BYTES.
> + * However, in all cases, the size specified by tag_value_size is
> + * always in terms of bytes.
> + *
> * \param instance iGeom instance handle
> * \param entity_set_handle Entity set on which tag is being set
> * \param tag_handle Tag being set on an entity set
> @@ -3248,9 +3252,9 @@
> */
> void iGeom_setEntSetData( iGeom_Instance instance,
> iBase_EntitySetHandle entity_set_handle,
> -
>
> iBase_TagHandle tag_handle,
> - const char* tag_value,
> - int tag_value_size,
> + const iBase_TagHandle tag_handle,
> + const void* tag_value,
> + const int tag_value_size,
> int *err );
>
> /**\brief Set a tag value of integer type on an entity set
> @@ -3298,22 +3302,44 @@
>
>
> iBase_EntityHandle tag_value,
> int *err );
>
> + /**\brief Set a tag value of entity set handle type on an entity set
> + *
> + * Set a tag value of entity set handle type on an entity set.
> + * \param instance iGeom instance handle
> + * \param entity_set Entity set on which tag is being set
> + * \param tag_handle Tag being set on an entity set
> + * \param tag_value Tag value being set on entity set
> + * \param *err Pointer to error type returned from function
> + */
> + void iGeom_setEntSetESHData( iGeom_Instance instance,
> + iBase_EntitySetHandle
>
> entity_set,
> + iBase_TagHandle tag_handle,
> + iBase_EntitySetHandle tag_value,
>
>
>
>
>
>
>
>
>
>
>
>
>
>
More information about the cgma-dev
mailing list