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

Downcast a generic Node handle to a IntegerNode handle.

Parameters:
[in]nThe generic handle to downcast.

The handle n must be for an underlying IntegerNode, 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 IntegerNode handle referencing the underlying object.
Exceptions:
E57_ERROR_BAD_NODE_DOWNCAST
See also:
NodeFunctions.cpp example, Node::type(), IntegerNode::operator Node()
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines