#include <_static/pugixml.hpp>
Private Member Functions | |
xml_document (const xml_document &) | |
xml_document & | operator= (const xml_document &) |
void | _create () |
void | _destroy () |
void | _move (xml_document &rhs) PUGIXML_NOEXCEPT_IF_NOT_COMPACT |
Private Attributes | |
char_t * | _buffer |
char | _memory [192] |
Additional Inherited Members | |
Public Types inherited from pugi::xml_node | |
typedef xml_node_iterator | iterator |
typedef xml_attribute_iterator | attribute_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 1000 of file pugixml.hpp.
|
private |
PUGI__FN pugi::xml_document::xml_document | ( | ) |
Definition at line 6850 of file pugixml.cpp.
References _create().
PUGI__FN pugi::xml_document::~xml_document | ( | ) |
Definition at line 6855 of file pugixml.cpp.
References _destroy().
|
private |
Definition at line 6893 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(), and xml_document().
|
private |
Definition at line 6936 of file pugixml.cpp.
References _buffer, _memory, pugi::xml_node::_root, xml_memory_page::next, and PUGI__GETPAGE.
Referenced by reset(), and ~xml_document().
|
private |
Definition at line 7216 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 | ( | const char_t * | contents, |
unsigned int | options = parse_default |
||
) |
Definition at line 7110 of file pugixml.cpp.
References load_string().
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 7083 of file pugixml.cpp.
References _buffer, pugi::xml_node::_root, load_stream_impl(), and reset().
Referenced by uhal::tests::AddressTableOverlapFixture::AddressTableOverlapFixture(), uhal::tests::BOOST_FIXTURE_TEST_CASE(), and uhal::tests::SimpleAddressTableFixture::SimpleAddressTableFixture().
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 7090 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_buffer | ( | const 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().
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 7142 of file pugixml.cpp.
References _buffer, pugi::xml_node::_root, load_buffer_impl(), and reset().
Referenced by uhal::NodeTreeBuilder::CallBack(), and uhal::ConnectionManager::CallBack().
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 7149 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 7115 of file pugixml.cpp.
References _buffer, pugi::xml_node::_root, close_file(), auto_deleter< T >::data, load_file_impl(), and reset().
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 7125 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 7098 of file pugixml.cpp.
References pugi::encoding_utf8, pugi::encoding_wchar, load_buffer(), and strlength().
Referenced by load().
|
private |
PUGI__FN void pugi::xml_document::reset | ( | ) |
Definition at line 6879 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 6885 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 | ( | 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 7185 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 7192 of file pugixml.cpp.
References pugi::encoding_wchar, and save().
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 7156 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 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 7200 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 7208 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 1003 of file pugixml.hpp.
Referenced by _destroy(), load(), load_buffer(), load_buffer_inplace(), load_buffer_inplace_own(), and load_file().
|
private |
Definition at line 1005 of file pugixml.hpp.
Referenced by _create(), and _destroy().