H3D::TypedMFNode< NodeType > Class Template Reference
[Field template modifiers.]

Template to make sure that the Nodes that are added to a MFNode are of a specified Node type. More...

#include <H3D/MFNode.h>

Inheritance diagram for H3D::TypedMFNode< NodeType >:

Inheritance graph

List of all members.

Public Member Functions

virtual NodeType * getValueByIndex (typename MFNode::size_type i, int id=0)
 Get the value casted to the NodeType.
virtual NodeType * getCastedValueByIndex (typename MFNode::size_type i, int id=0)
 Get the value casted to the NodeType.

Protected Member Functions

virtual void onAdd (Node *n)
 We check that the type of the Node is of the correct type.


Detailed Description

template<class NodeType>
class H3D::TypedMFNode< NodeType >

Template to make sure that the Nodes that are added to a MFNode are of a specified Node type.

Parameters:
NodeType The expected Node type. Must be a subclass of Node.

The documentation for this class was generated from the following file:

Generated on Fri Nov 7 10:30:35 2008 for H3D API by  doxygen 1.5.7