E57 Foundation API v1.1.312  Aug. 10, 2011
CompressedVectorNode ( const Node n) [explicit]

Downcast a generic Node handle to a CompressedVectorNode handle.

Parameters:
[in]nThe generic handle to downcast.

The handle n must be for an underlying CompressedVectorNode, otherwise an exception is thrown. In designs that need to avoid the exception, use Node::type() to determine the actual type of the n before downcasting. This function must be explicitly called (c++ compiler cannot insert it automatically).

Returns:
A smart CompressedVectorNode handle referencing the underlying object.
Exceptions:
E57_ERROR_BAD_NODE_DOWNCAST
See also:
NodeFunctions.cpp example, Node::type(), CompressedVectorNode::operator Node()
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines