|
#include <CATXMLObject.h>

Definition at line 30 of file CATXMLObject.h.
Public Member Functions | |
| CATXMLObject (const CATWChar *type) | |
| virtual | ~CATXMLObject () |
| Destructor. | |
| void | AddChild (CATXMLObject *child) |
| Insert a child object into the theme. | |
| CATUInt32 | GetNumChildren () |
| Retrieve number of child xml objects. | |
| CATXMLObject * | GetChild (CATUInt32 index) const |
| void | SetParent (CATXMLObject *parent) |
| CATXMLObject * | GetParent () |
| CATResult | AddAttribute (const CATWChar *key, const CATWChar *value) |
| int | GetNumAttributes () |
| CATString | GetAttributeKeyByIndex (int index) |
| CATString | GetAttribute (const CATWChar *key) |
| template<class T> | |
| T | GetAttribute (const CATWChar *key, T defaultVal) |
| void | SetAttributes (CATXMLAttribs *attribs) |
| virtual CATResult | ParseAttributes () |
| const CATWChar * | GetType () |
| Retrieve the type (the tag name) for the object. | |
| void | AppendData (const CATWChar *data, CATInt32 len) |
| Append to the character data found between start and end tags of the object. | |
| void | SetData (const CATWChar *data) |
| Set the data directly. | |
| const CATWChar * | GetData () |
| Retrieve the data. | |
| CATResult | WriteToStream (CATStream *stream) |
Static Public Member Functions | |
| static bool | CATXMLKeyComp (const CATWChar *g1, const CATWChar *g2) |
| Key comparator function. | |
Protected Attributes | |
| CATWChar * | fType |
| Text type. | |
| CATXMLAttribs * | fAttribs |
| Attributes of the object. | |
| CATXMLObject * | fParent |
| Parent xml object. | |
| std::vector< CATXMLObject * > | fChildren |
| Child objects in xml. | |
| std::wstring | fData |
| Data from xml for object. | |
1.5.4