nlib
|
A simple parser for parsing XML-like tagged text. More...
#include "nn/nlib/TaggedTextParser.h"
Public Member Functions | |
TaggedTextParser (char *tagged_text) | |
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 23 of file TaggedTextParser.h.
|
inlineexplicit |
Instantiates the object.
[in,out] | tagged_text | The text string being parsed. |
Definition at line 39 of file TaggedTextParser.h.
|
inline |
Returns the pointer to the character data obtained by the GetNext
function.
Definition at line 47 of file TaggedTextParser.h.
|
inline |
Gets the next element or text.
TaggedTextParser::kStartElement | Indicates a start tag. |
TaggedTextParser::kEndElement | Indicates an end tag. |
TaggedTextParser::kCharacters | Indicates character data. |
TaggedTextParser::kEndDocument | Indicates that the document has ended. |
TaggedTextParser::kSyntaxError | An error occurred. |
Definition at line 52 of file TaggedTextParser.h.
© 2012-2017 Nintendo Co., Ltd. All rights reserved.