![]() |
ATLAS Offline Software
|
#include <ExpatCoreParser.h>
Public Types | |
| typedef std::map< std::string, std::string > | ExternalEntityMap |
Static Public Member Functions | |
| static std::unique_ptr< XMLCoreNode > | parse (const std::string &file_name) |
| static std::unique_ptr< XMLCoreNode > | parse_string (const std::string &text) |
| static void | register_external_entity (const std::string &name, const std::string &file_name) |
| static void | register_text_entity (const std::string &name, const std::string &text) |
Private Types | |
| typedef std::lock_guard< std::mutex > | lock_t |
Private Member Functions | |
| ExpatCoreParser (const std::string &prefix) | |
| void | configure_parser (XML_Parser p) |
| XMLCoreNode * | add_node (std::unique_ptr< XMLCoreNode > node) |
| void | do_start (const char *el, const char **attr) |
| void | do_end (const char *el) |
| void | do_char_data (const XML_Char *s, int len) |
| void | do_default_handler (const XML_Char *s, int len) |
| void | do_comment (const XML_Char *s) |
| int | generic_parse (XML_Parser p, const std::string &file_name) |
| int | generic_text_parse (XML_Parser p, const std::string &text) |
| int | stream_parse (XML_Parser p, std::istream &is, const std::string &source_name={}) |
| int | do_external_entity (XML_Parser parser, const XML_Char *context, const XML_Char *systemId) |
| std::unique_ptr< XMLCoreNode > | get_document () |
| std::string | find_external_entity (const std::string &name) |
| std::string | find_text_entity (const std::string &name) |
| std::string | find_entity (const std::string &name, const ExternalEntityMap &mapChoice) |
| void | clean () |
Static Private Member Functions | |
| static void | start (void *, const char *el, const char **attr) |
| static void | end (void *, const char *el) |
| static void | char_data (void *, const XML_Char *s, int len) |
| static void | default_handler (void *, const XML_Char *s, int len) |
| static void | comment (void *, const XML_Char *s) |
| static int | external_entity (XML_Parser parser, const XML_Char *context, const XML_Char *, const XML_Char *systemId, const XML_Char *) |
Private Attributes | |
| std::unique_ptr< XMLCoreNode > | m_top |
| XMLCoreNode * | m_last {} |
| std::string | m_prefix |
Static Private Attributes | |
| static std::mutex | s_mutex |
| static ExternalEntityMap s_entities | ATLAS_THREAD_SAFE |
| static ExternalEntityMap s_text_entities | ATLAS_THREAD_SAFE |
Definition at line 19 of file ExpatCoreParser.h.
| typedef std::map<std::string, std::string> ExpatCoreParser::ExternalEntityMap |
Definition at line 23 of file ExpatCoreParser.h.
|
private |
Definition at line 62 of file ExpatCoreParser.h.
|
private |
Definition at line 94 of file ExpatCoreParser.cxx.
|
private |
Definition at line 111 of file ExpatCoreParser.cxx.
|
staticprivate |
Definition at line 45 of file ExpatCoreParser.cxx.
|
private |
|
staticprivate |
Definition at line 57 of file ExpatCoreParser.cxx.
|
private |
Definition at line 101 of file ExpatCoreParser.cxx.
|
staticprivate |
Definition at line 51 of file ExpatCoreParser.cxx.
|
private |
Definition at line 143 of file ExpatCoreParser.cxx.
|
private |
|
private |
Definition at line 153 of file ExpatCoreParser.cxx.
|
private |
Definition at line 135 of file ExpatCoreParser.cxx.
|
private |
Definition at line 235 of file ExpatCoreParser.cxx.
|
staticprivate |
Definition at line 39 of file ExpatCoreParser.cxx.
|
staticprivate |
Definition at line 63 of file ExpatCoreParser.cxx.
|
private |
Definition at line 269 of file ExpatCoreParser.cxx.
|
private |
Definition at line 276 of file ExpatCoreParser.cxx.
|
private |
Definition at line 282 of file ExpatCoreParser.cxx.
|
private |
Definition at line 210 of file ExpatCoreParser.cxx.
|
private |
Definition at line 226 of file ExpatCoreParser.cxx.
|
private |
Definition at line 90 of file ExpatCoreParser.cxx.
|
static |
Definition at line 288 of file ExpatCoreParser.cxx.
|
static |
Definition at line 299 of file ExpatCoreParser.cxx.
|
static |
Definition at line 80 of file ExpatCoreParser.cxx.
Definition at line 33 of file ExpatCoreParser.cxx.
|
private |
Definition at line 171 of file ExpatCoreParser.cxx.
|
staticprivate |
Definition at line 64 of file ExpatCoreParser.h.
|
staticprivate |
Definition at line 63 of file ExpatCoreParser.h.
|
private |
Definition at line 59 of file ExpatCoreParser.h.
|
private |
Definition at line 60 of file ExpatCoreParser.h.
|
private |
Definition at line 58 of file ExpatCoreParser.h.
|
staticprivate |
Definition at line 61 of file ExpatCoreParser.h.