VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Attributes
DtDIGuyCharacterDataXmlReader Class Reference

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...

Inheritance diagram for DtDIGuyCharacterDataXmlReader:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtDIGuyCharacterDataXmlReader ()
 Default constructor.
 DtDIGuyCharacterDataXmlReader (xmlNodePtr root, xmlNodePtr node)
virtual ~DtDIGuyCharacterDataXmlReader ()
 Destructor.
 DtDIGuyCharacterDataXmlReader (const DtDIGuyCharacterDataXmlReader &node)
 Copy constructor.
DtDIGuyCharacterDataXmlReaderoperator= (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

DtDIGuyCharacterAnimationTablemyCharacterAnimationTable

Detailed Description

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.


Constructor & Destructor Documentation

Default constructor.

DtDIGuyCharacterDataXmlReader::DtDIGuyCharacterDataXmlReader ( xmlNodePtr  root,
xmlNodePtr  node 
)

Destructor.

Copy constructor.


Member Function Documentation

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]

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;


Member Data Documentation


The documentation for this class was generated from the following file:

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)