|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef XMLCoreParser_hpp
6 #define XMLCoreParser_hpp
13 class XMLCoreParserImpl;
39 other.m_node =
nullptr;
105 std::unique_ptr<XMLCoreFactory> factory);
120 typedef std::map <std::string, std::unique_ptr<XMLCoreFactory> >
FactoryMap;
XMLCoreFactory * find_factory(const std::string &name)
XMLCoreNode parse(const std::string &file_name)
virtual void do_comment(XMLCoreParser &parser, const std::string &comment)
XMLCoreNode(const CoreParser::DOMNode *node)
XMLCoreNode & operator=(const XMLCoreNode &other)
static bool has_attribute(const XMLCoreNode &node, const std::string &name)
void start(XMLCoreParser &parser, const XMLCoreNode &node)
static int get_int(const XMLCoreNode &node, const std::string &name)
XMLCoreNode(std::unique_ptr< CoreParser::DOMNode > node)
static bool get_boolean(const XMLCoreNode &node, const std::string &name)
static bool check_int(const int n, const XMLCoreNode &node, const std::string &name)
void register_text_entity(const std::string &name, const std::string &text)
std::unique_ptr< XMLCoreFactory > m_default_factory
static std::string get_value(const XMLCoreNode &node, const std::string &name)
static int attribute_number(const XMLCoreNode &node)
virtual void do_start(XMLCoreParser &parser, const XMLCoreNode &node)
void register_factory(const std::string &name, std::unique_ptr< XMLCoreFactory > factory)
void end(XMLCoreParser &parser, const XMLCoreNode &node)
XMLCoreNode(const XMLCoreNode &other)
const CoreParser::DOMNode * m_node
XMLCoreNode(XMLCoreNode &&other)
static bool check_double(const int n, const XMLCoreNode &node, const std::string &name)
static std::string get_ID(const XMLCoreNode &node, const std::string &name)
void register_default_factory(std::unique_ptr< XMLCoreFactory > factory)
std::map< std::string, std::unique_ptr< XMLCoreFactory > > FactoryMap
std::string m_xmlelementname
virtual ~XMLCoreFactory()
const CoreParser::DOMNode & get_node() const
void register_external_entity(const std::string &name, const std::string &file_name)
static std::string get_token(const XMLCoreNode &node, const std::string &name)
int sibling_number(const XMLCoreNode &node)
std::string get_name(const XMLCoreNode &node)
void comment(XMLCoreParser &parser, const std::string &comment)
static double get_double(const XMLCoreNode &node, const std::string &name)
void visit(const std::string &file_name)
virtual void do_end(XMLCoreParser &parser, const XMLCoreNode &node)