6/6/25, 8:45 Special data types
Special data types
All objects in the ITK are identified by tags of C type tag_t. A run-time unique identifier isolates the client code using the object from its representation in memory, making
it safe from direct pointer access.
Tags may be compared by use of the C language == and != operators. An unset tag_t variable is assigned the NULLTAG null value. If two tags have the same value, they
reference the same object. For example:
#include <tc/tc.h>
#include <ae/ae.h>
{
tag_t dataset_tag;
int error_code;
login, etc. ...
error_code = AE_find_dataset ("my special dataset", &dataset_tag)
if( error_code ==ITK_ok )
{ if (dataset_tag == NULLTAG)
{ /*
* Could not find my special dataset, so go create one.
*/
error_code = AE_create_dataset_with_id (....
}
}
else
{
report error ....
Look up more details
Syntax conventions used in this guide
Learn more
Format
Variable naming conventions
Class hierarchy
Include files
Quick links
Guía de iniciación en Teamcenter
Conceptos básicos de Teamcenter
Glossary
Sugerencias para el uso de la ayuda
https://docs.sw.siemens.com/documentation/external/PL20190708094239443/es-ES/tc/12.2/help_sc/es-ES/itk/id921903/xid629139/specdatatypes.html 1/1