#include <pugixml.hpp>
Definition at line 359 of file pugixml.hpp.
Definition at line 560 of file pugixml.hpp.
Definition at line 554 of file pugixml.hpp.
typedef void(* pugi::xml_node::unspecified_bool_type)(xml_node ***) [protected] |
Definition at line 368 of file pugixml.hpp.
PUGI__FN pugi::xml_node::xml_node | ( | ) |
Definition at line 3547 of file pugixml.cpp.
Referenced by append_child(), child(), pugi::xml_document::document_element(), find_child_by_attribute(), first_child(), first_element_by_path(), insert_child_after(), insert_child_before(), last_child(), next_sibling(), parent(), prepend_child(), previous_sibling(), and root().
PUGI__FN pugi::xml_node::xml_node | ( | xml_node_struct * | p | ) | [explicit] |
Definition at line 3551 of file pugixml.cpp.
PUGI__FN xml_attribute pugi::xml_node::append_attribute | ( | const char_t * | name | ) |
Definition at line 3794 of file pugixml.cpp.
References _root, append_attribute_ll(), get_allocator(), pugi::node_declaration, pugi::node_element, pugi::xml_attribute::set_name(), and type().
Referenced by append_copy().
Definition at line 4007 of file pugixml.cpp.
References append_child(), pugi::node_element, and set_name().
PUGI__FN xml_node pugi::xml_node::append_child | ( | xml_node_type | type = node_element |
) |
Definition at line 3923 of file pugixml.cpp.
References _root, allow_insert_child(), append_node(), get_allocator(), n, pugi::node_declaration, PUGIXML_TEXT, set_name(), type(), and xml_node().
Referenced by append_child(), and append_copy().
Definition at line 4043 of file pugixml.cpp.
References append_child(), recursive_copy_skip(), and type().
PUGI__FN xml_attribute pugi::xml_node::append_copy | ( | const xml_attribute & | proto | ) |
Definition at line 3883 of file pugixml.cpp.
References append_attribute(), pugi::xml_attribute::name(), pugi::xml_attribute::set_value(), and pugi::xml_attribute::value().
Referenced by pugi::xml_document::reset().
PUGI__FN xml_attribute pugi::xml_node::attribute | ( | const char_t * | name | ) | const |
Definition at line 3664 of file pugixml.cpp.
References _root, pugi::xml_node_struct::first_attribute, pugi::xml_attribute_struct::next_attribute, and strequal().
Referenced by remove_attribute().
PUGI__FN xml_object_range< xml_attribute_iterator > pugi::xml_node::attributes | ( | ) | const |
Definition at line 3599 of file pugixml.cpp.
References attributes_begin(), and attributes_end().
PUGI__FN xml_node::attribute_iterator pugi::xml_node::attributes_begin | ( | ) | const |
Definition at line 3579 of file pugixml.cpp.
References _root, and pugi::xml_node_struct::first_attribute.
Referenced by attributes().
PUGI__FN xml_node::attribute_iterator pugi::xml_node::attributes_end | ( | ) | const |
Definition at line 3584 of file pugixml.cpp.
References _root.
Referenced by attributes().
PUGI__FN xml_node::iterator pugi::xml_node::begin | ( | ) | const |
Definition at line 3569 of file pugixml.cpp.
References _root, and pugi::xml_node_struct::first_child.
Referenced by children().
Definition at line 3654 of file pugixml.cpp.
References _root, pugi::xml_node_struct::first_child, pugi::xml_node_struct::next_sibling, strequal(), and xml_node().
Referenced by child_value(), children(), remove_child(), and AlignedSentenceSyntax::XMLParse().
Definition at line 3741 of file pugixml.cpp.
References child(), and child_value().
PUGI__FN const char_t * pugi::xml_node::child_value | ( | ) | const |
Definition at line 3730 of file pugixml.cpp.
References _root, pugi::xml_node_struct::first_child, is_text_node(), pugi::xml_node_struct::next_sibling, and PUGIXML_TEXT.
Referenced by child_value().
PUGI__FN xml_object_range< xml_named_node_iterator > pugi::xml_node::children | ( | const char_t * | name | ) | const |
Definition at line 3594 of file pugixml.cpp.
References child(), and xml_named_node_iterator.
PUGI__FN xml_object_range< xml_node_iterator > pugi::xml_node::children | ( | ) | const |
Definition at line 3589 of file pugixml.cpp.
References begin(), and end().
PUGI__FN bool pugi::xml_node::empty | ( | ) | const |
Definition at line 3634 of file pugixml.cpp.
References _root.
Referenced by traverse().
PUGI__FN xml_node::iterator pugi::xml_node::end | ( | ) | const |
Definition at line 3574 of file pugixml.cpp.
References _root.
Referenced by children().
xml_attribute pugi::xml_node::find_attribute | ( | Predicate | pred | ) | const [inline] |
Definition at line 477 of file pugixml.hpp.
xml_node pugi::xml_node::find_child | ( | Predicate | pred | ) | const [inline] |
Definition at line 488 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 4140 of file pugixml.cpp.
References _root, pugi::xml_node_struct::first_child, pugi::xml_node_struct::next_sibling, strequal(), and xml_node().
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 4126 of file pugixml.cpp.
References _root, pugi::xml_node_struct::first_child, pugi::xml_node_struct::next_sibling, strequal(), and xml_node().
xml_node pugi::xml_node::find_node | ( | Predicate | pred | ) | const [inline] |
Definition at line 499 of file pugixml.hpp.
References _root, first_child(), next_sibling(), and parent().
PUGI__FN xml_attribute pugi::xml_node::first_attribute | ( | ) | const |
Definition at line 3746 of file pugixml.cpp.
References _root, and pugi::xml_node_struct::first_attribute.
PUGI__FN xml_node pugi::xml_node::first_child | ( | ) | const |
Definition at line 3756 of file pugixml.cpp.
References _root, pugi::xml_node_struct::first_child, and xml_node().
Referenced by find_node(), pugi::xml_document::reset(), traverse(), and AlignedSentenceSyntax::XMLParse().
PUGI__FN xml_node pugi::xml_node::first_element_by_path | ( | const char_t * | path, | |
char_t | delimiter = '/' | |||
) | const |
Definition at line 4172 of file pugixml.cpp.
References _root, pugi::xml_node_struct::first_child, first_element_by_path(), pugi::xml_node_struct::next_sibling, parent(), root(), strequalrange(), and xml_node().
Referenced by first_element_by_path().
PUGI__FN size_t pugi::xml_node::hash_value | ( | ) | const |
PUGI__FN xml_attribute pugi::xml_node::insert_attribute_after | ( | const char_t * | name, | |
const xml_attribute & | attr | |||
) |
Definition at line 3855 of file pugixml.cpp.
References _root, allocate_attribute(), pugi::xml_attribute::empty(), pugi::xml_node_struct::first_attribute, get_allocator(), pugi::xml_attribute_struct::next_attribute, pugi::node_declaration, pugi::node_element, pugi::xml_attribute_struct::prev_attribute_c, pugi::xml_attribute::set_name(), and type().
Referenced by insert_copy_after().
PUGI__FN xml_attribute pugi::xml_node::insert_attribute_before | ( | const char_t * | name, | |
const xml_attribute & | attr | |||
) |
Definition at line 3827 of file pugixml.cpp.
References _root, allocate_attribute(), pugi::xml_attribute::empty(), pugi::xml_node_struct::first_attribute, get_allocator(), pugi::xml_attribute_struct::next_attribute, pugi::node_declaration, pugi::node_element, pugi::xml_attribute_struct::prev_attribute_c, pugi::xml_attribute::set_name(), and type().
Referenced by insert_copy_before().
Definition at line 4025 of file pugixml.cpp.
References insert_child_after(), pugi::node_element, and set_name().
PUGI__FN xml_node pugi::xml_node::insert_child_after | ( | xml_node_type | type, | |
const xml_node & | node | |||
) |
Definition at line 3983 of file pugixml.cpp.
References _root, allocate_node(), allow_insert_child(), pugi::xml_node_struct::first_child, get_allocator(), n, pugi::xml_node_struct::next_sibling, pugi::node_declaration, pugi::xml_node_struct::parent, pugi::xml_node_struct::prev_sibling_c, PUGIXML_TEXT, set_name(), type(), and xml_node().
Referenced by insert_child_after(), and insert_copy_after().
PUGI__FN xml_node pugi::xml_node::insert_child_before | ( | const char_t * | name, | |
const xml_node & | node | |||
) |
Definition at line 4034 of file pugixml.cpp.
References insert_child_before(), pugi::node_element, and set_name().
PUGI__FN xml_node pugi::xml_node::insert_child_before | ( | xml_node_type | type, | |
const xml_node & | node | |||
) |
Definition at line 3959 of file pugixml.cpp.
References _root, allocate_node(), allow_insert_child(), pugi::xml_node_struct::first_child, get_allocator(), n, pugi::xml_node_struct::next_sibling, pugi::node_declaration, pugi::xml_node_struct::parent, pugi::xml_node_struct::prev_sibling_c, PUGIXML_TEXT, set_name(), type(), and xml_node().
Referenced by insert_child_before(), and insert_copy_before().
PUGI__FN xml_node pugi::xml_node::insert_copy_after | ( | const xml_node & | proto, | |
const xml_node & | node | |||
) |
Definition at line 4061 of file pugixml.cpp.
References insert_child_after(), recursive_copy_skip(), and type().
PUGI__FN xml_attribute pugi::xml_node::insert_copy_after | ( | const xml_attribute & | proto, | |
const xml_attribute & | attr | |||
) |
Definition at line 3903 of file pugixml.cpp.
References insert_attribute_after(), pugi::xml_attribute::name(), pugi::xml_attribute::set_value(), and pugi::xml_attribute::value().
PUGI__FN xml_node pugi::xml_node::insert_copy_before | ( | const xml_node & | proto, | |
const xml_node & | node | |||
) |
Definition at line 4070 of file pugixml.cpp.
References insert_child_before(), recursive_copy_skip(), and type().
PUGI__FN xml_attribute pugi::xml_node::insert_copy_before | ( | const xml_attribute & | proto, | |
const xml_attribute & | attr | |||
) |
Definition at line 3913 of file pugixml.cpp.
References insert_attribute_before(), pugi::xml_attribute::name(), pugi::xml_attribute::set_value(), and pugi::xml_attribute::value().
PUGI__FN xml_node_struct * pugi::xml_node::internal_object | ( | ) | const |
PUGI__FN xml_attribute pugi::xml_node::last_attribute | ( | ) | const |
Definition at line 3751 of file pugixml.cpp.
References _root, pugi::xml_node_struct::first_attribute, and pugi::xml_attribute_struct::prev_attribute_c.
Referenced by pugi::xml_attribute_iterator::operator--().
PUGI__FN xml_node pugi::xml_node::last_child | ( | ) | const |
Definition at line 3761 of file pugixml.cpp.
References _root, pugi::xml_node_struct::first_child, pugi::xml_node_struct::prev_sibling_c, and xml_node().
Referenced by pugi::xml_node_iterator::operator--().
PUGI__FN const char_t * pugi::xml_node::name | ( | ) | const |
Definition at line 3639 of file pugixml.cpp.
References _root, pugi::xml_node_struct::name, and PUGIXML_TEXT.
Referenced by path().
Definition at line 3675 of file pugixml.cpp.
References _root, pugi::xml_node_struct::next_sibling, strequal(), and xml_node().
PUGI__FN xml_node pugi::xml_node::next_sibling | ( | ) | const |
Definition at line 3685 of file pugixml.cpp.
References _root, pugi::xml_node_struct::next_sibling, and xml_node().
Referenced by find_node(), pugi::xml_named_node_iterator::operator++(), pugi::xml_document::reset(), and traverse().
PUGI__FN ptrdiff_t pugi::xml_node::offset_debug | ( | ) | const |
Definition at line 4291 of file pugixml.cpp.
References _root, pugi::xml_node_struct::header, pugi::xml_node_struct::name, pugi::node_cdata, pugi::node_comment, pugi::node_declaration, pugi::node_doctype, pugi::node_document, pugi::node_element, pugi::node_pcdata, pugi::node_pi, root(), type(), and pugi::xml_node_struct::value.
PUGI__FN pugi::xml_node::operator xml_node::unspecified_bool_type | ( | ) | const |
PUGI__FN bool pugi::xml_node::operator! | ( | ) | const |
PUGI__FN bool pugi::xml_node::operator!= | ( | const xml_node & | r | ) | const |
PUGI__FN bool pugi::xml_node::operator< | ( | const xml_node & | r | ) | const |
PUGI__FN bool pugi::xml_node::operator<= | ( | const xml_node & | r | ) | const |
PUGI__FN bool pugi::xml_node::operator== | ( | const xml_node & | r | ) | const |
PUGI__FN bool pugi::xml_node::operator> | ( | const xml_node & | r | ) | const |
PUGI__FN bool pugi::xml_node::operator>= | ( | const xml_node & | r | ) | const |
PUGI__FN xml_node pugi::xml_node::parent | ( | ) | const |
Definition at line 3711 of file pugixml.cpp.
References _root, pugi::xml_node_struct::parent, and xml_node().
Referenced by find_node(), first_element_by_path(), pugi::xpath_node::parent(), path(), and traverse().
Definition at line 4153 of file pugixml.cpp.
References name(), and parent().
PUGI__FN xml_attribute pugi::xml_node::prepend_attribute | ( | const char_t * | name | ) |
Definition at line 3804 of file pugixml.cpp.
References _root, allocate_attribute(), pugi::xml_node_struct::first_attribute, get_allocator(), pugi::xml_attribute_struct::next_attribute, pugi::node_declaration, pugi::node_element, pugi::xml_attribute_struct::prev_attribute_c, pugi::xml_attribute::set_name(), and type().
Referenced by prepend_copy().
Definition at line 4016 of file pugixml.cpp.
References pugi::node_element, prepend_child(), and set_name().
PUGI__FN xml_node pugi::xml_node::prepend_child | ( | xml_node_type | type = node_element |
) |
Definition at line 3934 of file pugixml.cpp.
References _root, allocate_node(), allow_insert_child(), pugi::xml_node_struct::first_child, get_allocator(), n, pugi::xml_node_struct::next_sibling, pugi::node_declaration, pugi::xml_node_struct::parent, pugi::xml_node_struct::prev_sibling_c, PUGIXML_TEXT, set_name(), type(), and xml_node().
Referenced by prepend_child(), and prepend_copy().
Definition at line 4052 of file pugixml.cpp.
References prepend_child(), recursive_copy_skip(), and type().
PUGI__FN xml_attribute pugi::xml_node::prepend_copy | ( | const xml_attribute & | proto | ) |
Definition at line 3893 of file pugixml.cpp.
References pugi::xml_attribute::name(), prepend_attribute(), pugi::xml_attribute::set_value(), and pugi::xml_attribute::value().
Definition at line 3693 of file pugixml.cpp.
References _root, pugi::xml_node_struct::next_sibling, pugi::xml_node_struct::prev_sibling_c, strequal(), and xml_node().
PUGI__FN xml_node pugi::xml_node::previous_sibling | ( | ) | const |
Definition at line 3703 of file pugixml.cpp.
References _root, pugi::xml_node_struct::next_sibling, pugi::xml_node_struct::prev_sibling_c, and xml_node().
Referenced by pugi::xml_node_iterator::operator--().
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 4283 of file pugixml.cpp.
References pugi::encoding_wchar, and print().
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 4276 of file pugixml.cpp.
References print().
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 4266 of file pugixml.cpp.
References _root, and node_output().
Referenced by print().
PUGI__FN bool pugi::xml_node::remove_attribute | ( | const char_t * | name | ) |
Definition at line 4079 of file pugixml.cpp.
References attribute(), and remove_attribute().
PUGI__FN bool pugi::xml_node::remove_attribute | ( | const xml_attribute & | a | ) |
Definition at line 4084 of file pugixml.cpp.
References _root, destroy_attribute(), pugi::xml_node_struct::first_attribute, get_allocator(), pugi::xml_attribute_struct::next_attribute, and pugi::xml_attribute_struct::prev_attribute_c.
Referenced by remove_attribute().
PUGI__FN bool pugi::xml_node::remove_child | ( | const char_t * | name | ) |
Definition at line 4106 of file pugixml.cpp.
References child(), and remove_child().
PUGI__FN bool pugi::xml_node::remove_child | ( | const xml_node & | n | ) |
Definition at line 4111 of file pugixml.cpp.
References _root, destroy_node(), pugi::xml_node_struct::first_child, get_allocator(), pugi::xml_node_struct::next_sibling, pugi::xml_node_struct::parent, and pugi::xml_node_struct::prev_sibling_c.
Referenced by remove_child().
PUGI__FN xml_node pugi::xml_node::root | ( | ) | const |
Definition at line 3716 of file pugixml.cpp.
References _root, pugi::xml_node_struct::header, and xml_node().
Referenced by first_element_by_path(), and offset_debug().
PUGI__FN xpath_node_set pugi::xml_node::select_nodes | ( | const xpath_query & | query | ) | const |
Definition at line 9371 of file pugixml.cpp.
References pugi::xpath_query::evaluate_node_set().
PUGI__FN xpath_node_set pugi::xml_node::select_nodes | ( | const char_t * | query, | |
xpath_variable_set * | variables = 0 | |||
) | const |
Definition at line 9365 of file pugixml.cpp.
PUGI__FN xpath_node pugi::xml_node::select_single_node | ( | const xpath_query & | query | ) | const |
Definition at line 9359 of file pugixml.cpp.
References pugi::xpath_node_set::empty(), pugi::xpath_query::evaluate_node_set(), and pugi::xpath_node_set::first().
PUGI__FN xpath_node pugi::xml_node::select_single_node | ( | const char_t * | query, | |
xpath_variable_set * | variables = 0 | |||
) | const |
Definition at line 9353 of file pugixml.cpp.
PUGI__FN bool pugi::xml_node::set_name | ( | const char_t * | rhs | ) |
Definition at line 3766 of file pugixml.cpp.
References _root, pugi::xml_node_struct::header, pugi::xml_node_struct::name, pugi::node_declaration, pugi::node_element, pugi::node_pi, strcpy_insitu(), and type().
Referenced by append_child(), insert_child_after(), insert_child_before(), and prepend_child().
PUGI__FN bool pugi::xml_node::set_value | ( | const char_t * | rhs | ) |
Definition at line 3779 of file pugixml.cpp.
References _root, pugi::xml_node_struct::header, pugi::node_cdata, pugi::node_comment, pugi::node_doctype, pugi::node_pcdata, pugi::node_pi, strcpy_insitu(), type(), and pugi::xml_node_struct::value.
PUGI__FN xml_text pugi::xml_node::text | ( | ) | const |
PUGI__FN bool pugi::xml_node::traverse | ( | xml_tree_walker & | walker | ) |
Definition at line 4215 of file pugixml.cpp.
References pugi::xml_tree_walker::begin(), empty(), pugi::xml_tree_walker::end(), first_child(), pugi::xml_tree_walker::for_each(), next_sibling(), and parent().
PUGI__FN xml_node_type pugi::xml_node::type | ( | ) | const |
Definition at line 3644 of file pugixml.cpp.
References _root, pugi::xml_node_struct::header, and pugi::node_null.
Referenced by append_attribute(), append_child(), append_copy(), insert_attribute_after(), insert_attribute_before(), insert_child_after(), insert_child_before(), insert_copy_after(), insert_copy_before(), offset_debug(), prepend_attribute(), prepend_child(), prepend_copy(), set_name(), and set_value().
PUGI__FN const char_t * pugi::xml_node::value | ( | ) | const |
Definition at line 3649 of file pugixml.cpp.
References _root, PUGIXML_TEXT, and pugi::xml_node_struct::value.
friend class xml_attribute_iterator [friend] |
Definition at line 361 of file pugixml.hpp.
friend class xml_named_node_iterator [friend] |
friend class xml_node_iterator [friend] |
Definition at line 362 of file pugixml.hpp.
xml_node_struct* pugi::xml_node::_root [protected] |
Definition at line 366 of file pugixml.hpp.
Referenced by append_attribute(), append_child(), attribute(), attributes_begin(), attributes_end(), begin(), child(), child_value(), pugi::xml_document::document_element(), empty(), end(), find_child_by_attribute(), find_node(), first_attribute(), first_child(), first_element_by_path(), hash_value(), insert_attribute_after(), insert_attribute_before(), insert_child_after(), insert_child_before(), internal_object(), last_attribute(), last_child(), name(), next_sibling(), offset_debug(), operator unspecified_bool_type(), operator!(), pugi::xml_attribute_iterator::operator!=(), pugi::xml_node_iterator::operator!=(), operator!=(), pugi::xml_named_node_iterator::operator*(), pugi::xml_node_iterator::operator*(), pugi::xml_named_node_iterator::operator++(), pugi::xml_node_iterator::operator++(), pugi::xml_node_iterator::operator--(), pugi::xml_named_node_iterator::operator->(), pugi::xml_node_iterator::operator->(), operator<(), operator<=(), pugi::xml_attribute_iterator::operator==(), pugi::xml_node_iterator::operator==(), operator==(), operator>(), operator>=(), parent(), prepend_attribute(), prepend_child(), previous_sibling(), print(), remove_attribute(), remove_child(), root(), set_name(), set_value(), text(), type(), and value().