<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial, helvetica, sans-serif;font-size:10pt"><div></div><div>How about "merge-cubit12" branch?<br> </div><font style="font-family:arial, helvetica, sans-serif;" size="2">Rajeev</font><br><div><br></div><div style="font-family:arial, helvetica, sans-serif;font-size:10pt"><br><div style="font-family:arial, helvetica, sans-serif;font-size:10pt"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> "jvporter@wisc.edu" <jvporter@wisc.edu><br><b><span style="font-weight: bold;">To:</span></b> cgma-dev@mcs.anl.gov<br><b><span style="font-weight: bold;">Sent:</span></b> Thursday, March 10, 2011 13:49:04<br><b><span style="font-weight: bold;">Subject:</span></b> [cgma-dev] r4568 - cgm/trunk/itaps<br></font><br>Author: jvporter<br>Date: 2011-03-10 13:49:03 -0600 (Thu, 10 Mar 2011)<br>New Revision:
4568<br><br>Modified:<br> cgm/trunk/itaps/iGeom.h<br> cgm/trunk/itaps/iGeom_CGMA.cc<br> cgm/trunk/itaps/testgeom.cc<br>Log:<br>Update iGeom's tagging interface to match iMesh's<br><br><br>Modified: cgm/trunk/itaps/iGeom.h<br>===================================================================<br>--- cgm/trunk/itaps/iGeom.h 2011-03-10 05:50:49 UTC (rev 4567)<br>+++ cgm/trunk/itaps/iGeom.h 2011-03-10 19:49:03 UTC (rev 4568)<br>@@ -3236,9 +3236,13 @@<br> <br> /**\brief Set a tag value of arbitrary type on an entity set<br> *<br>- * Set a tag value of arbitrary type on an entity set. Tag data is <br>- * passed as char* type,<br>- * but really represents pointer to arbitrary data.<br>+ * Set a tag value of arbitrary type on an entity set. The tag data<br>+ * is passed as void*.
tag_value_size specifies the size of the memory<br>+ * pointed to by tag_value in terms of bytes. Applications are free to<br>+ * use this function to set data of any type, not just iBase_BYTES.<br>+ * However, in all cases, the size specified by tag_value_size is<br>+ * always in terms of bytes.<br>+ *<br> * \param instance iGeom instance handle<br> * \param entity_set_handle Entity set on which tag is being set<br> * \param tag_handle Tag being set on an entity set<br>@@ -3248,9 +3252,9 @@<br> */<br> void iGeom_setEntSetData( iGeom_Instance instance,<br> iBase_EntitySetHandle entity_set_handle,<br>-
iBase_TagHandle tag_handle,<br>- const char* tag_value,<br>- int tag_value_size, <br>+ const iBase_TagHandle tag_handle,<br>+ const void* tag_value,<br>+ const int tag_value_size,<br> int *err );<br> <br> /**\brief Set a tag value of integer type on an entity set<br>@@ -3298,22 +3302,44 @@<br>
iBase_EntityHandle tag_value, <br> int *err );<br> <br>+ /**\brief Set a tag value of entity set handle type on an entity set<br>+ *<br>+ * Set a tag value of entity set handle type on an entity set.<br>+ * \param instance iGeom instance handle<br>+ * \param entity_set Entity set on which tag is being set<br>+ * \param tag_handle Tag being set on an entity set<br>+ * \param tag_value Tag value being set on entity set<br>+ * \param *err Pointer to error type returned from function<br>+ */<br>+ void iGeom_setEntSetESHData( iGeom_Instance instance,<br>+ iBase_EntitySetHandle
entity_set,<br>+ iBase_TagHandle tag_handle,<br>+ iBase_EntitySetHandle tag_value, <br></div></div><div style="position:fixed"></div>
</div><br></body></html>