#include <pugixml.hpp>
Private Member Functions | |
void | _create () |
void | _destroy () |
void | _move (xml_document &rhs) PUGIXML_NOEXCEPT_IF_NOT_COMPACT |
xml_document & | operator= (const xml_document &) |
xml_document (const xml_document &) | |
Private Attributes | |
char_t * | _buffer |
char | _memory [192] |
Additional Inherited Members | |
Public Types inherited from pugi::xml_node | |
typedef xml_attribute_iterator | attribute_iterator |
typedef xml_node_iterator | iterator |
Protected Types inherited from pugi::xml_node | |
typedef void(* | unspecified_bool_type) (xml_node ***) |
Protected Attributes inherited from pugi::xml_node | |
xml_node_struct * | _root |
Definition at line 996 of file pugixml.hpp.
|
private |
PUGI__FN pugi::xml_document::xml_document | ( | ) |
Definition at line 6843 of file pugixml.cpp.
References _create().
Referenced by ~xml_document().
PUGI__FN pugi::xml_document::~xml_document | ( | ) |
Definition at line 6848 of file pugixml.cpp.
References _buffer, _create(), _destroy(), _move(), operator=(), PUGI__FN, PUGIXML_NOEXCEPT_IF_NOT_COMPACT, and xml_document().
|
private |
Definition at line 6886 of file pugixml.cpp.
References _memory, pugi::xml_node::_root, pugi::xml_node_struct::prev_sibling_c, PUGI__STATIC_ASSERT, and xml_memory_page_size.
Referenced by reset(), xml_document(), and ~xml_document().
|
private |
Definition at line 6929 of file pugixml.cpp.
References _buffer, _memory, _move(), pugi::xml_node::_root, pugi::xml_node_struct::first_child, pugi::xml_node_struct::next_sibling, PUGI__FN, PUGI__GETPAGE, and PUGIXML_NOEXCEPT_IF_NOT_COMPACT.
Referenced by reset(), and ~xml_document().
|
private |
Definition at line 7209 of file pugixml.cpp.
References pugi::xml_node::_root, pugi::xml_node_struct::first_child, pugi::xml_node_struct::next_sibling, pugi::node_element, PUGI__NODETYPE, and pugi::xml_node::xml_node().
PUGI__FN xml_parse_result pugi::xml_document::load | ( | std::basic_istream< char, std::char_traits< char > > & | stream, |
unsigned int | options = parse_default , |
||
xml_encoding | encoding = encoding_auto |
||
) |
Definition at line 7076 of file pugixml.cpp.
References _buffer, pugi::xml_node::_root, load_stream_impl(), and reset().
PUGI__FN xml_parse_result pugi::xml_document::load | ( | std::basic_istream< wchar_t, std::char_traits< wchar_t > > & | stream, |
unsigned int | options = parse_default |
||
) |
Definition at line 7083 of file pugixml.cpp.
References _buffer, pugi::xml_node::_root, pugi::encoding_wchar, load_stream_impl(), and reset().
PUGI__FN xml_parse_result pugi::xml_document::load | ( | const char_t * | contents, |
unsigned int | options = parse_default |
||
) |
Definition at line 7103 of file pugixml.cpp.
References load_string().
PUGI__FN xml_parse_result pugi::xml_document::load_buffer | ( | const void * | contents, |
size_t | size, | ||
unsigned int | options = parse_default , |
||
xml_encoding | encoding = encoding_auto |
||
) |
Definition at line 7128 of file pugixml.cpp.
References _buffer, pugi::xml_node::_root, load_buffer_impl(), and reset().
Referenced by load_string().
PUGI__FN xml_parse_result pugi::xml_document::load_buffer_inplace | ( | void * | contents, |
size_t | size, | ||
unsigned int | options = parse_default , |
||
xml_encoding | encoding = encoding_auto |
||
) |
Definition at line 7135 of file pugixml.cpp.
References _buffer, pugi::xml_node::_root, load_buffer_impl(), and reset().
PUGI__FN xml_parse_result pugi::xml_document::load_buffer_inplace_own | ( | void * | contents, |
size_t | size, | ||
unsigned int | options = parse_default , |
||
xml_encoding | encoding = encoding_auto |
||
) |
Definition at line 7142 of file pugixml.cpp.
References _buffer, pugi::xml_node::_root, load_buffer_impl(), and reset().
PUGI__FN xml_parse_result pugi::xml_document::load_file | ( | const char * | path, |
unsigned int | options = parse_default , |
||
xml_encoding | encoding = encoding_auto |
||
) |
Definition at line 7108 of file pugixml.cpp.
References _buffer, pugi::xml_node::_root, close_file(), auto_deleter< T >::data, load_file_impl(), and reset().
Referenced by TEST().
PUGI__FN xml_parse_result pugi::xml_document::load_file | ( | const wchar_t * | path, |
unsigned int | options = parse_default , |
||
xml_encoding | encoding = encoding_auto |
||
) |
Definition at line 7118 of file pugixml.cpp.
References _buffer, pugi::xml_node::_root, close_file(), auto_deleter< T >::data, load_file_impl(), open_file_wide(), and reset().
PUGI__FN xml_parse_result pugi::xml_document::load_string | ( | const char_t * | contents, |
unsigned int | options = parse_default |
||
) |
Definition at line 7091 of file pugixml.cpp.
References pugi::encoding_utf8, pugi::encoding_wchar, load_buffer(), and strlength().
Referenced by carla::opendrive::OpenDriveParser::Load(), and load().
|
private |
PUGI__FN void pugi::xml_document::reset | ( | ) |
Definition at line 6872 of file pugixml.cpp.
References _create(), and _destroy().
Referenced by load(), load_buffer(), load_buffer_inplace(), load_buffer_inplace_own(), load_file(), and reset().
PUGI__FN void pugi::xml_document::reset | ( | const xml_document & | proto | ) |
Definition at line 6878 of file pugixml.cpp.
References pugi::xml_node::append_copy(), pugi::xml_node::first_child(), pugi::xml_node::next_sibling(), and reset().
PUGI__FN void pugi::xml_document::save | ( | xml_writer & | writer, |
const char_t * | indent = PUGIXML_TEXT("\t") , |
||
unsigned int | flags = format_default , |
||
xml_encoding | encoding = encoding_auto |
||
) | const |
Definition at line 7149 of file pugixml.cpp.
References pugi::xml_node::_root, pugi::encoding_latin1, pugi::format_no_declaration, pugi::format_raw, pugi::format_write_bom, has_declaration(), node_output(), and PUGIXML_TEXT.
Referenced by save().
PUGI__FN void pugi::xml_document::save | ( | std::basic_ostream< char, std::char_traits< char > > & | stream, |
const char_t * | indent = PUGIXML_TEXT("\t") , |
||
unsigned int | flags = format_default , |
||
xml_encoding | encoding = encoding_auto |
||
) | const |
Definition at line 7178 of file pugixml.cpp.
References save().
PUGI__FN void pugi::xml_document::save | ( | std::basic_ostream< wchar_t, std::char_traits< wchar_t > > & | stream, |
const char_t * | indent = PUGIXML_TEXT("\t") , |
||
unsigned int | flags = format_default |
||
) | const |
Definition at line 7185 of file pugixml.cpp.
References pugi::encoding_wchar, and save().
PUGI__FN bool pugi::xml_document::save_file | ( | const char * | path, |
const char_t * | indent = PUGIXML_TEXT("\t") , |
||
unsigned int | flags = format_default , |
||
xml_encoding | encoding = encoding_auto |
||
) | const |
Definition at line 7193 of file pugixml.cpp.
References close_file(), auto_deleter< T >::data, pugi::format_save_file_text, and save_file_impl().
PUGI__FN bool pugi::xml_document::save_file | ( | const wchar_t * | path, |
const char_t * | indent = PUGIXML_TEXT("\t") , |
||
unsigned int | flags = format_default , |
||
xml_encoding | encoding = encoding_auto |
||
) | const |
Definition at line 7201 of file pugixml.cpp.
References close_file(), auto_deleter< T >::data, pugi::format_save_file_text, open_file_wide(), and save_file_impl().
|
private |
Definition at line 999 of file pugixml.hpp.
Referenced by _destroy(), xpath_string::c_str(), xpath_string::data(), load(), load_buffer(), load_buffer_inplace(), load_buffer_inplace_own(), load_file(), and ~xml_document().
|
private |
Definition at line 1001 of file pugixml.hpp.
Referenced by _create(), and _destroy().