|
CARLA
|
#include <pugixml.hpp>
Inheritance diagram for pugi::xml_node:Public Types | |
| typedef xml_attribute_iterator | attribute_iterator |
| typedef xml_node_iterator | iterator |
Protected Types | |
| typedef void(* | unspecified_bool_type) (xml_node ***) |
Protected Attributes | |
| xml_node_struct * | _root |
Friends | |
| class | xml_attribute_iterator |
| class | xml_named_node_iterator |
| class | xml_node_iterator |
Definition at line 450 of file pugixml.hpp.
Definition at line 678 of file pugixml.hpp.
Definition at line 672 of file pugixml.hpp.
|
protected |
Definition at line 459 of file pugixml.hpp.
| PUGI__FN pugi::xml_node::xml_node | ( | ) |
Definition at line 5383 of file pugixml.cpp.
Referenced by append_child(), append_copy(), append_move(), child(), pugi::xml_document::document_element(), find_child_by_attribute(), find_child_by_attribute(), first_child(), first_element_by_path(), insert_child_after(), insert_child_before(), insert_copy_after(), insert_copy_before(), insert_move_after(), insert_move_before(), last_child(), next_sibling(), next_sibling(), parent(), prepend_child(), prepend_copy(), prepend_move(), previous_sibling(), previous_sibling(), and root().
|
explicit |
Definition at line 5387 of file pugixml.cpp.
| PUGI__FN xml_attribute pugi::xml_node::append_attribute | ( | const char_t * | name | ) |
Definition at line 5652 of file pugixml.cpp.
References pugi::xml_attribute::_attr, _root, pugi::xml_attribute::set_name(), and type().
Referenced by twinmodel::ExportXodr().
| 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 6073 of file pugixml.cpp.
References _root, pugi::node_element, pugi::status_append_invalid_root, pugi::status_out_of_memory, and type().
Definition at line 5862 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 5792 of file pugixml.cpp.
References _root, pugi::node_declaration, PUGIXML_TEXT, set_name(), type(), and xml_node().
Referenced by append_child(), twinmodel::ExportXodr(), TEST(), TEST(), TEST(), TEST(), TEST(), and TEST().
| PUGI__FN xml_attribute pugi::xml_node::append_copy | ( | const xml_attribute & | proto | ) |
Definition at line 5722 of file pugixml.cpp.
References pugi::xml_attribute::_attr, _root, and type().
Referenced by pugi::xml_document::reset().
Definition at line 5898 of file pugixml.cpp.
References _root, type(), and xml_node().
Definition at line 5968 of file pugixml.cpp.
References _root, and xml_node().
| PUGI__FN xml_attribute pugi::xml_node::attribute | ( | const char_t * | name | ) | const |
Definition at line 5500 of file pugixml.cpp.
References _root, and pugi::xml_node_struct::first_attribute.
Referenced by carla::opendrive::parser::ControllerParser::Parse(), carla::opendrive::parser::LaneParser::Parse(), carla::opendrive::parser::ObjectParser::Parse(), carla::opendrive::parser::RoadParser::Parse(), carla::opendrive::parser::SignalParser::Parse(), carla::opendrive::parser::ParseLanes(), twinmodel::ParseOsmXml(), remove_attribute(), test_geometry(), and test_road_elevation().
| PUGI__FN xml_attribute pugi::xml_node::attribute | ( | const char_t * | name, |
| xml_attribute & | hint | ||
| ) | const |
Definition at line 5536 of file pugixml.cpp.
References pugi::xml_attribute::_attr, _root, pugi::xml_node_struct::first_attribute, and pugi::xml_attribute_struct::next_attribute.
| PUGI__FN xml_object_range< xml_attribute_iterator > pugi::xml_node::attributes | ( | ) | const |
Definition at line 5435 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 5415 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 |
| PUGI__FN xml_node::iterator pugi::xml_node::begin | ( | ) | const |
Definition at line 5405 of file pugixml.cpp.
References _root, and pugi::xml_node_struct::first_child.
Referenced by children().
Definition at line 5490 of file pugixml.cpp.
References _root, pugi::xml_node_struct::first_child, and xml_node().
Referenced by carla::opendrive::parser::AddValidity(), child_value(), children(), carla::opendrive::parser::ControllerParser::Parse(), carla::opendrive::parser::GeometryParser::Parse(), carla::opendrive::parser::JunctionParser::Parse(), carla::opendrive::parser::LaneParser::Parse(), carla::opendrive::parser::ObjectParser::Parse(), carla::opendrive::parser::ProfilesParser::Parse(), carla::opendrive::parser::RoadParser::Parse(), carla::opendrive::parser::SignalParser::Parse(), carla::opendrive::parser::ParseLanes(), twinmodel::ParseOsmXml(), remove_child(), test_geometry(), test_junctions(), test_road_elevation(), and test_roads().
Definition at line 5592 of file pugixml.cpp.
References _root, pugi::xml_node_struct::first_child, pugi::node_element, PUGI__NODETYPE, PUGIXML_TEXT, and pugi::xml_node_struct::value.
Referenced by child_value().
Definition at line 5607 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 5425 of file pugixml.cpp.
References begin(), and end().
Referenced by carla::opendrive::parser::GeometryParser::Parse(), carla::opendrive::parser::JunctionParser::Parse(), carla::opendrive::parser::LaneParser::Parse(), carla::opendrive::parser::ObjectParser::Parse(), carla::opendrive::parser::ProfilesParser::Parse(), carla::opendrive::parser::RoadParser::Parse(), carla::opendrive::parser::SignalParser::Parse(), carla::opendrive::parser::ParseLanes(), test_geometry(), test_junctions(), test_road_elevation(), and test_roads().
| PUGI__FN xml_object_range< xml_named_node_iterator > pugi::xml_node::children | ( | const char_t * | name | ) | const |
Definition at line 5430 of file pugixml.cpp.
References _root, child(), and xml_named_node_iterator.
| PUGI__FN bool pugi::xml_node::empty | ( | ) | const |
Definition at line 5470 of file pugixml.cpp.
References _root.
| PUGI__FN xml_node::iterator pugi::xml_node::end | ( | ) | const |
|
inline |
Definition at line 585 of file pugixml.hpp.
References pugi::xml_attribute::next_attribute().
|
inline |
Definition at line 597 of file pugixml.hpp.
References next_sibling(), and node.
| 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 6123 of file pugixml.cpp.
References _root, pugi::xml_node_struct::first_child, PUGIXML_TEXT, 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 6108 of file pugixml.cpp.
References _root, pugi::xml_node_struct::first_child, PUGIXML_TEXT, and xml_node().
|
inline |
Definition at line 609 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 5612 of file pugixml.cpp.
References _root, and pugi::xml_node_struct::first_attribute.
Definition at line 5622 of file pugixml.cpp.
References _root, pugi::xml_node_struct::first_child, and xml_node().
Referenced by find_node(), carla::opendrive::parser::GeometryParser::Parse(), and pugi::xml_document::reset().
| PUGI__FN xml_node pugi::xml_node::first_element_by_path | ( | const char_t * | path, |
| char_t | delimiter = '/' |
||
| ) | const |
Definition at line 6171 of file pugixml.cpp.
References _root, pugi::xml_node_struct::first_child, first_element_by_path(), parent(), root(), and xml_node().
Referenced by first_element_by_path().
| PUGI__FN size_t pugi::xml_node::hash_value | ( | ) | const |
Definition at line 6265 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 5686 of file pugixml.cpp.
References pugi::xml_attribute::_attr, _root, pugi::xml_attribute::set_name(), and type().
| PUGI__FN xml_attribute pugi::xml_node::insert_attribute_before | ( | const char_t * | name, |
| const xml_attribute & | attr | ||
| ) |
Definition at line 5704 of file pugixml.cpp.
References pugi::xml_attribute::_attr, _root, pugi::xml_attribute::set_name(), and type().
Definition at line 5880 of file pugixml.cpp.
References insert_child_after(), node, 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 5844 of file pugixml.cpp.
References _root, node, pugi::node_declaration, pugi::xml_node_struct::parent, PUGIXML_TEXT, set_name(), type(), and xml_node().
Referenced by insert_child_after(), and TEST().
| PUGI__FN xml_node pugi::xml_node::insert_child_before | ( | const char_t * | name, |
| const xml_node & | node | ||
| ) |
Definition at line 5889 of file pugixml.cpp.
References insert_child_before(), node, 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 5826 of file pugixml.cpp.
References _root, node, pugi::node_declaration, pugi::xml_node_struct::parent, PUGIXML_TEXT, set_name(), type(), and xml_node().
Referenced by insert_child_before(), and TEST().
| PUGI__FN xml_attribute pugi::xml_node::insert_copy_after | ( | const xml_attribute & | proto, |
| const xml_attribute & | attr | ||
| ) |
Definition at line 5756 of file pugixml.cpp.
References pugi::xml_attribute::_attr, _root, and type().
Referenced by TEST().
| PUGI__FN xml_node pugi::xml_node::insert_copy_after | ( | const xml_node & | proto, |
| const xml_node & | node | ||
| ) |
Definition at line 5932 of file pugixml.cpp.
References _root, node, pugi::xml_node_struct::parent, type(), and xml_node().
| PUGI__FN xml_attribute pugi::xml_node::insert_copy_before | ( | const xml_attribute & | proto, |
| const xml_attribute & | attr | ||
| ) |
Definition at line 5774 of file pugixml.cpp.
References pugi::xml_attribute::_attr, _root, and type().
Referenced by TEST().
| PUGI__FN xml_node pugi::xml_node::insert_copy_before | ( | const xml_node & | proto, |
| const xml_node & | node | ||
| ) |
Definition at line 5950 of file pugixml.cpp.
References _root, node, pugi::xml_node_struct::parent, type(), and xml_node().
| PUGI__FN xml_node pugi::xml_node::insert_move_after | ( | const xml_node & | moved, |
| const xml_node & | node | ||
| ) |
Definition at line 6000 of file pugixml.cpp.
References _root, node, pugi::xml_node_struct::parent, and xml_node().
Referenced by TEST().
| PUGI__FN xml_node pugi::xml_node::insert_move_before | ( | const xml_node & | moved, |
| const xml_node & | node | ||
| ) |
Definition at line 6018 of file pugixml.cpp.
References _root, node, pugi::xml_node_struct::parent, and xml_node().
Referenced by TEST().
| PUGI__FN xml_node_struct * pugi::xml_node::internal_object | ( | ) | const |
Definition at line 6270 of file pugixml.cpp.
References _root.
| PUGI__FN xml_attribute pugi::xml_node::last_attribute | ( | ) | const |
Definition at line 5617 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 5627 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 5475 of file pugixml.cpp.
References _root, pugi::xml_node_struct::name, and PUGIXML_TEXT.
Referenced by pugi::xml_named_node_iterator::operator--().
Definition at line 5521 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++(), and twinmodel::ParseOsmXml().
Definition at line 5511 of file pugixml.cpp.
References _root, pugi::xml_node_struct::next_sibling, and xml_node().
| PUGI__FN ptrdiff_t pugi::xml_node::offset_debug | ( | ) | const |
Definition at line 6302 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, type(), and pugi::xml_node_struct::value.
| PUGI__FN pugi::xml_node::operator xml_node::unspecified_bool_type | ( | ) | const |
Definition at line 5395 of file pugixml.cpp.
References _root, and pugi::unspecified_bool_xml_node().
| PUGI__FN bool pugi::xml_node::operator! | ( | ) | const |
Definition at line 5400 of file pugixml.cpp.
References _root.
| PUGI__FN bool pugi::xml_node::operator!= | ( | const xml_node & | r | ) | const |
Definition at line 5445 of file pugixml.cpp.
References _root.
Definition at line 5450 of file pugixml.cpp.
References _root.
Definition at line 5460 of file pugixml.cpp.
References _root.
Definition at line 5440 of file pugixml.cpp.
References _root.
Definition at line 5455 of file pugixml.cpp.
References _root.
Definition at line 5465 of file pugixml.cpp.
References _root.
Definition at line 5577 of file pugixml.cpp.
References _root, pugi::xml_node_struct::parent, and xml_node().
Referenced by find_node(), first_element_by_path(), and pugi::xpath_node::parent().
Definition at line 6136 of file pugixml.cpp.
References _root, and pugi::xml_node_struct::parent.
| PUGI__FN xml_attribute pugi::xml_node::prepend_attribute | ( | const char_t * | name | ) |
Definition at line 5669 of file pugixml.cpp.
References pugi::xml_attribute::_attr, _root, pugi::xml_attribute::set_name(), and type().
Definition at line 5871 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 5809 of file pugixml.cpp.
References _root, pugi::node_declaration, PUGIXML_TEXT, set_name(), type(), and xml_node().
Referenced by twinmodel::ExportXodr(), and prepend_child().
| PUGI__FN xml_attribute pugi::xml_node::prepend_copy | ( | const xml_attribute & | proto | ) |
Definition at line 5739 of file pugixml.cpp.
References pugi::xml_attribute::_attr, _root, and type().
Definition at line 5915 of file pugixml.cpp.
References _root, type(), and xml_node().
Definition at line 5984 of file pugixml.cpp.
References _root, and xml_node().
Definition at line 5569 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 5526 of file pugixml.cpp.
References _root, pugi::xml_node_struct::prev_sibling_c, and xml_node().
| 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 6287 of file pugixml.cpp.
References print().
| 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 6294 of file pugixml.cpp.
References pugi::encoding_wchar, and 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 6036 of file pugixml.cpp.
References attribute(), and remove_attribute().
| PUGI__FN bool pugi::xml_node::remove_attribute | ( | const xml_attribute & | a | ) |
Definition at line 6041 of file pugixml.cpp.
References pugi::xml_attribute::_attr, and _root.
Referenced by remove_attribute().
Definition at line 6055 of file pugixml.cpp.
References child(), and remove_child().
Definition at line 6060 of file pugixml.cpp.
References _root, and pugi::xml_node_struct::parent.
Referenced by remove_child().
Definition at line 5582 of file pugixml.cpp.
References _root, and xml_node().
Referenced by first_element_by_path().
| PUGI__FN xpath_node pugi::xml_node::select_node | ( | const char_t * | query, |
| xpath_variable_set * | variables = 0 |
||
| ) | const |
Definition at line 12696 of file pugixml.cpp.
References pugi::xpath_query::evaluate_node().
| PUGI__FN xpath_node pugi::xml_node::select_node | ( | const xpath_query & | query | ) | const |
Definition at line 12702 of file pugixml.cpp.
References pugi::xpath_query::evaluate_node().
| PUGI__FN xpath_node_set pugi::xml_node::select_nodes | ( | const char_t * | query, |
| xpath_variable_set * | variables = 0 |
||
| ) | const |
Definition at line 12707 of file pugixml.cpp.
References pugi::xpath_query::evaluate_node_set().
| PUGI__FN xpath_node_set pugi::xml_node::select_nodes | ( | const xpath_query & | query | ) | const |
Definition at line 12713 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 12718 of file pugixml.cpp.
References pugi::xpath_query::evaluate_node().
| PUGI__FN xpath_node pugi::xml_node::select_single_node | ( | const xpath_query & | query | ) | const |
Definition at line 12724 of file pugixml.cpp.
References pugi::xpath_query::evaluate_node().
Definition at line 5632 of file pugixml.cpp.
References _root, pugi::xml_node_struct::header, pugi::xml_node_struct::name, pugi::node_declaration, pugi::node_element, pugi::node_null, pugi::node_pi, and PUGI__NODETYPE.
Referenced by append_child(), append_child(), insert_child_after(), insert_child_after(), insert_child_before(), insert_child_before(), prepend_child(), and prepend_child().
Definition at line 5642 of file pugixml.cpp.
References _root, pugi::xml_node_struct::header, pugi::node_cdata, pugi::node_comment, pugi::node_doctype, pugi::node_null, pugi::node_pcdata, pugi::node_pi, PUGI__NODETYPE, and pugi::xml_node_struct::value.
Referenced by twinmodel::ExportXodr().
Definition at line 5587 of file pugixml.cpp.
References _root.
| PUGI__FN bool pugi::xml_node::traverse | ( | xml_tree_walker & | walker | ) |
Definition at line 6218 of file pugixml.cpp.
References pugi::xml_tree_walker::_depth, _root, pugi::xml_tree_walker::begin(), pugi::xml_tree_walker::end(), pugi::xml_node_struct::first_child, pugi::xml_tree_walker::for_each(), pugi::xml_node_struct::next_sibling, and pugi::xml_node_struct::parent.
| PUGI__FN xml_node_type pugi::xml_node::type | ( | ) | const |
Definition at line 5480 of file pugixml.cpp.
References _root, pugi::node_null, and PUGI__NODETYPE.
Referenced by append_attribute(), append_buffer(), append_child(), append_copy(), append_copy(), insert_attribute_after(), insert_attribute_before(), insert_child_after(), insert_child_before(), insert_copy_after(), insert_copy_after(), insert_copy_before(), insert_copy_before(), offset_debug(), prepend_attribute(), prepend_child(), prepend_copy(), and prepend_copy().
Definition at line 5485 of file pugixml.cpp.
References _root, PUGIXML_TEXT, and pugi::xml_node_struct::value.
|
friend |
Definition at line 452 of file pugixml.hpp.
|
friend |
Definition at line 454 of file pugixml.hpp.
Referenced by children().
|
friend |
Definition at line 453 of file pugixml.hpp.
|
protected |
Definition at line 457 of file pugixml.hpp.
Referenced by pugi::xml_document::_create(), pugi::xml_document::_destroy(), append_attribute(), append_buffer(), append_child(), append_copy(), append_copy(), append_move(), attribute(), attribute(), attributes_begin(), attributes_end(), begin(), child(), child_value(), children(), pugi::xml_document::document_element(), empty(), end(), find_child_by_attribute(), 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(), insert_copy_after(), insert_copy_after(), insert_copy_before(), insert_copy_before(), insert_move_after(), insert_move_before(), internal_object(), last_attribute(), last_child(), pugi::xml_document::load(), pugi::xml_document::load(), pugi::xml_document::load_buffer(), pugi::xml_document::load_buffer_inplace(), pugi::xml_document::load_buffer_inplace_own(), pugi::xml_document::load_file(), pugi::xml_document::load_file(), name(), next_sibling(), 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(), path(), prepend_attribute(), prepend_child(), prepend_copy(), prepend_copy(), prepend_move(), previous_sibling(), previous_sibling(), print(), remove_attribute(), remove_child(), root(), pugi::xml_document::save(), set_name(), set_value(), text(), traverse(), type(), and value().