The XMLHandlers
Class Reference
Event handlers that can installed by the client and called while parsing a XML document. More...
Declaration
Included Headers
Public Member Typedefs Index
using | Attributes = std::unordered_map< std::string, std::string > |
using | StartDocType = void() |
using | EndDocType = void() |
using | StartElementType = void(const std::string &, const Attributes &) |
using | EndElementType = void(const std::string &) |
using | ErrorType = void(const std::string, int, const std::string &) |
using | CharsType = void(const std::string &) |
Public Member Attributes Index
std::function< StartDocType > | startDocument |
handler invoked at the start of the document More... | |
std::function< EndDocType > | endDocument |
handler invoked at the end of the document More... | |
std::function< StartElementType > | startElement |
handler invoked when an opening tag has been found More... | |
std::function< EndElementType > | endElement |
handler invoked when a closing tag has been found More... | |
std::function< CharsType > | characters |
handler invoked when content between tags has been found More... | |
std::function< ErrorType > | error |
handler invoked when the parser encounters an error More... | |
Public Static Functions Index
static std::string | value (const Attributes &attrib, const std::string &key) |
Description
Event handlers that can installed by the client and called while parsing a XML document.
Definition at line 26 of file xml.h.
Public Member Typedefs
Attributes
|
Definition at line 29 of file xml.h.
CharsType
|
EndDocType
|
Definition at line 31 of file xml.h.
EndElementType
|
Definition at line 33 of file xml.h.
ErrorType
|
StartDocType
|
Definition at line 30 of file xml.h.
StartElementType
|
Definition at line 32 of file xml.h.
Public Member Attributes
characters
|
handler invoked when content between tags has been found
Definition at line 41 of file xml.h.
Referenced by parseTagFile.
endDocument
|
handler invoked at the end of the document
Definition at line 38 of file xml.h.
endElement
|
handler invoked when a closing tag has been found
Definition at line 40 of file xml.h.
Referenced by LayoutDocManager::init, LayoutDocManager::parse and parseTagFile.
error
|
handler invoked when the parser encounters an error
Definition at line 42 of file xml.h.
Referenced by LayoutDocManager::init, LayoutDocManager::parse and parseTagFile.
startDocument
|
handler invoked at the start of the document
Definition at line 37 of file xml.h.
Referenced by parseTagFile.
startElement
|
handler invoked when an opening tag has been found
Definition at line 39 of file xml.h.
Referenced by LayoutDocManager::init, LayoutDocManager::parse and parseTagFile.
Public Static Functions
value()
| inline static |
Definition at line 44 of file xml.h.
Referenced by elemIsVisible, anonymous{tagreader.cpp}::TagFileParser::startBase, anonymous{tagreader.cpp}::TagFileParser::startCompound, anonymous{tagreader.cpp}::TagFileParser::startDocAnchor, anonymous{tagreader.cpp}::TagFileParser::startEnumValue, anonymous{tagreader.cpp}::TagFileParser::startIncludes, LayoutParser::startLayout, anonymous{tagreader.cpp}::TagFileParser::startMember, LayoutParser::startMemberDeclEntry, LayoutParser::startMemberDefEntry, LayoutParser::startNavEntry and LayoutParser::startSectionEntry.
The documentation for this class was generated from the following file:
Generated via doxygen2docusaurus by Doxygen 1.14.0.