ETISS 0.8.0
Extendable Translating Instruction Set Simulator (version 0.8.0)
|
#include <pugixml.hpp>
Public Types | |
typedef xml_node_iterator | iterator |
typedef xml_attribute_iterator | attribute_iterator |
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 396 of file pugixml.hpp.
Definition at line 610 of file pugixml.hpp.
Definition at line 604 of file pugixml.hpp.
|
protected |
Definition at line 405 of file pugixml.hpp.
PUGI__FN pugi::xml_node::xml_node | ( | ) |
Definition at line 4577 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().
|
explicit |
Definition at line 4579 of file pugixml.cpp.
PUGI__FN xml_attribute pugi::xml_node::append_attribute | ( | const char_t * | name | ) |
Definition at line 4837 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(), and etiss::fault::xml::setAttribute().
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 5217 of file pugixml.cpp.
References _root, allow_insert_child(), load_buffer_impl(), make_parse_result(), pugi::xml_node_struct::name, pugi::node_element, options, root(), pugi::status_append_invalid_root, pugi::status_out_of_memory, and type().
Definition at line 5082 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 4983 of file pugixml.cpp.
References _root, allow_insert_child(), append_node(), get_allocator(), pugi::node_declaration, PUGIXML_TEXT, set_name(), type(), and xml_node().
Referenced by append_child(), append_copy(), etiss::fault::Action::toString(), and etiss::fault::Fault::toString().
PUGI__FN xml_attribute pugi::xml_node::append_copy | ( | const xml_attribute & | proto | ) |
Definition at line 4939 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().
Definition at line 5118 of file pugixml.cpp.
References append_child(), recursive_copy_skip(), and type().
PUGI__FN xml_attribute pugi::xml_node::attribute | ( | const char_t * | name | ) | const |
Definition at line 4691 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 4624 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 4603 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 4608 of file pugixml.cpp.
References _root.
Referenced by attributes().
PUGI__FN xml_node::iterator pugi::xml_node::begin | ( | ) | const |
Definition at line 4593 of file pugixml.cpp.
References _root, and pugi::xml_node_struct::first_child.
Referenced by children().
Definition at line 4679 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(), and remove_child().
Definition at line 4770 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().
Definition at line 4782 of file pugixml.cpp.
References child(), and child_value().
PUGI__FN xml_object_range< xml_node_iterator > pugi::xml_node::children | ( | ) | const |
Definition at line 4613 of file pugixml.cpp.
References begin(), and end().
PUGI__FN xml_object_range< xml_named_node_iterator > pugi::xml_node::children | ( | const char_t * | name | ) | const |
Definition at line 4618 of file pugixml.cpp.
References _root, child(), and xml_named_node_iterator.
Definition at line 4659 of file pugixml.cpp.
References _root.
Referenced by traverse().
PUGI__FN xml_node::iterator pugi::xml_node::end | ( | ) | const |
Definition at line 4598 of file pugixml.cpp.
References _root.
Referenced by children().
|
inline |
Definition at line 522 of file pugixml.hpp.
References pugi::xml_attribute::next_attribute().
|
inline |
Definition at line 534 of file pugixml.hpp.
References next_sibling().
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 5276 of file pugixml.cpp.
References _root, pugi::xml_node_struct::first_child, pugi::xml_attribute_struct::next_attribute, pugi::xml_node_struct::next_sibling, PUGIXML_TEXT, 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 5258 of file pugixml.cpp.
References _root, pugi::xml_node_struct::first_child, pugi::xml_attribute_struct::next_attribute, pugi::xml_node_struct::next_sibling, PUGIXML_TEXT, strequal(), and xml_node().
|
inline |
Definition at line 546 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 4787 of file pugixml.cpp.
References _root, and pugi::xml_node_struct::first_attribute.
Referenced by etiss::fault::xml::getAttribute().
Definition at line 4797 of file pugixml.cpp.
References _root, pugi::xml_node_struct::first_child, and xml_node().
Referenced by find_node(), etiss::fault::xml::parse< std::vector< etiss::fault::Fault > >(), pugi::xml_document::reset(), and traverse().
PUGI__FN xml_node pugi::xml_node::first_element_by_path | ( | const char_t * | path, |
char_t | delimiter = '/' |
||
) | const |
Definition at line 5311 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().
Definition at line 5413 of file pugixml.cpp.
References _root.
PUGI__FN xml_attribute pugi::xml_node::insert_attribute_after | ( | const char_t * | name, |
const xml_attribute & | attr | ||
) |
Definition at line 4907 of file pugixml.cpp.
References pugi::xml_attribute::_attr, _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 4875 of file pugixml.cpp.
References pugi::xml_attribute::_attr, _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 5100 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 5054 of file pugixml.cpp.
References _root, allocate_node(), allow_insert_child(), pugi::xml_node_struct::first_child, get_allocator(), 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 5109 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 5026 of file pugixml.cpp.
References _root, allocate_node(), allow_insert_child(), pugi::xml_node_struct::first_child, get_allocator(), 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_attribute pugi::xml_node::insert_copy_after | ( | const xml_attribute & | proto, |
const xml_attribute & | attr | ||
) |
Definition at line 4961 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_after | ( | const xml_node & | proto, |
const xml_node & | node | ||
) |
Definition at line 5138 of file pugixml.cpp.
References insert_child_after(), 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 4972 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 pugi::xml_node::insert_copy_before | ( | const xml_node & | proto, |
const xml_node & | node | ||
) |
Definition at line 5148 of file pugixml.cpp.
References insert_child_before(), recursive_copy_skip(), and type().
PUGI__FN xml_node_struct * pugi::xml_node::internal_object | ( | ) | const |
Definition at line 5418 of file pugixml.cpp.
References _root.
PUGI__FN xml_attribute pugi::xml_node::last_attribute | ( | ) | const |
Definition at line 4792 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--().
Definition at line 4802 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--(), and pugi::xml_named_node_iterator::operator--().
Definition at line 4664 of file pugixml.cpp.
References _root, pugi::xml_node_struct::name, and PUGIXML_TEXT.
Referenced by pugi::xml_named_node_iterator::operator--(), path(), and get_metrics.MemRange::stats().
Definition at line 4715 of file pugixml.cpp.
References _root, pugi::xml_node_struct::next_sibling, and xml_node().
Referenced by find_child(), find_node(), pugi::xml_named_node_iterator::operator++(), etiss::fault::xml::parse< std::vector< etiss::fault::Fault > >(), pugi::xml_document::reset(), and traverse().
Definition at line 4703 of file pugixml.cpp.
References _root, pugi::xml_node_struct::next_sibling, strequal(), and xml_node().
Definition at line 5452 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(), pugi::xml_node_struct::value, xml_memory_page_name_allocated_mask, and xml_memory_page_value_allocated_mask.
PUGI__FN pugi::xml_node::operator xml_node::unspecified_bool_type | ( | ) | const |
Definition at line 4583 of file pugixml.cpp.
References _root, and pugi::unspecified_bool_xml_node().
Definition at line 4588 of file pugixml.cpp.
References _root.
PUGI__FN bool pugi::xml_node::operator!= | ( | const xml_node & | r | ) | const |
Definition at line 4634 of file pugixml.cpp.
References _root.
Definition at line 4639 of file pugixml.cpp.
References _root.
Definition at line 4649 of file pugixml.cpp.
References _root.
Definition at line 4629 of file pugixml.cpp.
References _root.
Definition at line 4644 of file pugixml.cpp.
References _root.
Definition at line 4654 of file pugixml.cpp.
References _root.
Definition at line 4749 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 5291 of file pugixml.cpp.
References name(), and parent().
PUGI__FN xml_attribute pugi::xml_node::prepend_attribute | ( | const char_t * | name | ) |
Definition at line 4848 of file pugixml.cpp.
References pugi::xml_attribute::_attr, _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 5091 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 4996 of file pugixml.cpp.
References _root, allocate_node(), allow_insert_child(), pugi::xml_node_struct::first_child, get_allocator(), 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().
PUGI__FN xml_attribute pugi::xml_node::prepend_copy | ( | const xml_attribute & | proto | ) |
Definition at line 4950 of file pugixml.cpp.
References pugi::xml_attribute::name(), prepend_attribute(), pugi::xml_attribute::set_value(), and pugi::xml_attribute::value().
Definition at line 5128 of file pugixml.cpp.
References prepend_child(), recursive_copy_skip(), and type().
Definition at line 4738 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--(), and pugi::xml_named_node_iterator::operator--().
Definition at line 4726 of file pugixml.cpp.
References _root, pugi::xml_node_struct::next_sibling, pugi::xml_node_struct::prev_sibling_c, strequal(), and xml_node().
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 |
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 |
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 5423 of file pugixml.cpp.
References _root, etiss::interfaces::depth(), node_output(), and get_metrics::writer.
Definition at line 5158 of file pugixml.cpp.
References attribute(), and remove_attribute().
PUGI__FN bool pugi::xml_node::remove_attribute | ( | const xml_attribute & | a | ) |
Definition at line 5163 of file pugixml.cpp.
References pugi::xml_attribute::_attr, _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().
Definition at line 5192 of file pugixml.cpp.
References child(), and remove_child().
Definition at line 5197 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().
Definition at line 4754 of file pugixml.cpp.
References _root, pugi::xml_node_struct::header, xml_memory_page_pointer_mask, and xml_node().
Referenced by append_buffer(), first_element_by_path(), and offset_debug().
PUGI__FN xpath_node_set pugi::xml_node::select_nodes | ( | const char_t * | query, |
xpath_variable_set * | variables = 0 |
||
) | const |
Definition at line 11156 of file pugixml.cpp.
PUGI__FN xpath_node_set pugi::xml_node::select_nodes | ( | const xpath_query & | query | ) | const |
Definition at line 11162 of file pugixml.cpp.
References pugi::xpath_query::evaluate_node_set().
PUGI__FN xpath_node pugi::xml_node::select_single_node | ( | const char_t * | query, |
xpath_variable_set * | variables = 0 |
||
) | const |
Definition at line 11144 of file pugixml.cpp.
PUGI__FN xpath_node pugi::xml_node::select_single_node | ( | const xpath_query & | query | ) | const |
Definition at line 11150 of file pugixml.cpp.
References pugi::xpath_query::evaluate_node_set(), and s.
Definition at line 4807 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(), type(), and xml_memory_page_name_allocated_mask.
Referenced by append_child(), insert_child_after(), insert_child_before(), and prepend_child().
Definition at line 4821 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(), pugi::xml_node_struct::value, and xml_memory_page_value_allocated_mask.
Definition at line 4765 of file pugixml.cpp.
References _root.
PUGI__FN bool pugi::xml_node::traverse | ( | xml_tree_walker & | walker | ) |
Definition at line 5365 of file pugixml.cpp.
References pugi::xml_tree_walker::_depth, 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 4669 of file pugixml.cpp.
References _root, pugi::xml_node_struct::header, pugi::node_null, and xml_memory_page_type_mask.
Referenced by append_attribute(), append_buffer(), 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().
Definition at line 4674 of file pugixml.cpp.
References _root, PUGIXML_TEXT, and pugi::xml_node_struct::value.
|
friend |
Definition at line 398 of file pugixml.hpp.
|
friend |
Definition at line 400 of file pugixml.hpp.
Referenced by children().
|
friend |
Definition at line 399 of file pugixml.hpp.
|
protected |
Definition at line 403 of file pugixml.hpp.
Referenced by append_attribute(), append_buffer(), append_child(), attribute(), attributes_begin(), attributes_end(), begin(), child(), child_value(), children(), pugi::xml_document::create(), pugi::xml_document::destroy(), 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(), pugi::xml_document::load_buffer(), pugi::xml_document::load_buffer_inplace(), pugi::xml_document::load_buffer_inplace_own(), name(), next_sibling(), offset_debug(), operator unspecified_bool_type(), operator!(), pugi::xml_attribute_iterator::operator!=(), pugi::xml_named_node_iterator::operator!=(), operator!=(), pugi::xml_node_iterator::operator!=(), pugi::xml_node_iterator::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_named_node_iterator::operator--(), pugi::xml_node_iterator::operator->(), pugi::xml_named_node_iterator::operator->(), operator<(), operator<=(), pugi::xml_attribute_iterator::operator==(), pugi::xml_named_node_iterator::operator==(), operator==(), pugi::xml_node_iterator::operator==(), operator>(), operator>=(), parent(), prepend_attribute(), prepend_child(), previous_sibling(), print(), remove_attribute(), remove_child(), root(), set_name(), set_value(), text(), type(), and value().