xml_parser.h
Go to the documentation of this file.
71 rapidxml::xml_node<>* child = m_doc.allocate_node(rapidxml::node_element, name, m_backing.back().c_str());
113 bool set_data_with_default(xml_node_ptr p_node, const char* target, T &val, const T default_val)
153 void set_data_for_target(xml_node_ptr p_node, const std::string &target, T &val, const T default_val)
250 bool set_data(xml_node_ptr p_node, const std::string &target, const std::string &child, std::vector<T> &val)
257 for (rapidxml::xml_node<> *p_name = p_node->first_node(); p_name; p_name = p_name->next_sibling())
bool set_data_with_default(xml_node_ptr p_node, const char *target, T &val, const T default_val)
Definition: xml_parser.h:113
rapidxml::xml_attribute * xml_attr_ptr
Definition: xml_parser.h:26
Definition: enum_description.h:15
bool set_data(xml_node_ptr p_node, const std::string &target, T &val)
Definition: xml_parser.h:170
xml_node_ptr add_node(xml_node_ptr parent, const char *name)
Definition: xml_parser.h:45
void add_attribute(xml_node_ptr parent, const char *name, const T &val)
Definition: xml_parser.h:83
Definition: xml_exceptions.h:88
void set_data_for_target(xml_node_ptr p_node, const std::string &target, T &val)
Definition: xml_parser.h:134
void set_data_from_attribute(xml_node_ptr p_node, const char *target, T &val)
Definition: xml_parser.h:227
friend std::ostream & operator<<(std::ostream &out, const xml_document &doc)
Definition: xml_parser.h:94
Definition: enums.h:301
xml_node_ptr add_node(const char *name)
Definition: xml_parser.h:56
Definition: xml_parser.h:29
xml_node_ptr add_node(xml_node_ptr parent, const char *name, const T &val)
Definition: xml_parser.h:68
Destination lexical_cast(const Source &src)
Definition: lexical_cast.h:264