![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2008 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: diGuyCharacterDataXmlReader.h,v $ $Revision: 1.1 $ $State: Exp $ 00007 ** Created: 4/3/08 MEM 00008 *******************************************************************************/ 00009 00010 #ifndef diGuyCharacterDataXmlReader_H_ 00011 #define diGuyCharacterDataXmlReader_H_ 00012 00016 00019 00020 #include <vlutil/vlString.h> 00021 #include <libxml/xmlreader.h> 00022 #include "vrfutil/baseXmlReader.h" 00023 00024 class DtDIGuyCharacterData; 00025 class DtDIGuyAnimation; 00026 class DtDIGuyCharacterAnimationTable; 00027 00033 // <duration>0.500000</duration> 00034 // <speed>0.000000</speed> 00035 // <posture>upright</posture> 00036 //</action> 00041 00042 #include "vrfutil/vrfutilDefines.h" 00043 class DT_DLL_vrfutil DtDIGuyCharacterDataXmlReader : public DtBaseXmlReader 00044 { 00045 public: 00046 00048 DtDIGuyCharacterDataXmlReader(); 00049 00050 DtDIGuyCharacterDataXmlReader(xmlNodePtr root, xmlNodePtr node); 00051 00053 virtual ~DtDIGuyCharacterDataXmlReader(); 00054 00056 DtDIGuyCharacterDataXmlReader(const DtDIGuyCharacterDataXmlReader& node); 00057 00059 DtDIGuyCharacterDataXmlReader& operator=(const DtDIGuyCharacterDataXmlReader& orig); 00060 00062 virtual bool readCharacterData(xmlNodePtr node, DtDIGuyCharacterData * data); 00063 00065 virtual bool readCharacterAppearances(xmlNodePtr appNode,DtDIGuyCharacterData * data); 00066 00068 virtual bool readCharacterAnimations(xmlNodePtr animateNode, DtDIGuyCharacterData * data); 00069 00070 virtual bool readAnimationNode(xmlNodePtr node, DtDIGuyAnimation * animation); 00071 00074 virtual void setAnimationsTable(DtDIGuyCharacterAnimationTable * table); 00075 protected: 00076 00077 DtDIGuyCharacterAnimationTable * myCharacterAnimationTable; 00078 }; 00079 00080 #endif