![]() |
VR-Forces 4.0.4 Class Documentation
|
Represents a reader class that interacts with libXml to read the Di-Guy character digest file This file is represented as a n-ary tree document in which the tags contained inside other tags are represented as parent-child relationships. More...

Public Member Functions | |
| DtDIGuyCharacterDataXmlReader () | |
| Default constructor. | |
| DtDIGuyCharacterDataXmlReader (xmlNodePtr root, xmlNodePtr node) | |
| virtual | ~DtDIGuyCharacterDataXmlReader () |
| Destructor. | |
| DtDIGuyCharacterDataXmlReader (const DtDIGuyCharacterDataXmlReader &node) | |
| Copy constructor. | |
| DtDIGuyCharacterDataXmlReader & | operator= (const DtDIGuyCharacterDataXmlReader &orig) |
| Assignment operator. | |
| virtual bool | readCharacterData (xmlNodePtr node, DtDIGuyCharacterData *data) |
| Reads a character_type node and fills in all the data for that character. | |
| virtual bool | readCharacterAppearances (xmlNodePtr appNode, DtDIGuyCharacterData *data) |
| Reads the appearance list for a character from it's appearance node. | |
| virtual bool | readCharacterAnimations (xmlNodePtr animateNode, DtDIGuyCharacterData *data) |
| Reads the animations list for a character from it's animation root node. | |
| virtual bool | readAnimationNode (xmlNodePtr node, DtDIGuyAnimation *animation) |
| virtual void | setAnimationsTable (DtDIGuyCharacterAnimationTable *table) |
| This class just uses this list, doesn't own it so don't remove it. | |
Protected Attributes | |
| DtDIGuyCharacterAnimationTable * | myCharacterAnimationTable |
Represents a reader class that interacts with libXml to read the Di-Guy character digest file This file is represented as a n-ary tree document in which the tags contained inside other tags are represented as parent-child relationships.
For example,
<action name="stand" >
<duration>0.500000</duration>
<speed>0.000000</speed>
<posture>upright</posture>
</action>
is represented as a tree with the action node as the father and duration,speed, and posture as children. duration,speed, and posture are considered atomic nodes since they have no child tags.
Default constructor.
| DtDIGuyCharacterDataXmlReader::DtDIGuyCharacterDataXmlReader | ( | xmlNodePtr | root, |
| xmlNodePtr | node | ||
| ) |
| virtual DtDIGuyCharacterDataXmlReader::~DtDIGuyCharacterDataXmlReader | ( | ) | [virtual] |
Destructor.
| DtDIGuyCharacterDataXmlReader::DtDIGuyCharacterDataXmlReader | ( | const DtDIGuyCharacterDataXmlReader & | node | ) |
Copy constructor.
| DtDIGuyCharacterDataXmlReader& DtDIGuyCharacterDataXmlReader::operator= | ( | const DtDIGuyCharacterDataXmlReader & | orig | ) |
Assignment operator.
| virtual bool DtDIGuyCharacterDataXmlReader::readCharacterData | ( | xmlNodePtr | node, |
| DtDIGuyCharacterData * | data | ||
| ) | [virtual] |
Reads a character_type node and fills in all the data for that character.
| virtual bool DtDIGuyCharacterDataXmlReader::readCharacterAppearances | ( | xmlNodePtr | appNode, |
| DtDIGuyCharacterData * | data | ||
| ) | [virtual] |
Reads the appearance list for a character from it's appearance node.
| virtual bool DtDIGuyCharacterDataXmlReader::readCharacterAnimations | ( | xmlNodePtr | animateNode, |
| DtDIGuyCharacterData * | data | ||
| ) | [virtual] |
Reads the animations list for a character from it's animation root node.
| virtual bool DtDIGuyCharacterDataXmlReader::readAnimationNode | ( | xmlNodePtr | node, |
| DtDIGuyAnimation * | animation | ||
| ) | [virtual] |
| virtual void DtDIGuyCharacterDataXmlReader::setAnimationsTable | ( | DtDIGuyCharacterAnimationTable * | table | ) | [virtual] |
This class just uses this list, doesn't own it so don't remove it.
This information is used to provide additional configuration for the animations;
DtDIGuyCharacterAnimationTable* DtDIGuyCharacterDataXmlReader::myCharacterAnimationTable [protected] |