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

Downcast a generic Node handle to an ScaledIntegerNode handle.

Parameters:
[in]nThe generic handle to downcast.

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