Newer
Older
* `class `[link xml_document]
* [link xml_document::ctor xml_document]`();`
* `~`[link xml_document::dtor xml_document]`();`
[lbr]
* `xml_parse_result `[link xml_document::load_stream load]`(std::istream& stream, unsigned int options = parse_default, xml_encoding encoding = encoding_auto);`
* `xml_parse_result `[link xml_document::load_stream load]`(std::wistream& stream, unsigned int options = parse_default);`
[lbr]
* `xml_parse_result `[link xml_document::load_string load]`(const char_t* contents, unsigned int options = parse_default);`
[lbr]
* `xml_parse_result `[link xml_document::load_file load_file]`(const char* path, unsigned int options = parse_default, xml_encoding encoding = encoding_auto);`
arseny.kapoulkine
committed
* `xml_parse_result `[link xml_document::load_file_wide load_file]`(const wchar_t* path, unsigned int options = parse_default, xml_encoding encoding = encoding_auto);`
[lbr]
* `xml_parse_result `[link xml_document::load_buffer load_buffer]`(const void* contents, size_t size, unsigned int options = parse_default, xml_encoding encoding = encoding_auto);`
* `xml_parse_result `[link xml_document::load_buffer_inplace load_buffer_inplace]`(void* contents, size_t size, unsigned int options = parse_default, xml_encoding encoding = encoding_auto);`
* `xml_parse_result `[link xml_document::load_buffer_inplace_own load_buffer_inplace_own]`(void* contents, size_t size, unsigned int options = parse_default, xml_encoding encoding = encoding_auto);`
[lbr]
* `bool `[link xml_document::save_file save_file]`(const char* path, const char_t* indent = "\t", unsigned int flags = format_default, xml_encoding encoding = encoding_auto) const;`
arseny.kapoulkine
committed
* `bool `[link xml_document::save_file_wide save_file]`(const wchar_t* path, const char_t* indent = "\t", unsigned int flags = format_default, xml_encoding encoding = encoding_auto) const;`
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
[lbr]
* `void `[link xml_document::save_stream save]`(std::ostream& stream, const char_t* indent = "\t", unsigned int flags = format_default, xml_encoding encoding = encoding_auto) const;`
* `void `[link xml_document::save_stream save]`(std::wostream& stream, const char_t* indent = "\t", unsigned int flags = format_default) const;`
[lbr]
* `void `[link xml_document::save save]`(xml_writer& writer, const char_t* indent = "\t", unsigned int flags = format_default, xml_encoding encoding = encoding_auto) const;`
[lbr]
* `struct `[link xml_parse_result]
* `xml_parse_status `[link xml_parse_result::status status]`;`
* `ptrdiff_t `[link xml_parse_result::offset offset]`;`
* `xml_encoding `[link xml_parse_result::encoding encoding]`;`
[lbr]
* `operator `[link xml_parse_result::bool bool]`() const;`
* `const char* `[link xml_parse_result::description description]`() const;`
[lbr]
* `class `[link xml_node_iterator]
* `class `[link xml_attribute_iterator]
[lbr]
* `class `[link xml_tree_walker]
* `virtual bool `[link xml_tree_walker::begin begin]`(xml_node& node);`
* `virtual bool `[link xml_tree_walker::for_each for_each]`(xml_node& node) = 0;`
* `virtual bool `[link xml_tree_walker::end end]`(xml_node& node);`
[lbr]
* `int `[link xml_tree_walker::depth depth]`() const;`
[lbr]
* `class `[link xml_writer]
* `virtual void `[link xml_writer::write write]`(const void* data, size_t size) = 0;`
[lbr]
* `class `[link xml_writer_file]`: public xml_writer`
* [link xml_writer_file]`(void* file);`
[lbr]
* `class `[link xml_writer_stream]`: public xml_writer`
* [link xml_writer_stream]`(std::ostream& stream);`
* [link xml_writer_stream]`(std::wostream& stream);`
[lbr]
* `struct `[link xpath_parse_result]
* `const char* `[link xpath_parse_result::error error]`;`
* `ptrdiff_t `[link xpath_parse_result::offset offset]`;`
* `operator `[link xpath_parse_result::bool bool]`() const;`
* `const char* `[link xpath_parse_result::description description]`() const;`
[lbr]
* `class `[link xpath_query]
* `explicit `[link xpath_query::ctor xpath_query]`(const char_t* query, xpath_variable_set* variables = 0);`
* `bool `[link xpath_query::evaluate_boolean evaluate_boolean]`(const xpath_node& n) const;`
* `double `[link xpath_query::evaluate_number evaluate_number]`(const xpath_node& n) const;`
* `string_t `[link xpath_query::evaluate_string evaluate_string]`(const xpath_node& n) const;`
* `size_t `[link xpath_query::evaluate_string_buffer evaluate_string]`(char_t* buffer, size_t capacity, const xpath_node& n) const;`
* `xpath_node_set `[link xpath_query::evaluate_node_set evaluate_node_set]`(const xpath_node& n) const;`
[lbr]
* `xpath_value_type `[link xpath_query::return_type return_type]`() const;`
[lbr]
* `const xpath_parse_result& `[link xpath_query::result result]`() const;`
* `operator `[link xpath_query::unspecified_bool_type unspecified_bool_type]`() const;`
[lbr]
* `class `[link xpath_exception]`: public std::exception`
* `virtual const char* `[link xpath_exception::what what]`() const throw();`
[lbr]
* `const xpath_parse_result& `[link xpath_exception::result result]`() const;`
[lbr]
* `class `[link xpath_node]
* [link xpath_node::ctor xpath_node]`();`
* [link xpath_node::ctor xpath_node]`(const xml_node& node);`
* [link xpath_node::ctor xpath_node]`(const xml_attribute& attribute, const xml_node& parent);`
[lbr]
* `xml_node `[link xpath_node::node node]`() const;`
* `xml_attribute `[link xpath_node::attribute attribute]`() const;`
* `xml_node `[link xpath_node::parent parent]`() const;`
[lbr]
* `operator `[link xpath_node::unspecified_bool_type unspecified_bool_type]`() const;`
* `bool `[link xpath_node::comparison operator==]`(const xpath_node& n) const;`
* `bool `[link xpath_node::comparison operator!=]`(const xpath_node& n) const;`
[lbr]
* `class `[link xpath_node_set]
* [link xpath_node_set::ctor xpath_node_set]`();`
* [link xpath_node_set::ctor xpath_node_set]`(const_iterator begin, const_iterator end, type_t type = type_unsorted);`
[lbr]
* `typedef const xpath_node* `[link xpath_node_set::const_iterator const_iterator]`;`
* `const_iterator `[link xpath_node_set::begin begin]`() const;`
* `const_iterator `[link xpath_node_set::end end]`() const;`
[lbr]
* `const xpath_node& `[link xpath_node_set::index operator\[\]]`(size_t index) const;`
* `size_t `[link xpath_node_set::size size]`() const;`
* `bool `[link xpath_node_set::empty empty]`() const;`
[lbr]
* `xpath_node `[link xpath_node_set::first first]`() const;`
[lbr]
* `enum type_t {`[link xpath_node_set::type_unsorted type_unsorted], [link xpath_node_set::type_sorted type_sorted], [link xpath_node_set::type_sorted_reverse type_sorted_reverse]`};`
* `type_t `[link xpath_node_set::type type]`() const;`
* `void `[link xpath_node_set::sort sort]`(bool reverse = false);`
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
[lbr]
* `class `[link xpath_variable]
* `const char_t* `[link xpath_variable::name name]`() const;`
* `xpath_value_type `[link xpath_variable::type type]`() const;`
[lbr]
* `bool `[link xpath_variable::get_boolean get_boolean]`() const;`
* `double `[link xpath_variable::get_number get_number]`() const;`
* `const char_t* `[link xpath_variable::get_string get_string]`() const;`
* `const xpath_node_set& `[link xpath_variable::get_node_set get_node_set]`() const;`
[lbr]
* `bool `[link xpath_variable::set set]`(bool value);`
* `bool `[link xpath_variable::set set]`(double value);`
* `bool `[link xpath_variable::set set]`(const char_t* value);`
* `bool `[link xpath_variable::set set]`(const xpath_node_set& value);`
[lbr]
* `class `[link xpath_variable_set]
* `xpath_variable* `[link xpath_variable_set::add add]`(const char_t* name, xpath_value_type type);`
[lbr]
* `bool `[link xpath_variable_set::set set]`(const char_t* name, bool value);`
* `bool `[link xpath_variable_set::set set]`(const char_t* name, double value);`
* `bool `[link xpath_variable_set::set set]`(const char_t* name, const char_t* value);`
* `bool `[link xpath_variable_set::set set]`(const char_t* name, const xpath_node_set& value);`
[lbr]
* `xpath_variable* `[link xpath_variable_set::get get]`(const char_t* name);`
* `const xpath_variable* `[link xpath_variable_set::get get]`(const char_t* name) const;`
[lbr]
Functions:
* `std::string `[link as_utf8]`(const wchar_t* str);`
* `std::string `[link as_utf8]`(const std::wstring& str);`
* `std::wstring `[link as_wide]`(const char* str);`
* `std::wstring `[link as_wide]`(const std::string& str);`
* `void `[link set_memory_management_functions]`(allocation_function allocate, deallocation_function deallocate);`
* `allocation_function `[link get_memory_allocation_function]`();`
* `deallocation_function `[link get_memory_deallocation_function]`();`