E57 Foundation API v1.1.312  Aug. 10, 2011
NodeType type ( ) const

Return the NodeType of a generic Node.

This function allows the actual node type to be interrogated before upcasting the handle to the actual node type (see Upcasting and Dowcasting section in Node).

Returns:
The NodeType of a generic Node, which may be one of the following NodeType enumeration values: E57_STRUCTURE, E57_VECTOR, E57_COMPRESSED_VECTOR, E57_INTEGER, E57_SCALED_INTEGER, E57_FLOAT, E57_STRING, E57_BLOB.
Postcondition:
No visible state is modified.
See also:
NodeFunctions.cpp example, NodeType, StructureCreate.cpp example, upcast/dowcast discussion in Node
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines