#include <XMLParser.h>
Inheritance diagram for XMLParser:


Public Methods | |
| XMLParser () | |
| Constructor. | |
| virtual void | Read (istream &is) |
| Read xml data from a given stream. | |
| Element | Parse () throw (XMLParseException) |
| Parse the xml data. More... | |
Protected Methods | |
| void | Init () |
| initialize. | |
| void | Clear () |
| destroy. | |
| XMLParser& | Copy (const XMLParser &rhs) |
| copy. | |
| bool | Equals (const XMLParser &rhs) const |
| operator== && operator!=. | |
Static Protected Methods | |
Expat Callbacks | |
| void | BeginHandler (void *userData, const XML_Char *name, const XML_Char **atts) |
| void | EndHandler (void *userData, const XML_Char *name) |
| void | TextHandler (void *userData, const XML_Char *s, int len) |
This class uses expat to parse the given xml stream and then builds an xml tree
|
|
Parse the xml data. Read() should be called before this so there is some data to parse
|
1.2.6 written by Dimitri van Heesch,
© 1997-2001