|
#include <CATXMLParser.h>
Definition at line 32 of file CATXMLParser.h.
Static Public Member Functions | |
| static CATResult | Parse (const CATWChar *path, CATXMLFactory *factory, CATXMLObject *&root) |
| static CATResult | ParseMemory (const void *memoryBuf, CATInt32 bufLenBytes, CATXMLFactory *factory, CATXMLObject *&root) |
| static CATResult | ParseStream (CATStream *stream, CATXMLFactory *factory, CATXMLObject *&root) |
| static CATResult | Write (const CATString &filename, CATXMLObject *rootNode) |
Protected Member Functions | |
| CATXMLParser () | |
| virtual | ~CATXMLParser () |
Static Protected Member Functions | |
| static void XMLCALL | StartElement (void *userData, const XML_Char *name, const XML_Char **atts) |
| static void XMLCALL | EndElement (void *userData, const XML_Char *name) |
| static void XMLCALL | CharacterHandler (void *userData, const XML_Char *s, int len) |
Private Attributes | |
| std::stack< CATXMLObject * > | fObjectStack |
| Current object stack during a parse. | |
| CATXMLObject * | fCurParent |
| Last object pushed onto the stack (parent of current). | |
| CATXMLFactory * | fFactory |
| Factory to create objects with. | |
| CATXMLObject ** | fRootObjPtr |
| Root object ptr. | |
1.5.4