OpenCPN Partial API docs
|
Public Types | |
typedef xml_node_iterator | iterator |
typedef xml_attribute_iterator | attribute_iterator |
Public Member Functions | |
xml_node (xml_node_struct *p) | |
operator unspecified_bool_type () const | |
bool | operator! () const |
bool | operator== (const xml_node &r) const |
bool | operator!= (const xml_node &r) const |
bool | operator< (const xml_node &r) const |
bool | operator> (const xml_node &r) const |
bool | operator<= (const xml_node &r) const |
bool | operator>= (const xml_node &r) const |
bool | empty () const |
xml_node_type | type () const |
const char_t * | name () const |
const char_t * | value () const |
xml_attribute | first_attribute () const |
xml_attribute | last_attribute () const |
xml_node | first_child () const |
xml_node | last_child () const |
xml_node | next_sibling () const |
xml_node | previous_sibling () const |
xml_node | parent () const |
xml_node | root () const |
xml_text | text () const |
xml_node | child (const char_t *name) const |
xml_attribute | attribute (const char_t *name) const |
xml_node | next_sibling (const char_t *name) const |
xml_node | previous_sibling (const char_t *name) const |
xml_attribute | attribute (const char_t *name, xml_attribute &hint) const |
const char_t * | child_value () const |
const char_t * | child_value (const char_t *name) const |
bool | set_name (const char_t *rhs) |
bool | set_value (const char_t *rhs) |
xml_attribute | append_attribute (const char_t *name) |
xml_attribute | prepend_attribute (const char_t *name) |
xml_attribute | insert_attribute_after (const char_t *name, const xml_attribute &attr) |
xml_attribute | insert_attribute_before (const char_t *name, const xml_attribute &attr) |
xml_attribute | append_copy (const xml_attribute &proto) |
xml_attribute | prepend_copy (const xml_attribute &proto) |
xml_attribute | insert_copy_after (const xml_attribute &proto, const xml_attribute &attr) |
xml_attribute | insert_copy_before (const xml_attribute &proto, const xml_attribute &attr) |
xml_node | append_child (xml_node_type type=node_element) |
xml_node | prepend_child (xml_node_type type=node_element) |
xml_node | insert_child_after (xml_node_type type, const xml_node &node) |
xml_node | insert_child_before (xml_node_type type, const xml_node &node) |
xml_node | append_child (const char_t *name) |
xml_node | prepend_child (const char_t *name) |
xml_node | insert_child_after (const char_t *name, const xml_node &node) |
xml_node | insert_child_before (const char_t *name, const xml_node &node) |
xml_node | append_copy (const xml_node &proto) |
xml_node | prepend_copy (const xml_node &proto) |
xml_node | insert_copy_after (const xml_node &proto, const xml_node &node) |
xml_node | insert_copy_before (const xml_node &proto, const xml_node &node) |
xml_node | append_move (const xml_node &moved) |
xml_node | prepend_move (const xml_node &moved) |
xml_node | insert_move_after (const xml_node &moved, const xml_node &node) |
xml_node | insert_move_before (const xml_node &moved, const xml_node &node) |
bool | remove_attribute (const xml_attribute &a) |
bool | remove_attribute (const char_t *name) |
bool | remove_child (const xml_node &n) |
bool | remove_child (const char_t *name) |
xml_parse_result | append_buffer (const void *contents, size_t size, unsigned int options=parse_default, xml_encoding encoding=encoding_auto) |
template<typename Predicate > | |
xml_attribute | find_attribute (Predicate pred) const |
template<typename Predicate > | |
xml_node | find_child (Predicate pred) const |
template<typename Predicate > | |
xml_node | find_node (Predicate pred) const |
xml_node | find_child_by_attribute (const char_t *name, const char_t *attr_name, const char_t *attr_value) const |
xml_node | find_child_by_attribute (const char_t *attr_name, const char_t *attr_value) const |
string_t | path (char_t delimiter='/') const |
xml_node | first_element_by_path (const char_t *path, char_t delimiter='/') const |
bool | traverse (xml_tree_walker &walker) |
xpath_node | select_node (const char_t *query, xpath_variable_set *variables=0) const |
xpath_node | select_node (const xpath_query &query) const |
xpath_node_set | select_nodes (const char_t *query, xpath_variable_set *variables=0) const |
xpath_node_set | select_nodes (const xpath_query &query) const |
xpath_node | select_single_node (const char_t *query, xpath_variable_set *variables=0) const |
xpath_node | select_single_node (const xpath_query &query) const |
void | print (xml_writer &writer, const char_t *indent=PUGIXML_TEXT("\t"), unsigned int flags=format_default, xml_encoding encoding=encoding_auto, unsigned int depth=0) const |
void | print (std::basic_ostream< char, std::char_traits< char > > &os, const char_t *indent=PUGIXML_TEXT("\t"), unsigned int flags=format_default, xml_encoding encoding=encoding_auto, unsigned int depth=0) const |
void | print (std::basic_ostream< wchar_t, std::char_traits< wchar_t > > &os, const char_t *indent=PUGIXML_TEXT("\t"), unsigned int flags=format_default, unsigned int depth=0) const |
iterator | begin () const |
iterator | end () const |
attribute_iterator | attributes_begin () const |
attribute_iterator | attributes_end () const |
xml_object_range< xml_node_iterator > | children () const |
xml_object_range< xml_named_node_iterator > | children (const char_t *name) const |
xml_object_range< xml_attribute_iterator > | attributes () const |
ptrdiff_t | offset_debug () const |
size_t | hash_value () const |
xml_node_struct * | internal_object () const |
Protected Types | |
typedef void(* | unspecified_bool_type) (xml_node ***) |
Protected Attributes | |
xml_node_struct * | _root |
Friends | |
class | xml_attribute_iterator |
class | xml_node_iterator |
class | xml_named_node_iterator |
Definition at line 461 of file pugixml.hpp.
Definition at line 726 of file pugixml.hpp.
Definition at line 720 of file pugixml.hpp.
|
protected |
Definition at line 469 of file pugixml.hpp.
PUGI__FN pugi::xml_node::xml_node | ( | ) |
Definition at line 5200 of file pugixml.cpp.
|
explicit |
Definition at line 5202 of file pugixml.cpp.
PUGI__FN xml_attribute pugi::xml_node::append_attribute | ( | const char_t * | name | ) |
Definition at line 5436 of file pugixml.cpp.
PUGI__FN xml_parse_result pugi::xml_node::append_buffer | ( | const void * | contents, |
size_t | size, | ||
unsigned int | options = parse_default , |
||
xml_encoding | encoding = encoding_auto |
||
) |
Definition at line 5853 of file pugixml.cpp.
PUGI__FN xml_node pugi::xml_node::append_child | ( | const char_t * | name | ) |
Definition at line 5644 of file pugixml.cpp.
PUGI__FN xml_node pugi::xml_node::append_child | ( | xml_node_type | type = node_element | ) |
Definition at line 5576 of file pugixml.cpp.
PUGI__FN xml_attribute pugi::xml_node::append_copy | ( | const xml_attribute & | proto | ) |
Definition at line 5506 of file pugixml.cpp.
Definition at line 5678 of file pugixml.cpp.
Definition at line 5746 of file pugixml.cpp.
PUGI__FN xml_attribute pugi::xml_node::attribute | ( | const char_t * | name | ) | const |
Definition at line 5289 of file pugixml.cpp.
PUGI__FN xml_attribute pugi::xml_node::attribute | ( | const char_t * | name, |
xml_attribute & | hint | ||
) | const |
Definition at line 5322 of file pugixml.cpp.
PUGI__FN xml_object_range< xml_attribute_iterator > pugi::xml_node::attributes | ( | ) | const |
Definition at line 5237 of file pugixml.cpp.
PUGI__FN xml_node::attribute_iterator pugi::xml_node::attributes_begin | ( | ) | const |
Definition at line 5218 of file pugixml.cpp.
PUGI__FN xml_node::attribute_iterator pugi::xml_node::attributes_end | ( | ) | const |
Definition at line 5222 of file pugixml.cpp.
PUGI__FN xml_node::iterator pugi::xml_node::begin | ( | ) | const |
Definition at line 5212 of file pugixml.cpp.
PUGI__FN xml_node pugi::xml_node::child | ( | const char_t * | name | ) | const |
Definition at line 5280 of file pugixml.cpp.
PUGI__FN const char_t * pugi::xml_node::child_value | ( | ) | const |
Definition at line 5376 of file pugixml.cpp.
PUGI__FN const char_t * pugi::xml_node::child_value | ( | const char_t * | name | ) | const |
Definition at line 5389 of file pugixml.cpp.
PUGI__FN xml_object_range< xml_node_iterator > pugi::xml_node::children | ( | ) | const |
Definition at line 5226 of file pugixml.cpp.
PUGI__FN xml_object_range< xml_named_node_iterator > pugi::xml_node::children | ( | const char_t * | name | ) | const |
Definition at line 5230 of file pugixml.cpp.
PUGI__FN bool pugi::xml_node::empty | ( | ) | const |
Definition at line 5266 of file pugixml.cpp.
PUGI__FN xml_node::iterator pugi::xml_node::end | ( | ) | const |
Definition at line 5216 of file pugixml.cpp.
|
inline |
Definition at line 616 of file pugixml.hpp.
|
inline |
Definition at line 629 of file pugixml.hpp.
PUGI__FN xml_node pugi::xml_node::find_child_by_attribute | ( | const char_t * | attr_name, |
const char_t * | attr_value | ||
) | const |
Definition at line 5909 of file pugixml.cpp.
PUGI__FN xml_node pugi::xml_node::find_child_by_attribute | ( | const char_t * | name, |
const char_t * | attr_name, | ||
const char_t * | attr_value | ||
) | const |
Definition at line 5892 of file pugixml.cpp.
|
inline |
Definition at line 641 of file pugixml.hpp.
PUGI__FN xml_attribute pugi::xml_node::first_attribute | ( | ) | const |
Definition at line 5393 of file pugixml.cpp.
PUGI__FN xml_node pugi::xml_node::first_child | ( | ) | const |
Definition at line 5403 of file pugixml.cpp.
PUGI__FN xml_node pugi::xml_node::first_element_by_path | ( | const char_t * | path, |
char_t | delimiter = '/' |
||
) | const |
Definition at line 5954 of file pugixml.cpp.
PUGI__FN size_t pugi::xml_node::hash_value | ( | ) | const |
Definition at line 6041 of file pugixml.cpp.
PUGI__FN xml_attribute pugi::xml_node::insert_attribute_after | ( | const char_t * | name, |
const xml_attribute & | attr | ||
) |
Definition at line 5468 of file pugixml.cpp.
PUGI__FN xml_attribute pugi::xml_node::insert_attribute_before | ( | const char_t * | name, |
const xml_attribute & | attr | ||
) |
Definition at line 5487 of file pugixml.cpp.
Definition at line 5660 of file pugixml.cpp.
Definition at line 5626 of file pugixml.cpp.
PUGI__FN xml_node pugi::xml_node::insert_child_before | ( | const char_t * | name, |
const xml_node & | node | ||
) |
Definition at line 5669 of file pugixml.cpp.
Definition at line 5608 of file pugixml.cpp.
PUGI__FN xml_attribute pugi::xml_node::insert_copy_after | ( | const xml_attribute & | proto, |
const xml_attribute & | attr | ||
) |
Definition at line 5538 of file pugixml.cpp.
PUGI__FN xml_node pugi::xml_node::insert_copy_after | ( | const xml_node & | proto, |
const xml_node & | node | ||
) |
Definition at line 5710 of file pugixml.cpp.
PUGI__FN xml_attribute pugi::xml_node::insert_copy_before | ( | const xml_attribute & | proto, |
const xml_attribute & | attr | ||
) |
Definition at line 5557 of file pugixml.cpp.
PUGI__FN xml_node pugi::xml_node::insert_copy_before | ( | const xml_node & | proto, |
const xml_node & | node | ||
) |
Definition at line 5728 of file pugixml.cpp.
PUGI__FN xml_node pugi::xml_node::insert_move_after | ( | const xml_node & | moved, |
const xml_node & | node | ||
) |
Definition at line 5780 of file pugixml.cpp.
PUGI__FN xml_node pugi::xml_node::insert_move_before | ( | const xml_node & | moved, |
const xml_node & | node | ||
) |
Definition at line 5800 of file pugixml.cpp.
PUGI__FN xml_node_struct * pugi::xml_node::internal_object | ( | ) | const |
Definition at line 6046 of file pugixml.cpp.
PUGI__FN xml_attribute pugi::xml_node::last_attribute | ( | ) | const |
Definition at line 5397 of file pugixml.cpp.
PUGI__FN xml_node pugi::xml_node::last_child | ( | ) | const |
Definition at line 5407 of file pugixml.cpp.
PUGI__FN const char_t * pugi::xml_node::name | ( | ) | const |
Definition at line 5268 of file pugixml.cpp.
PUGI__FN xml_node pugi::xml_node::next_sibling | ( | ) | const |
Definition at line 5308 of file pugixml.cpp.
PUGI__FN xml_node pugi::xml_node::next_sibling | ( | const char_t * | name | ) | const |
Definition at line 5299 of file pugixml.cpp.
PUGI__FN ptrdiff_t pugi::xml_node::offset_debug | ( | ) | const |
Definition at line 6079 of file pugixml.cpp.
PUGI__FN pugi::xml_node::operator xml_node::unspecified_bool_type | ( | ) | const |
Definition at line 5206 of file pugixml.cpp.
PUGI__FN bool pugi::xml_node::operator! | ( | ) | const |
Definition at line 5210 of file pugixml.cpp.
PUGI__FN bool pugi::xml_node::operator!= | ( | const xml_node & | r | ) | const |
Definition at line 5246 of file pugixml.cpp.
PUGI__FN bool pugi::xml_node::operator< | ( | const xml_node & | r | ) | const |
Definition at line 5250 of file pugixml.cpp.
PUGI__FN bool pugi::xml_node::operator<= | ( | const xml_node & | r | ) | const |
Definition at line 5258 of file pugixml.cpp.
PUGI__FN bool pugi::xml_node::operator== | ( | const xml_node & | r | ) | const |
Definition at line 5242 of file pugixml.cpp.
PUGI__FN bool pugi::xml_node::operator> | ( | const xml_node & | r | ) | const |
Definition at line 5254 of file pugixml.cpp.
PUGI__FN bool pugi::xml_node::operator>= | ( | const xml_node & | r | ) | const |
Definition at line 5262 of file pugixml.cpp.
PUGI__FN xml_node pugi::xml_node::parent | ( | ) | const |
Definition at line 5366 of file pugixml.cpp.
PUGI__FN string_t pugi::xml_node::path | ( | char_t | delimiter = '/' | ) | const |
Definition at line 5924 of file pugixml.cpp.
PUGI__FN xml_attribute pugi::xml_node::prepend_attribute | ( | const char_t * | name | ) |
Definition at line 5452 of file pugixml.cpp.
PUGI__FN xml_node pugi::xml_node::prepend_child | ( | const char_t * | name | ) |
Definition at line 5652 of file pugixml.cpp.
PUGI__FN xml_node pugi::xml_node::prepend_child | ( | xml_node_type | type = node_element | ) |
Definition at line 5592 of file pugixml.cpp.
PUGI__FN xml_attribute pugi::xml_node::prepend_copy | ( | const xml_attribute & | proto | ) |
Definition at line 5522 of file pugixml.cpp.
Definition at line 5694 of file pugixml.cpp.
Definition at line 5763 of file pugixml.cpp.
PUGI__FN xml_node pugi::xml_node::previous_sibling | ( | ) | const |
Definition at line 5357 of file pugixml.cpp.
PUGI__FN xml_node pugi::xml_node::previous_sibling | ( | const char_t * | name | ) | const |
Definition at line 5312 of file pugixml.cpp.
PUGI__FN void pugi::xml_node::print | ( | std::basic_ostream< char, std::char_traits< char > > & | os, |
const char_t * | indent = PUGIXML_TEXT("\t") , |
||
unsigned int | flags = format_default , |
||
xml_encoding | encoding = encoding_auto , |
||
unsigned int | depth = 0 |
||
) | const |
Definition at line 6061 of file pugixml.cpp.
PUGI__FN void pugi::xml_node::print | ( | std::basic_ostream< wchar_t, std::char_traits< wchar_t > > & | os, |
const char_t * | indent = PUGIXML_TEXT("\t") , |
||
unsigned int | flags = format_default , |
||
unsigned int | depth = 0 |
||
) | const |
Definition at line 6070 of file pugixml.cpp.
PUGI__FN void pugi::xml_node::print | ( | xml_writer & | writer, |
const char_t * | indent = PUGIXML_TEXT("\t") , |
||
unsigned int | flags = format_default , |
||
xml_encoding | encoding = encoding_auto , |
||
unsigned int | depth = 0 |
||
) | const |
Definition at line 6048 of file pugixml.cpp.
PUGI__FN bool pugi::xml_node::remove_attribute | ( | const char_t * | name | ) |
Definition at line 5820 of file pugixml.cpp.
PUGI__FN bool pugi::xml_node::remove_attribute | ( | const xml_attribute & | a | ) |
Definition at line 5824 of file pugixml.cpp.
PUGI__FN bool pugi::xml_node::remove_child | ( | const char_t * | name | ) |
Definition at line 5837 of file pugixml.cpp.
PUGI__FN bool pugi::xml_node::remove_child | ( | const xml_node & | n | ) |
Definition at line 5841 of file pugixml.cpp.
PUGI__FN xml_node pugi::xml_node::root | ( | ) | const |
Definition at line 5370 of file pugixml.cpp.
PUGI__FN xpath_node pugi::xml_node::select_node | ( | const char_t * | query, |
xpath_variable_set * | variables = 0 |
||
) | const |
Definition at line 11998 of file pugixml.cpp.
PUGI__FN xpath_node pugi::xml_node::select_node | ( | const xpath_query & | query | ) | const |
Definition at line 12004 of file pugixml.cpp.
PUGI__FN xpath_node_set pugi::xml_node::select_nodes | ( | const char_t * | query, |
xpath_variable_set * | variables = 0 |
||
) | const |
Definition at line 12008 of file pugixml.cpp.
PUGI__FN xpath_node_set pugi::xml_node::select_nodes | ( | const xpath_query & | query | ) | const |
Definition at line 12014 of file pugixml.cpp.
PUGI__FN xpath_node pugi::xml_node::select_single_node | ( | const char_t * | query, |
xpath_variable_set * | variables = 0 |
||
) | const |
Definition at line 12018 of file pugixml.cpp.
PUGI__FN xpath_node pugi::xml_node::select_single_node | ( | const xpath_query & | query | ) | const |
Definition at line 12025 of file pugixml.cpp.
PUGI__FN bool pugi::xml_node::set_name | ( | const char_t * | rhs | ) |
Definition at line 5413 of file pugixml.cpp.
PUGI__FN bool pugi::xml_node::set_value | ( | const char_t * | rhs | ) |
Definition at line 5424 of file pugixml.cpp.
PUGI__FN xml_text pugi::xml_node::text | ( | ) | const |
Definition at line 5374 of file pugixml.cpp.
PUGI__FN bool pugi::xml_node::traverse | ( | xml_tree_walker & | walker | ) |
Definition at line 6003 of file pugixml.cpp.
PUGI__FN xml_node_type pugi::xml_node::type | ( | ) | const |
Definition at line 5272 of file pugixml.cpp.
PUGI__FN const char_t * pugi::xml_node::value | ( | ) | const |
Definition at line 5276 of file pugixml.cpp.
|
friend |
Definition at line 462 of file pugixml.hpp.
|
friend |
Definition at line 464 of file pugixml.hpp.
|
friend |
Definition at line 463 of file pugixml.hpp.
|
protected |
Definition at line 467 of file pugixml.hpp.