|
| static std::string | escape (const std::string &) |
| |
| static std::string | unescape (const std::string &) |
| |
|
| enum | Token { TOKEN_TAG
, TOKEN_START_TAG
, TOKEN_END_TAG
, TOKEN_DATA
} |
| |
| enum | State {
PARSE_NOTHING
, PARSE_STREAM
, PARSE_MAP
, PARSE_LIST
,
PARSE_INT
, PARSE_FLOAT
, PARSE_STRING
, PARSE_NONE
} |
| |
|
|
void | tokenTag (char) |
| |
|
void | tokenStartTag (char) |
| |
|
void | tokenEndTag (char) |
| |
|
void | tokenData (char) |
| |
|
void | parseStartTag () |
| |
|
void | parseEndTag () |
| |
|
|
std::istream & | m_istream |
| |
|
std::ostream & | m_ostream |
| |
|
Bridge & | m_bridge |
| |
|
Token | m_token |
| |
|
std::stack< State > | m_state |
| |
|
std::stack< std::string > | m_data |
| |
|
std::string | m_tag |
| |
|
std::string | m_name |
| |
Definition at line 40 of file XML.h.
◆ escape()
| std::string Atlas::Codecs::XML::escape |
( |
const std::string & |
original | ) |
|
|
static |
Escapes a string for HTML.
- Parameters
-
- Returns
- An escaped string.
Definition at line 401 of file XML.cpp.
◆ listEnd()
| void Atlas::Codecs::XML::listEnd |
( |
| ) |
|
|
overridevirtual |
◆ listFloatItem()
| void Atlas::Codecs::XML::listFloatItem |
( |
double |
| ) |
|
|
overridevirtual |
◆ listIntItem()
| void Atlas::Codecs::XML::listIntItem |
( |
std::int64_t |
| ) |
|
|
overridevirtual |
◆ listListItem()
| void Atlas::Codecs::XML::listListItem |
( |
| ) |
|
|
overridevirtual |
Starts a list object in the currently streamed list.
Implements Atlas::Bridge.
Definition at line 377 of file XML.cpp.
◆ listMapItem()
| void Atlas::Codecs::XML::listMapItem |
( |
| ) |
|
|
overridevirtual |
Starts a map object in the currently streamed list.
Implements Atlas::Bridge.
Definition at line 373 of file XML.cpp.
◆ listNoneItem()
| void Atlas::Codecs::XML::listNoneItem |
( |
| ) |
|
|
overridevirtual |
Adds an empty item to the currently streamed list.
Implements Atlas::Bridge.
Definition at line 393 of file XML.cpp.
◆ listStringItem()
| void Atlas::Codecs::XML::listStringItem |
( |
std::string |
| ) |
|
|
overridevirtual |
◆ mapEnd()
| void Atlas::Codecs::XML::mapEnd |
( |
| ) |
|
|
overridevirtual |
◆ mapFloatItem()
| void Atlas::Codecs::XML::mapFloatItem |
( |
std::string |
name, |
|
|
double |
|
|
) |
| |
|
overridevirtual |
◆ mapIntItem()
| void Atlas::Codecs::XML::mapIntItem |
( |
std::string |
name, |
|
|
std::int64_t |
|
|
) |
| |
|
overridevirtual |
◆ mapListItem()
| void Atlas::Codecs::XML::mapListItem |
( |
std::string |
name | ) |
|
|
overridevirtual |
Starts a list object to the currently streamed map.
Implements Atlas::Bridge.
Definition at line 349 of file XML.cpp.
◆ mapMapItem()
| void Atlas::Codecs::XML::mapMapItem |
( |
std::string |
name | ) |
|
|
overridevirtual |
Starts a map object to the currently streamed map.
Implements Atlas::Bridge.
Definition at line 345 of file XML.cpp.
◆ mapNoneItem()
| void Atlas::Codecs::XML::mapNoneItem |
( |
std::string |
name | ) |
|
|
overridevirtual |
◆ mapStringItem()
| void Atlas::Codecs::XML::mapStringItem |
( |
std::string |
name, |
|
|
std::string |
|
|
) |
| |
|
overridevirtual |
◆ streamBegin()
| void Atlas::Codecs::XML::streamBegin |
( |
| ) |
|
|
overridevirtual |
◆ streamEnd()
| void Atlas::Codecs::XML::streamEnd |
( |
| ) |
|
|
overridevirtual |
◆ streamMessage()
| void Atlas::Codecs::XML::streamMessage |
( |
| ) |
|
|
overridevirtual |
◆ unescape()
| std::string Atlas::Codecs::XML::unescape |
( |
const std::string & |
original | ) |
|
|
static |
Un-escapes a previously "escaped" string for HTML.
- Parameters
-
- Returns
- An unescaped string.
Definition at line 429 of file XML.cpp.
The documentation for this class was generated from the following files: