SimXMLDocument
Engine/source/console/SimXMLDocument.h
Protected Types
Parent
Private Attributes
Public Functions
addComment(const char * comment)
addNewElement(const char * rName)
bool
attributeExists(const char * rAttribute)
const char *
const char *
const char *
const char *
const char *
bool
nextSiblingElement(const char * rName)
bool
onAdd()
Called when the object is added to the sim.
const char *
bool
processArguments(S32 argc, ConsoleValueRef * argv)
Process constructor options. (ie, new SimObject(1,2,3))
bool
pushChildElement(S32 index)
bool
pushFirstChildElement(const char * rName)
pushNewElement(const char * rName)
const char *
readComment(S32 index)
removeAttribute(const char * rAttribute)
bool
saveToString(String & str)
setAttribute(const char * rAttribute, const char * rVal)
setObjectAttributes(const char * objectID)
Public Static Functions
Detailed Description
Protected Types
typedef SimObject Parent
Private Attributes
TiXmlAttribute * m_CurrentAttribute
Vector< TiXmlElement * > m_paNode
TiXmlDocument * m_qDocument
Public Functions
SimXMLDocument()
~SimXMLDocument()
addComment(const char * comment)
addData(const char * text)
addHeader(void )
addNewElement(const char * rName)
addText(const char * text)
attribute(const char * rAttribute)
attributeExists(const char * rAttribute)
clear(void )
clearError(void )
DECLARE_CONOBJECT(SimXMLDocument )
elementValue()
firstAttribute()
getData()
getErrorDesc(void )
getText()
lastAttribute()
loadFile(const char * rFileName)
nextAttribute()
nextSiblingElement(const char * rName)
onAdd()
Reimplemented from: SimObject
onRemove()
Reimplemented from: SimObject
parse(const char * rText)
popElement(void )
prevAttribute()
processArguments(S32 argc, ConsoleValueRef * argv)
Reimplemented from: SimObject
pushChildElement(S32 index)
pushFirstChildElement(const char * rName)
pushNewElement(const char * rName)
readComment(S32 index)
removeAttribute(const char * rAttribute)
removeText()
reset(void )
saveFile(const char * rFileName)
saveToString(String & str)
setAttribute(const char * rAttribute, const char * rVal)
setObjectAttributes(const char * objectID)