Archon::X3D::Parser Struct Reference

Inheritance diagram for Archon::X3D::Parser:

Inheritance graph
[legend]
Collaboration diagram for Archon::X3D::Parser:

Collaboration graph
[legend]
List of all members.

Protected Member Functions

virtual void warning (string message)
 Parser (Ref< ExecutionContext > context, Ref< GroupingNode > rootGroup, string sourceName, Logger *logger)
virtual ~Parser ()
bool validateIdentifier (string)
void addNamedNode (string, Ref< NodeBase >)
Ref< NodeBaselookupNode (string name)
void addRootGroupChild (Ref< ChildNode >, Time stamp)
void addRoute (string sourceNodeName, string sourceFieldName, string targetNodeName, string targetFieldName)
int getNextCustomFieldIndex (Ref< CustomFieldNode >)
void addScriptField (Ref< CustomFieldNode >, Ref< CustomFieldBase >)

Protected Attributes

Ref< ExecutionContextcontext
Ref< GroupingNoderootGroup
 The root group will normally be the root group of the scene, but may also be some other group if a new file is parsed in the context of an existing scene.
string sourceName
 Name of source for parsed data.
Loggerlogger

Detailed Description

Definition at line 51 of file parse.H.


Member Function Documentation

void Archon::X3D::Parser::addRoute string  sourceNodeName,
string  sourceFieldName,
string  targetNodeName,
string  targetFieldName
[protected]
 

Todo:
Somehow sombody must check the runtime types when sending nodes (SFNode/MFNode) across routes.

Todo:
The below restriction is not mentioned in the X3D specification.

Definition at line 73 of file parse.C.

References Archon::X3D::Route::add(), Archon::X3D::FieldBase::getIsEventSource(), Archon::X3D::FieldBase::getIsEventTarget(), Archon::X3D::NodeType::getName(), Archon::X3D::FieldType::getName(), Archon::X3D::FieldBase::getName(), Archon::X3D::NodeFieldBase::getNodeType(), Archon::X3D::FieldBase::getType(), lookupNode(), and warning().

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


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