asTYPEID_OBJHANDLE asTYPEID_HANDLETOCONST asTYPEID_MASK_OBJECT asTYPEID_APPOBJECT asTYPEID_SCRIPTANY asTYPEID_SCRIPTSTRUCT asTYPEID_SCRIPTARRAY asTYPEID_MASK_SEQNBR
If this bit flag is set in a type id, then the id is representing an object handle.
If this bit flag is set in a type id, then the id is representing an object handle that have read only access to the object. This flag is valid only with the asTYPEID_OBJHANDLE flag.
Use this flag to mask out the bits that determine the object type. It can also be used to determine if the type id represents a primitive type.
if( (typeId & asTYPEID_MASK_OBJECT) == 0 ) { // the type is a primitive }
These bits are set when the type id represents an application registered object type. First mask out the object type bits with asTYPEID_MASK_OBJECT and then compare with this constant.
if( (typeId & asTYPEID_MASK_OBJECT) == asTYPEID_APPOBJECT ) { // the type is an application registered type }
These bits are set when the type id represents a script any type. First mask out the object type bits with asTYPEID_MASK_OBJECT and then compare with this constant.
if( (typeId & asTYPEID_MASK_OBJECT) == asTYPEID_SCRIPTANY ) { // the type is a script any type }
These bits are set when the type id represents a script struct type. First mask out the object type bits with asTYPEID_MASK_OBJECT and then compare with this constant.
if( (typeId & asTYPEID_MASK_OBJECT) == asTYPEID_SCRIPTSTRUCT ) { // the type is a script struct type }
These bits are set when the type id represents a script array type. First mask out the object type bits with asTYPEID_MASK_OBJECT and then compare with this constant.
if( (typeId & asTYPEID_MASK_OBJECT) == asTYPEID_SCRIPTARRAY ) { // the type is a script array type }
This mask can be used to retrieve the object type's basic sequence number. Normally this is not something that is useful to an application.