H3D::MFNode Class Reference
[Basic Field types.]

MFNode is almost like any MField but it encapsulates a vector of Node pointers. More...

#include <H3D/MFNode.h>

Inheritance diagram for H3D::MFNode:

Inheritance graph

List of all members.

Public Member Functions

const_iterator begin (int id=0)
 Returns a const_iterator pointing to the beginning of the vector.
const_iterator end (int id=0)
 Returns a const_iterator pointing to the end of the vector.
const_reverse_iterator rbegin (int id=0)
 Returns a const_reverse_iterator pointing to the beginning of the vector.
const_reverse_iterator rend (int id=0)
 Returns a const_reverse_iterator pointing to the end of the vector.
virtual Nodeoperator[] (size_type i)
 Returns the n'th element.
virtual Nodefront (int id=0)
 Returns the first element.
virtual Nodeback (int id=0)
 Returns the last element.
virtual NodegetValueByIndex (size_type i, int id=0)
 Get the value of the MField.
 MFNode ()
 Default constructor. Creates an empty MFNode.
 MFNode (size_type sz)
 Creates an MFNode with space reserved for size nodes.
virtual const NodeVectorgetValue (int id=0)
 Get the value of the MField.
virtual string getTypeName ()
 Returns a string name for this field type i.e. MFNode.
virtual X3DTypes::X3DType getX3DType ()
 Returns the X3DType of the field.

Static Public Member Functions

static string classTypeName ()
 Returns a string name for this field type i.e. MFNode.


Detailed Description

MFNode is almost like any MField but it encapsulates a vector of Node pointers.

Reference counting on the encapsulated Nodes is upheld.


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

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