Doxygen
|
Event handlers that can installed by the client and called while parsing a XML document. 更多...
#include <xml.h>
Public 类型 | |
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 成员函数 | |
static std::string | value (const Attributes &attrib, const std::string &key) |
Public 属性 | |
std::function< StartDocType > | startDocument |
handler invoked at the start of the document 更多... | |
std::function< EndDocType > | endDocument |
handler invoked at the end of the document 更多... | |
std::function< StartElementType > | startElement |
handler invoked when an opening tag has been found 更多... | |
std::function< EndElementType > | endElement |
handler invoked when a closing tag has been found 更多... | |
std::function< CharsType > | characters |
handler invoked when content between tags has been found 更多... | |
std::function< ErrorType > | error |
handler invoked when the parser encounters an error 更多... | |
Event handlers that can installed by the client and called while parsing a XML document.
using XMLHandlers::Attributes = std::unordered_map<std::string,std::string> |
using XMLHandlers::CharsType = void(const std::string &) |
using XMLHandlers::EndDocType = void() |
using XMLHandlers::EndElementType = void(const std::string &) |
using XMLHandlers::ErrorType = void(const std::string,int,const std::string &) |
using XMLHandlers::StartDocType = void() |
using XMLHandlers::StartElementType = void(const std::string &,const Attributes &) |
|
inlinestatic |
被这些函数引用 elemIsVisible(), TagFileParser::startBase(), TagFileParser::startCompound(), TagFileParser::startDocAnchor(), TagFileParser::startEnumValue(), TagFileParser::startIncludes(), TagFileParser::startMember(), LayoutParser::startMemberDeclEntry(), LayoutParser::startMemberDefEntry(), LayoutParser::startNavEntry() , 以及 LayoutParser::startSectionEntry().
std::function<CharsType> XMLHandlers::characters |
handler invoked when content between tags has been found
被这些函数引用 parseTagFile().
std::function<EndDocType> XMLHandlers::endDocument |
std::function<EndElementType> XMLHandlers::endElement |
handler invoked when a closing tag has been found
被这些函数引用 LayoutDocManager::init(), LayoutDocManager::parse() , 以及 parseTagFile().
std::function<ErrorType> XMLHandlers::error |
handler invoked when the parser encounters an error
被这些函数引用 LayoutDocManager::init(), LayoutDocManager::parse() , 以及 parseTagFile().
std::function<StartDocType> XMLHandlers::startDocument |
std::function<StartElementType> XMLHandlers::startElement |
handler invoked when an opening tag has been found
被这些函数引用 LayoutDocManager::init(), LayoutDocManager::parse() , 以及 parseTagFile().