company logo

TypeDefinition :: namespaceID - Internal name space identifier

The internal name space identifier (NSID) refers to the name space the type belongs to.

When calling the function with an invalid type definition, the function throws an exception.

Notes:

On the one hand, the NSID is redundant since the type belongs to a name space, which must have an internal type number which is equal to the NSID. On the other hand, the NSID may differ from the referenced name space type number, when the referenced name space is an inactive name space (module or project). Structures are always active name spaces. Inactive name spaces inherit the NSID from the next higher active name space.

Return value:  Internal namespace number ( int32  )

Implementation details

int32 TypeDefinition  :: namespaceID (  )