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

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

#include <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.
virtual NodepreOnAdd (Node *n)
virtual NodepreOnRemove (Node *n)
 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. SFNode.
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. SFNode.

Protected Member Functions

NodegetPrototypeNode (Node *n)

Detailed Description

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

Reference counting on the encapsulated Nodes is upheld.


Generated on Thu Aug 24 12:39:39 2006 for H3D API by  doxygen 1.4.5