nlib
|
A simple parser for parsing XML-like tagged text. More...
#include "nn/nlib/TaggedTextParser.h"
Public Member Functions | |
TaggedTextParser (char *taggedText) | |
Instantiates the object. More... | |
const char * | GetText () const |
Returns the pointer to the character data obtained by the GetNext function. More... | |
Event | Next () |
Gets the next element or text. More... | |
A simple parser for parsing XML-like tagged text.
Next
function, and get the element names and the text using the GetText
function. TaggedTextParser
class has the following features. Definition at line 10 of file TaggedTextParser.h.
|
inlineexplicit |
Instantiates the object.
[in,out] | taggedText | The text string being parsed. |
Definition at line 20 of file TaggedTextParser.h.
|
inline |
Returns the pointer to the character data obtained by the GetNext
function.
Definition at line 28 of file TaggedTextParser.h.
|
inline |
Gets the next element or text.
TaggedTextParser::START_ELEMENT | Indicates a start tag. |
TaggedTextParser::END_ELEMENT | Indicates an end tag. |
TaggedTextParser::CHARACTERS | Indicates character data. |
TaggedTextParser::END_DOCUMENT | Indicates that the document has ended. |
TaggedTextParser::SYNTAX_ERROR | An error occurred. |
Definition at line 33 of file TaggedTextParser.h.
© 2013, 2014, 2015 Nintendo Co., Ltd. All rights reserved.