#include <ulxr_xmlparse_base.h>
Inheritance diagram for ulxr::XmlParserBase::ParserState:

Public Member Functions | |
| ParserState (unsigned st) | |
| Constructs a ParserState. | |
| virtual | ~ParserState () |
| Destroys the ParserState. | |
| unsigned | getParserState () const |
| Gets the ParserState of this ParserState. | |
| unsigned | getPrevParserState () const |
| Gets the privious ParserState. | |
| void | setPrevParserState (unsigned prev) |
| Sets the privious ParserState. | |
| virtual CppString | getStateName () const |
| Gets the name of the ParserState. | |
| void | appendCharData (const XML_Char *s, int len) |
| Appends some characters of the ParserState. | |
| void | appendCharData (const std::string &s) |
| Appends some characters of the ParserState. | |
| CppString | getCharData () const |
| Gets the characters of the ParserState. | |
Private Member Functions | |
| ParserState (const ParserState &) | |
| ParserState & | operator= (const ParserState &) |
Private Attributes | |
| CppString | cdata |
| unsigned | state |
| unsigned | prevstate |
Definition at line 117 of file ulxr_xmlparse_base.h.
| ulxr::XmlParserBase::ParserState::ParserState | ( | unsigned | st | ) |
Constructs a ParserState.
| st | the actual ParserState |
Definition at line 75 of file ulxr_xmlparse_base.cpp.
| ulxr::XmlParserBase::ParserState::~ParserState | ( | ) | [virtual] |
| ulxr::XmlParserBase::ParserState::ParserState | ( | const ParserState & | ) | [private] |
| unsigned ulxr::XmlParserBase::ParserState::getParserState | ( | ) | const |
Gets the ParserState of this ParserState.
Definition at line 87 of file ulxr_xmlparse_base.cpp.
| unsigned ulxr::XmlParserBase::ParserState::getPrevParserState | ( | ) | const |
Gets the privious ParserState.
Definition at line 93 of file ulxr_xmlparse_base.cpp.
| void ulxr::XmlParserBase::ParserState::setPrevParserState | ( | unsigned | prev | ) |
Sets the privious ParserState.
| prev | the previous ParserState |
Definition at line 99 of file ulxr_xmlparse_base.cpp.
| CppString ulxr::XmlParserBase::ParserState::getStateName | ( | ) | const [virtual] |
Gets the name of the ParserState.
Useful only for debugging.
Reimplemented in ulxr::ValueParserBase::ValueState.
Definition at line 105 of file ulxr_xmlparse_base.cpp.
References ULXR_PCHAR.
| void ulxr::XmlParserBase::ParserState::appendCharData | ( | const XML_Char * | s, | |
| int | len | |||
| ) |
Appends some characters of the ParserState.
This is a part of the data of an xml rpc element.
| s | the current chunk of text | |
| len | valid len. |
Definition at line 120 of file ulxr_xmlparse_base.cpp.
References ULXR_PCHAR, ULXR_TRACE, and ulxr::utf8ToUnicode().
| void ulxr::XmlParserBase::ParserState::appendCharData | ( | const std::string & | s | ) |
Appends some characters of the ParserState.
This is a part of the data of an xml rpc element.
| s | the current chunk of text |
Definition at line 111 of file ulxr_xmlparse_base.cpp.
References ULXR_PCHAR, and ULXR_TRACE.
| CppString ulxr::XmlParserBase::ParserState::getCharData | ( | ) | const |
Gets the characters of the ParserState.
Definition at line 131 of file ulxr_xmlparse_base.cpp.
References ULXR_PCHAR, and ULXR_TRACE.
| ParserState& ulxr::XmlParserBase::ParserState::operator= | ( | const ParserState & | ) | [private] |
Definition at line 174 of file ulxr_xmlparse_base.h.
unsigned ulxr::XmlParserBase::ParserState::state [private] |
Definition at line 175 of file ulxr_xmlparse_base.h.
unsigned ulxr::XmlParserBase::ParserState::prevstate [private] |
Definition at line 176 of file ulxr_xmlparse_base.h.
1.5.1