Archon::X3D::FieldType Struct Reference

Runtime representation of an X3D field type. More...

#include <archon/x3d/server/type.H>

Collaboration diagram for Archon::X3D::FieldType:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 FieldType (unsigned index, string name, const FieldType *singleType=0)
unsigned getIndex () const
string getName () const
bool getIsMultiple () const
const FieldTypegetSingleType () const

Static Public Member Functions

static const FieldTypelookup (string name)
 Fetch a predefined or user defined node type.

Detailed Description

Runtime representation of an X3D field type.

Examples of field types are: SFBool, MFVec2f...

Definition at line 61 of file type.H.


Member Function Documentation

const FieldType * Archon::X3D::FieldType::lookup string  name  )  [static]
 

Fetch a predefined or user defined node type.

Only concrete node types can be found by this method. This is appropriate for the X3D parsers.

Parameters:
name Is the UTF8 encoded field type name such as SFBool, MFVec2f etc.

Definition at line 385 of file type.C.

Referenced by Archon::X3D::XML::Parser::parseStartElement().


The documentation for this struct was generated from the following files:
Generated on Sun Jul 30 23:01:21 2006 for Archon by  doxygen 1.4.4