H3D::FieldDBElement Struct Reference

A FieldDBElement is an encapsulation of a field in a H3DNodeDatabase. More...

#include <H3DNodeDatabase.h>

Inheritance diagram for H3D::FieldDBElement:

Inheritance graph
List of all members.

Public Member Functions

 FieldDBElement (H3DNodeDatabase *_container, const string &_name, const Field::AccessType _access)
 Constructor.
virtual ~FieldDBElement ()
 Destructor.
H3DNodeDatabasegetContainer ()
 Get the H3DNodeDatabase this instance is part of.
const string & getName ()
 Get the name of the field.
const Field::AccessType getAccessType ()
 Get the access type of the field.
virtual FieldgetField (Node *n) const
 Given a Node get a pointer to the field in that node that is represented by this FieldDBElement.

Protected Attributes

H3DNodeDatabasecontainer
string name
const Field::AccessType access

Detailed Description

A FieldDBElement is an encapsulation of a field in a H3DNodeDatabase.


Constructor & Destructor Documentation

FieldDBElement::FieldDBElement H3DNodeDatabase _container,
const string &  _name,
const Field::AccessType  _access
 

Constructor.

Parameters:
_container The H3DNodeDatabase the FieldDBElement will be part of.
_name The name of the field.
_access The access type of the field.


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