8 #ifndef __ORCUS_XML_STRUCTURE_TREE_HPP__ 9 #define __ORCUS_XML_STRUCTURE_TREE_HPP__ 19 struct xml_structure_tree_impl;
30 xml_structure_tree& operator= (
const xml_structure_tree&);
45 struct ORCUS_DLLPUBLIC
hash 51 typedef std::vector<entity_name> entity_names_type;
69 friend class xml_structure_tree;
73 walker(
const xml_structure_tree_impl& parent_impl);
108 void get_children(entity_names_type& names);
116 void get_attributes(entity_names_type& names);
127 size_t get_xmlns_index(xmlns_id_t ns)
const;
129 std::string get_xmlns_short_name(xmlns_id_t ns)
const;
135 std::string get_path()
const;
143 element select_by_path(
const std::string& path);
147 ~xml_structure_tree();
149 void parse(
const char* p,
size_t n);
151 void dump_compact(std::ostream& os)
const;
153 walker get_walker()
const;
156 xml_structure_tree_impl* mp_impl;
Definition: pstring.hpp:24
Definition: xml_structure_tree.hpp:27
Definition: xml_namespace.hpp:82
Definition: xml_structure_tree.hpp:45
Definition: xml_structure_tree.hpp:53
Definition: xml_structure_tree.hpp:34
Definition: xml_structure_tree.hpp:67
Definition: base64.hpp:15