Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

XMLScenegraphReader Class Reference

XML Reader which parses a scenegraph-xml sheet and builds the scenegraph, returns the root node. More...

#include <XMLScenegraphReader.h>

Collaboration diagram for XMLScenegraphReader:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 XMLScenegraphReader (char *path)
 constructor path to the xml file
virtual ~XMLScenegraphReader (void)
 destructor
void parse ()
 parse the xml sheet to a scenegraph
NodegetRoot ()
 get the root node of the parsed scenegraph
void setMotionPointer (Motion *m)

Public Attributes

ThingRegistrytr

Protected Member Functions

void parseAllChildNodes (TiXmlElement *tEl, Node *parent)
 parse all childnodes of a specified xml-element

Protected Attributes

charfilepath
Noderoot
MotionmPtr

Detailed Description

XML Reader which parses a scenegraph-xml sheet and builds the scenegraph, returns the root node.

XML Reader which parses a scenegraph-xml sheet and builds the scenegraph, returns the root node


Constructor & Destructor Documentation

XMLScenegraphReader::XMLScenegraphReader char path  ) 
 

constructor path to the xml file

XMLScenegraphReader::~XMLScenegraphReader void   )  [virtual]
 

destructor


Member Function Documentation

Node * XMLScenegraphReader::getRoot  ) 
 

get the root node of the parsed scenegraph

Returns:
pointer to the root node

void XMLScenegraphReader::parse  ) 
 

parse the xml sheet to a scenegraph

void XMLScenegraphReader::parseAllChildNodes TiXmlElement *  tEl,
Node parent
[protected]
 

parse all childnodes of a specified xml-element

Parameters:
xml-element of which all child nodes are parsed
pointer to the parent node of the parsed nodes

void XMLScenegraphReader::setMotionPointer Motion m  )  [inline]
 


Member Data Documentation

char* XMLScenegraphReader::filepath [protected]
 

Motion* XMLScenegraphReader::mPtr [protected]
 

Node* XMLScenegraphReader::root [protected]
 

ThingRegistry* XMLScenegraphReader::tr
 


The documentation for this class was generated from the following files:
Generated on Mon Jan 24 17:42:34 2005 for Loud and Proud by doxygen 1.3.8