51class ORCUS_DLLPUBLIC const_node
53 friend class document_tree;
56 std::unique_ptr<impl> mp_impl;
58 const_node(std::unique_ptr<impl>&& _impl);
61 const_node(
const const_node& other);
62 const_node(const_node&& other);
68 size_t child_count()
const;
70 const_node child(
size_t index)
const;
74 std::string_view attribute(
const entity_name& name)
const;
75 std::string_view attribute(std::string_view name)
const;
77 size_t attribute_count()
const;
79 const_node parent()
const;
81 void swap(const_node& other);
83 const_node& operator= (
const const_node& other);
85 bool operator== (
const const_node& other)
const;
86 bool operator!= (
const const_node& other)
const;
92class ORCUS_DLLPUBLIC document_tree
95 std::unique_ptr<impl> mp_impl;
98 document_tree(
const document_tree&) =
delete;
99 document_tree& operator= (
const document_tree&) =
delete;
102 document_tree(document_tree&& other);
110 void load(std::string_view strm);
121 void swap(document_tree& other);
125 void dump_compact(std::ostream& os)
const;
Definition xml_namespace.hpp:100