Game Accessibility Library logo SourceForge.net Logo
Game Accessibility Suite: CATXMLParser Class Reference

CATXMLParser Class Reference
[Common Accessibility Technology [CAT] library]

#include <CATXMLParser.h>

List of all members.


Detailed Description

XML PArser.

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.
CATXMLObjectfCurParent
 Last object pushed onto the stack (parent of current).
CATXMLFactoryfFactory
 Factory to create objects with.
CATXMLObject ** fRootObjPtr
 Root object ptr.

The documentation for this class was generated from the following files:
Generated on Mon Feb 11 04:11:29 2008 for Game Accessibility Suite by doxygen 1.5.4