|
Public Member Functions |
XMLNode * | read (const char *buffer, size_t length) |
XMLNode * | read (const std::string &str) |
Private Types |
enum | { TAG_OPEN_TYPE,
TAG_CLOSE_TYPE,
TAG_OPEN_CLOSE_TYPE,
TAG_CDATA_TYPE
} |
Private Member Functions |
int | _tryFindChar (char ch, const char *buffer, int start, int finish) |
int | _findChar (char ch, const char *buffer, int start, int finish) |
int | _tryFindBeginTag (const char *buffer, int start, int finish) |
int | _findBeginTag (const char *buffer, int start, int finish) |
int | _findEndTag (const char *buffer, int start, int finish) |
int | _tryFindText (const char *buffer, int start, int finish) |
int | _findText (const char *buffer, int start, int finish) |
int | _findNotName (const char *buffer, int start, int finish) |
int | _findSpace (const char *buffer, int start, int finish) |
int | _readTag (const char *buffer, int bufferStart, int bufferEnd, std::string *tagName, std::map< std::string, std::string > *attributes, int *tagType) |
int | _findClosingTag (const char *buffer, int start, int end, std::string &openingTagName, bool *tagsBetween) |
void | _read (XMLNode **parent, const char *buffer, int start, int end) |