HDK
|
#include "pugixml.hpp"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <assert.h>
#include <limits.h>
#include <math.h>
#include <float.h>
#include <istream>
#include <ostream>
#include <string>
#include <new>
#include <stdint.h>
Go to the source code of this file.
Namespaces | |
pugi | |
Macros | |
#define | SOURCE_PUGIXML_CPP |
#define | PUGI__NO_INLINE |
#define | PUGI__UNLIKELY(cond) (cond) |
#define | PUGI__STATIC_ASSERT(cond) { static const char condition_failed[(cond) ? 1 : -1] = {0}; (void)condition_failed[0]; } |
#define | PUGI__DMC_VOLATILE |
#define | PUGI__UNSIGNED_OVERFLOW |
#define | PUGI__SNPRINTF sprintf |
#define | PUGI__NS_BEGIN OIIO_NAMESPACE_BEGIN namespace pugi { namespace impl { |
#define | PUGI__NS_END } } OIIO_NAMESPACE_END |
#define | PUGI__FN inline |
#define | PUGI__FN_NO_INLINE inline |
#define | PUGI__GETHEADER_IMPL(object, page, flags) (((reinterpret_cast<char*>(object) - reinterpret_cast<char*>(page)) << 8) | (flags)) |
#define | PUGI__GETPAGE_IMPL(header) static_cast<impl::xml_memory_page*>(const_cast<void*>(static_cast<const void*>(reinterpret_cast<const char*>(&header) - (header >> 8)))) |
#define | PUGI__GETPAGE(n) PUGI__GETPAGE_IMPL((n)->header) |
#define | PUGI__NODETYPE(n) static_cast<xml_node_type>((n)->header & impl::xml_memory_page_type_mask) |
#define | PUGI__IS_CHARTYPE_IMPL(c, ct, table) (table[static_cast<unsigned char>(c)] & (ct)) |
#define | PUGI__IS_CHARTYPE(c, ct) PUGI__IS_CHARTYPE_IMPL(c, ct, chartype_table) |
#define | PUGI__IS_CHARTYPEX(c, ct) PUGI__IS_CHARTYPE_IMPL(c, ct, chartypex_table) |
#define | PUGI__SCANCHAR(ch) { if (offset >= size || data[offset] != ch) return false; offset++; } |
#define | PUGI__SCANCHARTYPE(ct) { while (offset < size && PUGI__IS_CHARTYPE(data[offset], ct)) offset++; } |
#define | PUGI__ENDSWITH(c, e) ((c) == (e) || ((c) == 0 && endch == (e))) |
#define | PUGI__SKIPWS() { while (PUGI__IS_CHARTYPE(*s, ct_space)) ++s; } |
#define | PUGI__OPTSET(OPT) ( optmsk & (OPT) ) |
#define | PUGI__PUSHNODE(TYPE) { cursor = append_new_node(cursor, *alloc, TYPE); if (!cursor) PUGI__THROW_ERROR(status_out_of_memory, s); } |
#define | PUGI__POPNODE() { cursor = cursor->parent; } |
#define | PUGI__SCANFOR(X) { while (*s != 0 && !(X)) ++s; } |
#define | PUGI__SCANWHILE(X) { while (X) ++s; } |
#define | PUGI__SCANWHILE_UNROLL(X) { for (;;) { char_t ss = s[0]; if (PUGI__UNLIKELY(!(X))) { break; } ss = s[1]; if (PUGI__UNLIKELY(!(X))) { s += 1; break; } ss = s[2]; if (PUGI__UNLIKELY(!(X))) { s += 2; break; } ss = s[3]; if (PUGI__UNLIKELY(!(X))) { s += 3; break; } s += 4; } } |
#define | PUGI__ENDSEG() { ch = *s; *s = 0; ++s; } |
#define | PUGI__THROW_ERROR(err, m) return error_offset = m, error_status = err, static_cast<char_t*>(0) |
#define | PUGI__CHECK_ERROR(err, m) { if (*s == 0) PUGI__THROW_ERROR(err, m); } |
Typedefs | |
typedef xml_memory_management_function_storage < int > | xml_memory |
typedef wchar_selector< sizeof(wchar_t)> ::counter | wchar_counter |
typedef wchar_selector< sizeof(wchar_t)> ::writer | wchar_writer |
typedef char_t *(* | strconv_pcdata_t )(char_t *) |
typedef char_t *(* | strconv_attribute_t )(char_t *, char_t) |
Functions | |
PUGI__NS_BEGIN PUGI__FN void * | default_allocate (size_t size) |
PUGI__FN void | default_deallocate (void *ptr) |
PUGI__NS_END PUGI__NS_BEGIN PUGI__FN size_t | strlength (const char_t *s) |
PUGI__FN bool | strequal (const char_t *src, const char_t *dst) |
PUGI__FN bool | strequalrange (const char_t *lhs, const char_t *rhs, size_t count) |
PUGI__FN size_t | strlength_wide (const wchar_t *s) |
template<typename Object > | |
xml_allocator & | get_allocator (const Object *object) |
template<typename Object > | |
xml_document_struct & | get_document (const Object *object) |
PUGI__NS_END PUGI__NS_BEGIN xml_attribute_struct * | allocate_attribute (xml_allocator &alloc) |
xml_node_struct * | allocate_node (xml_allocator &alloc, xml_node_type type) |
void | destroy_attribute (xml_attribute_struct *a, xml_allocator &alloc) |
void | destroy_node (xml_node_struct *n, xml_allocator &alloc) |
void | append_node (xml_node_struct *child, xml_node_struct *node) |
void | prepend_node (xml_node_struct *child, xml_node_struct *node) |
void | insert_node_after (xml_node_struct *child, xml_node_struct *node) |
void | insert_node_before (xml_node_struct *child, xml_node_struct *node) |
void | remove_node (xml_node_struct *node) |
void | append_attribute (xml_attribute_struct *attr, xml_node_struct *node) |
void | prepend_attribute (xml_attribute_struct *attr, xml_node_struct *node) |
void | insert_attribute_after (xml_attribute_struct *attr, xml_attribute_struct *place, xml_node_struct *node) |
void | insert_attribute_before (xml_attribute_struct *attr, xml_attribute_struct *place, xml_node_struct *node) |
void | remove_attribute (xml_attribute_struct *attr, xml_node_struct *node) |
PUGI__FN_NO_INLINE xml_node_struct * | append_new_node (xml_node_struct *node, xml_allocator &alloc, xml_node_type type=node_element) |
PUGI__FN_NO_INLINE xml_attribute_struct * | append_new_attribute (xml_node_struct *node, xml_allocator &alloc) |
PUGI__NS_END PUGI__NS_BEGIN uint16_t | endian_swap (uint16_t value) |
uint32_t | endian_swap (uint32_t value) |
PUGI__FN bool | is_little_endian () |
PUGI__FN xml_encoding | get_wchar_encoding () |
PUGI__FN bool | parse_declaration_encoding (const uint8_t *data, size_t size, const uint8_t *&out_encoding, size_t &out_length) |
PUGI__FN xml_encoding | guess_buffer_encoding (const uint8_t *data, size_t size) |
PUGI__FN xml_encoding | get_buffer_encoding (xml_encoding encoding, const void *contents, size_t size) |
PUGI__FN bool | get_mutable_buffer (char_t *&out_buffer, size_t &out_length, const void *contents, size_t size, bool is_mutable) |
template<typename D > | |
PUGI__FN bool | convert_buffer_generic (char_t *&out_buffer, size_t &out_length, const void *contents, size_t size, D) |
PUGI__FN size_t | get_latin1_7bit_prefix_length (const uint8_t *data, size_t size) |
PUGI__FN bool | convert_buffer_latin1 (char_t *&out_buffer, size_t &out_length, const void *contents, size_t size, bool is_mutable) |
PUGI__FN bool | convert_buffer (char_t *&out_buffer, size_t &out_length, xml_encoding encoding, const void *contents, size_t size, bool is_mutable) |
PUGI__FN size_t | as_utf8_begin (const wchar_t *str, size_t length) |
PUGI__FN void | as_utf8_end (char *buffer, size_t size, const wchar_t *str, size_t length) |
PUGI__FN std::string | as_utf8_impl (const wchar_t *str, size_t length) |
PUGI__FN std::basic_string < wchar_t > | as_wide_impl (const char *str, size_t size) |
template<typename Header > | |
bool | strcpy_insitu_allow (size_t length, const Header &header, uintptr_t header_mask, char_t *target) |
template<typename String , typename Header > | |
PUGI__FN bool | strcpy_insitu (String &dest, Header &header, uintptr_t header_mask, const char_t *source, size_t source_length) |
PUGI__FN char_t * | strconv_escape (char_t *s, gap &g) |
PUGI__FN char_t * | strconv_comment (char_t *s, char_t endch) |
PUGI__FN char_t * | strconv_cdata (char_t *s, char_t endch) |
PUGI__FN strconv_pcdata_t | get_strconv_pcdata (unsigned int optmask) |
PUGI__FN strconv_attribute_t | get_strconv_attribute (unsigned int optmask) |
xml_parse_result | make_parse_result (xml_parse_status status, ptrdiff_t offset=0) |
PUGI__FN xml_encoding | get_write_native_encoding () |
PUGI__FN xml_encoding | get_write_encoding (xml_encoding encoding) |
template<typename D , typename T > | |
PUGI__FN size_t | convert_buffer_output_generic (typename T::value_type dest, const char_t *data, size_t length, D, T) |
template<typename D , typename T > | |
PUGI__FN size_t | convert_buffer_output_generic (typename T::value_type dest, const char_t *data, size_t length, D, T, bool opt_swap) |
PUGI__FN size_t | get_valid_length (const char_t *data, size_t length) |
PUGI__FN size_t | convert_buffer_output (char_t *, uint8_t *r_u8, uint16_t *r_u16, uint32_t *r_u32, const char_t *data, size_t length, xml_encoding encoding) |
PUGI__FN void | text_output_escaped (xml_buffered_writer &writer, const char_t *s, chartypex_t type, unsigned int flags) |
PUGI__FN void | text_output (xml_buffered_writer &writer, const char_t *s, chartypex_t type, unsigned int flags) |
PUGI__FN void | text_output_cdata (xml_buffered_writer &writer, const char_t *s) |
PUGI__FN void | text_output_indent (xml_buffered_writer &writer, const char_t *indent, size_t indent_length, unsigned int depth) |
PUGI__FN void | node_output_comment (xml_buffered_writer &writer, const char_t *s) |
PUGI__FN void | node_output_pi_value (xml_buffered_writer &writer, const char_t *s) |
PUGI__FN void | node_output_attributes (xml_buffered_writer &writer, xml_node_struct *node, const char_t *indent, size_t indent_length, unsigned int flags, unsigned int depth) |
PUGI__FN bool | node_output_start (xml_buffered_writer &writer, xml_node_struct *node, const char_t *indent, size_t indent_length, unsigned int flags, unsigned int depth) |
PUGI__FN void | node_output_end (xml_buffered_writer &writer, xml_node_struct *node) |
PUGI__FN void | node_output_simple (xml_buffered_writer &writer, xml_node_struct *node, unsigned int flags) |
PUGI__FN void | node_output (xml_buffered_writer &writer, xml_node_struct *root, const char_t *indent, unsigned int flags, unsigned int depth) |
PUGI__FN bool | has_declaration (xml_node_struct *node) |
PUGI__FN bool | is_attribute_of (xml_attribute_struct *attr, xml_node_struct *node) |
PUGI__FN bool | allow_insert_attribute (xml_node_type parent) |
PUGI__FN bool | allow_insert_child (xml_node_type parent, xml_node_type child) |
PUGI__FN bool | allow_move (xml_node parent, xml_node child) |
template<typename String , typename Header > | |
PUGI__FN void | node_copy_string (String &dest, Header &header, uintptr_t header_mask, char_t *source, Header &source_header, xml_allocator *alloc) |
PUGI__FN void | node_copy_contents (xml_node_struct *dn, xml_node_struct *sn, xml_allocator *shared_alloc) |
PUGI__FN void | node_copy_tree (xml_node_struct *dn, xml_node_struct *sn) |
PUGI__FN void | node_copy_attribute (xml_attribute_struct *da, xml_attribute_struct *sa) |
bool | is_text_node (xml_node_struct *node) |
template<typename U > | |
PUGI__FN PUGI__UNSIGNED_OVERFLOW U | string_to_integer (const char_t *value, U minv, U maxv) |
PUGI__FN int | get_value_int (const char_t *value) |
PUGI__FN unsigned int | get_value_uint (const char_t *value) |
PUGI__FN double | get_value_double (const char_t *value) |
PUGI__FN float | get_value_float (const char_t *value) |
PUGI__FN bool | get_value_bool (const char_t *value) |
template<typename U > | |
PUGI__FN PUGI__UNSIGNED_OVERFLOW char_t * | integer_to_string (char_t *begin, char_t *end, U value, bool negative) |
template<typename String , typename Header > | |
PUGI__FN bool | set_value_ascii (String &dest, Header &header, uintptr_t header_mask, char *buf) |
template<typename U , typename String , typename Header > | |
PUGI__FN bool | set_value_integer (String &dest, Header &header, uintptr_t header_mask, U value, bool negative) |
template<typename String , typename Header > | |
PUGI__FN bool | set_value_convert (String &dest, Header &header, uintptr_t header_mask, float value, int precision) |
template<typename String , typename Header > | |
PUGI__FN bool | set_value_convert (String &dest, Header &header, uintptr_t header_mask, double value, int precision) |
template<typename String , typename Header > | |
PUGI__FN bool | set_value_bool (String &dest, Header &header, uintptr_t header_mask, bool value) |
PUGI__FN xml_parse_result | load_buffer_impl (xml_document_struct *doc, xml_node_struct *root, void *contents, size_t size, unsigned int options, xml_encoding encoding, bool is_mutable, bool own, char_t **out_buffer) |
PUGI__FN xml_parse_status | get_file_size (FILE *file, size_t &out_result) |
PUGI__FN size_t | zero_terminate_buffer (void *buffer, size_t size, xml_encoding encoding) |
PUGI__FN xml_parse_result | load_file_impl (xml_document_struct *doc, FILE *file, unsigned int options, xml_encoding encoding, char_t **out_buffer) |
PUGI__FN void | close_file (FILE *file) |
template<typename T > | |
PUGI__FN xml_parse_status | load_stream_data_noseek (std::basic_istream< T > &stream, void **out_buffer, size_t *out_size) |
template<typename T > | |
PUGI__FN xml_parse_status | load_stream_data_seek (std::basic_istream< T > &stream, void **out_buffer, size_t *out_size) |
template<typename T > | |
PUGI__FN xml_parse_result | load_stream_impl (xml_document_struct *doc, std::basic_istream< T > &stream, unsigned int options, xml_encoding encoding, char_t **out_buffer) |
PUGI__FN char * | convert_path_heap (const wchar_t *str) |
PUGI__FN FILE * | open_file_wide (const wchar_t *path, const wchar_t *mode) |
PUGI__FN FILE * | open_file (const char *path, const char *mode) |
PUGI__FN bool | save_file_impl (const xml_document &doc, FILE *file, const char_t *indent, unsigned int flags, xml_encoding encoding) |
PUGI__FN std::string PUGIXML_FUNCTION | as_utf8 (const wchar_t *str) |
PUGI__FN std::string PUGIXML_FUNCTION | as_utf8 (const std::basic_string< wchar_t > &str) |
PUGI__FN std::basic_string < wchar_t > PUGIXML_FUNCTION | as_wide (const char *str) |
PUGI__FN std::basic_string < wchar_t > PUGIXML_FUNCTION | as_wide (const std::string &str) |
PUGI__FN void PUGIXML_FUNCTION | set_memory_management_functions (allocation_function allocate, deallocation_function deallocate) |
PUGI__FN allocation_function PUGIXML_FUNCTION | get_memory_allocation_function () |
PUGI__FN deallocation_function PUGIXML_FUNCTION | get_memory_deallocation_function () |
template<typename T > | |
void | swap (T &lhs, T &rhs) |
template<typename I , typename Pred > | |
PUGI__FN I | min_element (I begin, I end, const Pred &pred) |
template<typename I > | |
PUGI__FN void | reverse (I begin, I end) |
template<typename I > | |
PUGI__FN I | unique (I begin, I end) |
template<typename T , typename Pred > | |
PUGI__FN void | insertion_sort (T *begin, T *end, const Pred &pred) |
template<typename I , typename Pred > | |
I | median3 (I first, I middle, I last, const Pred &pred) |
template<typename T , typename Pred > | |
PUGI__FN void | partition3 (T *begin, T *end, T pivot, const Pred &pred, T **out_eqbeg, T **out_eqend) |
template<typename I , typename Pred > | |
PUGI__FN void | sort (I begin, I end, const Pred &pred) |
PUGI__FN bool | hash_insert (const void **table, size_t size, const void *key) |
PUGI__NS_END PUGI__NS_BEGIN PUGI__FN bool | starts_with (const char_t *string, const char_t *pattern) |
PUGI__FN const char_t * | find_char (const char_t *s, char_t c) |
PUGI__FN const char_t * | find_substring (const char_t *s, const char_t *p) |
PUGI__FN char_t | tolower_ascii (char_t ch) |
PUGI__FN xpath_string | string_value (const xpath_node &na, xpath_allocator *alloc) |
PUGI__FN bool | node_is_before_sibling (xml_node_struct *ln, xml_node_struct *rn) |
PUGI__FN bool | node_is_before (xml_node_struct *ln, xml_node_struct *rn) |
PUGI__FN bool | node_is_ancestor (xml_node_struct *parent, xml_node_struct *node) |
PUGI__FN const void * | document_buffer_order (const xpath_node &xnode) |
PUGI__FN double | gen_nan () |
PUGI__FN bool | is_nan (double value) |
PUGI__FN const char_t * | convert_number_to_string_special (double value) |
PUGI__FN bool | convert_number_to_boolean (double value) |
PUGI__FN void | truncate_zeros (char *begin, char *end) |
PUGI__FN void | convert_number_to_mantissa_exponent (double value, char(&buffer)[32], char **out_mantissa, int *out_exponent) |
PUGI__FN xpath_string | convert_number_to_string (double value, xpath_allocator *alloc) |
PUGI__FN bool | check_string_to_number_format (const char_t *string) |
PUGI__FN double | convert_string_to_number (const char_t *string) |
PUGI__FN bool | convert_string_to_number_scratch (char_t(&buffer)[32], const char_t *begin, const char_t *end, double *out_result) |
PUGI__FN double | round_nearest (double value) |
PUGI__FN double | round_nearest_nzero (double value) |
PUGI__FN const char_t * | qualified_name (const xpath_node &node) |
PUGI__FN const char_t * | local_name (const xpath_node &node) |
PUGI__FN const char_t * | namespace_uri (xml_node node) |
PUGI__FN const char_t * | namespace_uri (xml_attribute attr, xml_node parent) |
PUGI__FN const char_t * | namespace_uri (const xpath_node &node) |
PUGI__FN char_t * | normalize_space (char_t *buffer) |
PUGI__FN char_t * | translate (char_t *buffer, const char_t *from, const char_t *to, size_t to_length) |
PUGI__FN unsigned char * | translate_table_generate (xpath_allocator *alloc, const char_t *from, const char_t *to) |
PUGI__FN char_t * | translate_table (char_t *buffer, const unsigned char *table) |
bool | is_xpath_attribute (const char_t *name) |
PUGI__FN PUGI__UNSIGNED_OVERFLOW unsigned int | hash_string (const char_t *str) |
template<typename T > | |
PUGI__FN T * | new_xpath_variable (const char_t *name) |
PUGI__FN xpath_variable * | new_xpath_variable (xpath_value_type type, const char_t *name) |
template<typename T > | |
PUGI__FN void | delete_xpath_variable (T *var) |
PUGI__FN void | delete_xpath_variable (xpath_value_type type, xpath_variable *var) |
PUGI__FN bool | copy_xpath_variable (xpath_variable *lhs, const xpath_variable *rhs) |
PUGI__FN bool | get_variable_scratch (char_t(&buffer)[32], xpath_variable_set *set, const char_t *begin, const char_t *end, xpath_variable **out_result) |
PUGI__NS_END PUGI__NS_BEGIN PUGI__FN xpath_node_set::type_t | xpath_get_order (const xpath_node *begin, const xpath_node *end) |
PUGI__FN xpath_node_set::type_t | xpath_sort (xpath_node *begin, xpath_node *end, xpath_node_set::type_t type, bool rev) |
PUGI__FN xpath_node | xpath_first (const xpath_node *begin, const xpath_node *end, xpath_node_set::type_t type) |
PUGI__FN impl::xpath_ast_node * | evaluate_node_set_prepare (xpath_query_impl *impl) |
#define PUGI__CHECK_ERROR | ( | err, | |
m | |||
) | { if (*s == 0) PUGI__THROW_ERROR(err, m); } |
Definition at line 2601 of file pugixml.cpp.
#define PUGI__DMC_VOLATILE |
Definition at line 107 of file pugixml.cpp.
Definition at line 2599 of file pugixml.cpp.
#define PUGI__ENDSWITH | ( | c, | |
e | |||
) | ((c) == (e) || ((c) == 0 && endch == (e))) |
Definition at line 2591 of file pugixml.cpp.
#define PUGI__FN inline |
Definition at line 155 of file pugixml.cpp.
#define PUGI__FN_NO_INLINE inline |
Definition at line 156 of file pugixml.cpp.
#define PUGI__GETHEADER_IMPL | ( | object, | |
page, | |||
flags | |||
) | (((reinterpret_cast<char*>(object) - reinterpret_cast<char*>(page)) << 8) | (flags)) |
Definition at line 451 of file pugixml.cpp.
#define PUGI__GETPAGE | ( | n | ) | PUGI__GETPAGE_IMPL((n)->header) |
Definition at line 456 of file pugixml.cpp.
#define PUGI__GETPAGE_IMPL | ( | header | ) | static_cast<impl::xml_memory_page*>(const_cast<void*>(static_cast<const void*>(reinterpret_cast<const char*>(&header) - (header >> 8)))) |
Definition at line 453 of file pugixml.cpp.
#define PUGI__IS_CHARTYPE | ( | c, | |
ct | |||
) | PUGI__IS_CHARTYPE_IMPL(c, ct, chartype_table) |
Definition at line 1902 of file pugixml.cpp.
Definition at line 1899 of file pugixml.cpp.
#define PUGI__IS_CHARTYPEX | ( | c, | |
ct | |||
) | PUGI__IS_CHARTYPE_IMPL(c, ct, chartypex_table) |
Definition at line 1903 of file pugixml.cpp.
#define PUGI__NO_INLINE |
Definition at line 90 of file pugixml.cpp.
#define PUGI__NODETYPE | ( | n | ) | static_cast<xml_node_type>((n)->header & impl::xml_memory_page_type_mask) |
Definition at line 457 of file pugixml.cpp.
#define PUGI__NS_BEGIN OIIO_NAMESPACE_BEGIN namespace pugi { namespace impl { |
Definition at line 153 of file pugixml.cpp.
#define PUGI__NS_END } } OIIO_NAMESPACE_END |
Definition at line 154 of file pugixml.cpp.
#define PUGI__OPTSET | ( | OPT | ) | ( optmsk & (OPT) ) |
Definition at line 2593 of file pugixml.cpp.
#define PUGI__POPNODE | ( | ) | { cursor = cursor->parent; } |
Definition at line 2595 of file pugixml.cpp.
#define PUGI__PUSHNODE | ( | TYPE | ) | { cursor = append_new_node(cursor, *alloc, TYPE); if (!cursor) PUGI__THROW_ERROR(status_out_of_memory, s); } |
Definition at line 2594 of file pugixml.cpp.
#define PUGI__SCANCHARTYPE | ( | ct | ) | { while (offset < size && PUGI__IS_CHARTYPE(data[offset], ct)) offset++; } |
Definition at line 2596 of file pugixml.cpp.
#define PUGI__SCANWHILE | ( | X | ) | { while (X) ++s; } |
Definition at line 2597 of file pugixml.cpp.
#define PUGI__SCANWHILE_UNROLL | ( | X | ) | { for (;;) { char_t ss = s[0]; if (PUGI__UNLIKELY(!(X))) { break; } ss = s[1]; if (PUGI__UNLIKELY(!(X))) { s += 1; break; } ss = s[2]; if (PUGI__UNLIKELY(!(X))) { s += 2; break; } ss = s[3]; if (PUGI__UNLIKELY(!(X))) { s += 3; break; } s += 4; } } |
Definition at line 2598 of file pugixml.cpp.
#define PUGI__SKIPWS | ( | ) | { while (PUGI__IS_CHARTYPE(*s, ct_space)) ++s; } |
Definition at line 2592 of file pugixml.cpp.
#define PUGI__SNPRINTF sprintf |
Definition at line 148 of file pugixml.cpp.
#define PUGI__STATIC_ASSERT | ( | cond | ) | { static const char condition_failed[(cond) ? 1 : -1] = {0}; (void)condition_failed[0]; } |
Definition at line 101 of file pugixml.cpp.
#define PUGI__THROW_ERROR | ( | err, | |
m | |||
) | return error_offset = m, error_status = err, static_cast<char_t*>(0) |
Definition at line 2600 of file pugixml.cpp.
#define PUGI__UNLIKELY | ( | cond | ) | (cond) |
Definition at line 97 of file pugixml.cpp.
#define PUGI__UNSIGNED_OVERFLOW |
Definition at line 118 of file pugixml.cpp.
#define SOURCE_PUGIXML_CPP |
Copyright (C) 2006-2022, by Arseny Kapoulkine (arsen) Report bugs and download new versions at y.ka poulk ine@ gmail .comhttps://pugixml.org/
This library is distributed under the MIT License. See notice at the end of this file.
This work is based on the pugxml parser, which is: Copyright (C) 2003, by Kristen Wegner (krist) en@t ima.n et
Definition at line 16 of file pugixml.cpp.
Definition at line 2730 of file pugixml.cpp.
Definition at line 2659 of file pugixml.cpp.
typedef wchar_selector<sizeof(wchar_t)>::counter wchar_counter |
Definition at line 1807 of file pugixml.cpp.
typedef wchar_selector<sizeof(wchar_t)>::writer wchar_writer |
Definition at line 1808 of file pugixml.cpp.
Definition at line 209 of file pugixml.cpp.
enum ast_type_t |
Definition at line 9425 of file pugixml.cpp.
enum axis_t |
Definition at line 9490 of file pugixml.cpp.
enum chartype_t |
Enumerator | |
---|---|
ct_parse_pcdata | |
ct_parse_attr | |
ct_parse_attr_ws | |
ct_space | |
ct_parse_cdata | |
ct_parse_comment | |
ct_symbol | |
ct_start_symbol |
Definition at line 1832 of file pugixml.cpp.
enum chartypex_t |
Enumerator | |
---|---|
ctx_special_pcdata | |
ctx_special_attr | |
ctx_start_symbol | |
ctx_digit | |
ctx_symbol |
Definition at line 1865 of file pugixml.cpp.
enum indent_flags_t |
Enumerator | |
---|---|
indent_newline | |
indent_indent |
Definition at line 4234 of file pugixml.cpp.
enum lexeme_t |
Definition at line 9071 of file pugixml.cpp.
enum nodeset_eval_t |
Enumerator | |
---|---|
nodeset_eval_all | |
nodeset_eval_any | |
nodeset_eval_first |
Definition at line 9528 of file pugixml.cpp.
enum nodetest_t |
Enumerator | |
---|---|
nodetest_none | |
nodetest_name | |
nodetest_type_node | |
nodetest_type_comment | |
nodetest_type_pi | |
nodetest_type_text | |
nodetest_pi | |
nodetest_all | |
nodetest_all_in_namespace |
Definition at line 9507 of file pugixml.cpp.
enum predicate_t |
Enumerator | |
---|---|
predicate_default | |
predicate_posinv | |
predicate_constant | |
predicate_constant_one |
Definition at line 9520 of file pugixml.cpp.
|
inline |
Definition at line 1177 of file pugixml.cpp.
|
inline |
Definition at line 1186 of file pugixml.cpp.
PUGI__FN bool allow_insert_attribute | ( | xml_node_type | parent | ) |
Definition at line 4355 of file pugixml.cpp.
PUGI__FN bool allow_insert_child | ( | xml_node_type | parent, |
xml_node_type | child | ||
) |
Definition at line 4360 of file pugixml.cpp.
PUGI__FN bool allow_move | ( | xml_node | parent, |
xml_node | child | ||
) |
Definition at line 4369 of file pugixml.cpp.
|
inline |
Definition at line 1327 of file pugixml.cpp.
PUGI__FN_NO_INLINE xml_attribute_struct* append_new_attribute | ( | xml_node_struct * | node, |
xml_allocator & | alloc | ||
) |
Definition at line 1414 of file pugixml.cpp.
PUGI__FN_NO_INLINE xml_node_struct* append_new_node | ( | xml_node_struct * | node, |
xml_allocator & | alloc, | ||
xml_node_type | type = node_element |
||
) |
Definition at line 1402 of file pugixml.cpp.
|
inline |
Definition at line 1235 of file pugixml.cpp.
PUGI__FN std::string PUGIXML_FUNCTION pugi::as_utf8 | ( | const wchar_t * | str | ) |
Definition at line 7321 of file pugixml.cpp.
PUGI__FN std::string PUGIXML_FUNCTION pugi::as_utf8 | ( | const std::basic_string< wchar_t > & | str | ) |
Definition at line 7328 of file pugixml.cpp.
PUGI__FN size_t as_utf8_begin | ( | const wchar_t * | str, |
size_t | length | ||
) |
Definition at line 2284 of file pugixml.cpp.
Definition at line 2290 of file pugixml.cpp.
PUGI__FN std::string as_utf8_impl | ( | const wchar_t * | str, |
size_t | length | ||
) |
Definition at line 2302 of file pugixml.cpp.
PUGI__FN std::basic_string<wchar_t> PUGIXML_FUNCTION pugi::as_wide | ( | const char * | str | ) |
Definition at line 7333 of file pugixml.cpp.
PUGI__FN std::basic_string<wchar_t> PUGIXML_FUNCTION pugi::as_wide | ( | const std::string & | str | ) |
Definition at line 7340 of file pugixml.cpp.
PUGI__FN std::basic_string<wchar_t> as_wide_impl | ( | const char * | str, |
size_t | size | ||
) |
Definition at line 2317 of file pugixml.cpp.
Definition at line 8387 of file pugixml.cpp.
Definition at line 4830 of file pugixml.cpp.
PUGI__FN bool convert_buffer | ( | char_t *& | out_buffer, |
size_t & | out_length, | ||
xml_encoding | encoding, | ||
const void * | contents, | ||
size_t | size, | ||
bool | is_mutable | ||
) |
Definition at line 2249 of file pugixml.cpp.
PUGI__FN bool convert_buffer_generic | ( | char_t *& | out_buffer, |
size_t & | out_length, | ||
const void * | contents, | ||
size_t | size, | ||
D | |||
) |
Definition at line 2178 of file pugixml.cpp.
PUGI__FN bool convert_buffer_latin1 | ( | char_t *& | out_buffer, |
size_t & | out_length, | ||
const void * | contents, | ||
size_t | size, | ||
bool | is_mutable | ||
) |
Definition at line 2212 of file pugixml.cpp.
PUGI__FN size_t convert_buffer_output | ( | char_t * | , |
uint8_t * | r_u8, | ||
uint16_t * | r_u16, | ||
uint32_t * | r_u32, | ||
const char_t * | data, | ||
size_t | length, | ||
xml_encoding | encoding | ||
) |
Definition at line 3672 of file pugixml.cpp.
PUGI__FN size_t convert_buffer_output_generic | ( | typename T::value_type | dest, |
const char_t * | data, | ||
size_t | length, | ||
D | , | ||
T | |||
) |
Definition at line 3585 of file pugixml.cpp.
PUGI__FN size_t convert_buffer_output_generic | ( | typename T::value_type | dest, |
const char_t * | data, | ||
size_t | length, | ||
D | , | ||
T | , | ||
bool | opt_swap | ||
) |
Definition at line 3594 of file pugixml.cpp.
PUGI__FN bool convert_number_to_boolean | ( | double | value | ) |
Definition at line 8263 of file pugixml.cpp.
PUGI__FN void convert_number_to_mantissa_exponent | ( | double | value, |
char(&) | buffer[32], | ||
char ** | out_mantissa, | ||
int * | out_exponent | ||
) |
Definition at line 8291 of file pugixml.cpp.
PUGI__FN xpath_string convert_number_to_string | ( | double | value, |
xpath_allocator * | alloc | ||
) |
Definition at line 8320 of file pugixml.cpp.
Definition at line 8231 of file pugixml.cpp.
PUGI__FN char* convert_path_heap | ( | const wchar_t * | str | ) |
Definition at line 4996 of file pugixml.cpp.
Definition at line 8417 of file pugixml.cpp.
PUGI__FN bool convert_string_to_number_scratch | ( | char_t(&) | buffer[32], |
const char_t * | begin, | ||
const char_t * | end, | ||
double * | out_result | ||
) |
Definition at line 8430 of file pugixml.cpp.
PUGI__FN bool copy_xpath_variable | ( | xpath_variable * | lhs, |
const xpath_variable * | rhs | ||
) |
Definition at line 8797 of file pugixml.cpp.
PUGI__NS_BEGIN PUGI__FN void* default_allocate | ( | size_t | size | ) |
Definition at line 187 of file pugixml.cpp.
Definition at line 192 of file pugixml.cpp.
Definition at line 8766 of file pugixml.cpp.
PUGI__FN void delete_xpath_variable | ( | xpath_value_type | type, |
xpath_variable * | var | ||
) |
Definition at line 8772 of file pugixml.cpp.
|
inline |
Definition at line 1195 of file pugixml.cpp.
|
inline |
Definition at line 1206 of file pugixml.cpp.
Definition at line 8118 of file pugixml.cpp.
|
inline |
Definition at line 1442 of file pugixml.cpp.
|
inline |
Definition at line 1447 of file pugixml.cpp.
PUGI__FN impl::xpath_ast_node* evaluate_node_set_prepare | ( | xpath_query_impl * | impl | ) |
Definition at line 12155 of file pugixml.cpp.
Definition at line 7965 of file pugixml.cpp.
Definition at line 7974 of file pugixml.cpp.
PUGI__FN double gen_nan | ( | ) |
Definition at line 8203 of file pugixml.cpp.
|
inline |
Definition at line 1160 of file pugixml.cpp.
PUGI__FN xml_encoding get_buffer_encoding | ( | xml_encoding | encoding, |
const void * | contents, | ||
size_t | size | ||
) |
Definition at line 2024 of file pugixml.cpp.
|
inline |
Definition at line 1167 of file pugixml.cpp.
PUGI__FN xml_parse_status get_file_size | ( | FILE * | file, |
size_t & | out_result | ||
) |
Definition at line 4737 of file pugixml.cpp.
PUGI__FN size_t get_latin1_7bit_prefix_length | ( | const uint8_t * | data, |
size_t | size | ||
) |
Definition at line 2203 of file pugixml.cpp.
PUGI__FN allocation_function PUGIXML_FUNCTION pugi::get_memory_allocation_function | ( | ) |
Definition at line 7352 of file pugixml.cpp.
PUGI__FN deallocation_function PUGIXML_FUNCTION pugi::get_memory_deallocation_function | ( | ) |
Definition at line 7357 of file pugixml.cpp.
PUGI__FN bool get_mutable_buffer | ( | char_t *& | out_buffer, |
size_t & | out_length, | ||
const void * | contents, | ||
size_t | size, | ||
bool | is_mutable | ||
) |
Definition at line 2044 of file pugixml.cpp.
PUGI__FN strconv_attribute_t get_strconv_attribute | ( | unsigned int | optmask | ) |
Definition at line 2881 of file pugixml.cpp.
PUGI__FN strconv_pcdata_t get_strconv_pcdata | ( | unsigned int | optmask | ) |
Definition at line 2712 of file pugixml.cpp.
Definition at line 3656 of file pugixml.cpp.
Definition at line 4611 of file pugixml.cpp.
Definition at line 4593 of file pugixml.cpp.
Definition at line 4602 of file pugixml.cpp.
Definition at line 4583 of file pugixml.cpp.
Definition at line 4588 of file pugixml.cpp.
PUGI__FN bool get_variable_scratch | ( | char_t(&) | buffer[32], |
xpath_variable_set * | set, | ||
const char_t * | begin, | ||
const char_t * | end, | ||
xpath_variable ** | out_result | ||
) |
Definition at line 8819 of file pugixml.cpp.
PUGI__FN xml_encoding get_wchar_encoding | ( | ) |
Definition at line 1912 of file pugixml.cpp.
PUGI__FN xml_encoding get_write_encoding | ( | xml_encoding | encoding | ) |
Definition at line 3567 of file pugixml.cpp.
PUGI__FN xml_encoding get_write_native_encoding | ( | ) |
Definition at line 3558 of file pugixml.cpp.
PUGI__FN xml_encoding guess_buffer_encoding | ( | const uint8_t * | data, |
size_t | size | ||
) |
Definition at line 1976 of file pugixml.cpp.
PUGI__FN bool has_declaration | ( | xml_node_struct * | node | ) |
Definition at line 4333 of file pugixml.cpp.
Definition at line 7580 of file pugixml.cpp.
PUGI__FN PUGI__UNSIGNED_OVERFLOW unsigned int hash_string | ( | const char_t * | str | ) |
Definition at line 8710 of file pugixml.cpp.
|
inline |
Definition at line 1362 of file pugixml.cpp.
|
inline |
Definition at line 1374 of file pugixml.cpp.
|
inline |
Definition at line 1274 of file pugixml.cpp.
|
inline |
Definition at line 1291 of file pugixml.cpp.
PUGI__FN void insertion_sort | ( | T * | begin, |
T * | end, | ||
const Pred & | pred | ||
) |
Definition at line 7489 of file pugixml.cpp.
PUGI__FN PUGI__UNSIGNED_OVERFLOW char_t* integer_to_string | ( | char_t * | begin, |
char_t * | end, | ||
U | value, | ||
bool | negative | ||
) |
Definition at line 4632 of file pugixml.cpp.
PUGI__FN bool is_attribute_of | ( | xml_attribute_struct * | attr, |
xml_node_struct * | node | ||
) |
Definition at line 4346 of file pugixml.cpp.
PUGI__FN bool is_little_endian | ( | ) |
Definition at line 1905 of file pugixml.cpp.
PUGI__FN bool is_nan | ( | double | value | ) |
Definition at line 8218 of file pugixml.cpp.
|
inline |
Definition at line 4493 of file pugixml.cpp.
|
inline |
Definition at line 8658 of file pugixml.cpp.
PUGI__FN xml_parse_result load_buffer_impl | ( | xml_document_struct * | doc, |
xml_node_struct * | root, | ||
void * | contents, | ||
size_t | size, | ||
unsigned int | options, | ||
xml_encoding | encoding, | ||
bool | is_mutable, | ||
bool | own, | ||
char_t ** | out_buffer | ||
) |
Definition at line 4703 of file pugixml.cpp.
PUGI__FN xml_parse_result load_file_impl | ( | xml_document_struct * | doc, |
FILE * | file, | ||
unsigned int | options, | ||
xml_encoding | encoding, | ||
char_t ** | out_buffer | ||
) |
Definition at line 4801 of file pugixml.cpp.
PUGI__FN xml_parse_status load_stream_data_noseek | ( | std::basic_istream< T > & | stream, |
void ** | out_buffer, | ||
size_t * | out_size | ||
) |
Definition at line 4869 of file pugixml.cpp.
PUGI__FN xml_parse_status load_stream_data_seek | ( | std::basic_istream< T > & | stream, |
void ** | out_buffer, | ||
size_t * | out_size | ||
) |
Definition at line 4923 of file pugixml.cpp.
PUGI__FN xml_parse_result load_stream_impl | ( | xml_document_struct * | doc, |
std::basic_istream< T > & | stream, | ||
unsigned int | options, | ||
xml_encoding | encoding, | ||
char_t ** | out_buffer | ||
) |
Definition at line 4959 of file pugixml.cpp.
Definition at line 8471 of file pugixml.cpp.
|
inline |
Definition at line 2907 of file pugixml.cpp.
|
inline |
Definition at line 7511 of file pugixml.cpp.
PUGI__FN I min_element | ( | I | begin, |
I | end, | ||
const Pred & | pred | ||
) |
Definition at line 7447 of file pugixml.cpp.
Definition at line 8502 of file pugixml.cpp.
Definition at line 8520 of file pugixml.cpp.
Definition at line 8541 of file pugixml.cpp.
Definition at line 8729 of file pugixml.cpp.
PUGI__FN xpath_variable* new_xpath_variable | ( | xpath_value_type | type, |
const char_t * | name | ||
) |
Definition at line 8745 of file pugixml.cpp.
Definition at line 4484 of file pugixml.cpp.
PUGI__FN void node_copy_contents | ( | xml_node_struct * | dn, |
xml_node_struct * | sn, | ||
xml_allocator * | shared_alloc | ||
) |
Definition at line 4413 of file pugixml.cpp.
PUGI__FN void node_copy_string | ( | String & | dest, |
Header & | header, | ||
uintptr_t | header_mask, | ||
char_t * | source, | ||
Header & | source_header, | ||
xml_allocator * | alloc | ||
) |
Definition at line 4394 of file pugixml.cpp.
Definition at line 4430 of file pugixml.cpp.
PUGI__FN bool node_is_ancestor | ( | xml_node_struct * | parent, |
xml_node_struct * | node | ||
) |
Definition at line 8111 of file pugixml.cpp.
PUGI__FN bool node_is_before | ( | xml_node_struct * | ln, |
xml_node_struct * | rn | ||
) |
Definition at line 8068 of file pugixml.cpp.
PUGI__FN bool node_is_before_sibling | ( | xml_node_struct * | ln, |
xml_node_struct * | rn | ||
) |
Definition at line 8044 of file pugixml.cpp.
PUGI__FN void node_output | ( | xml_buffered_writer & | writer, |
xml_node_struct * | root, | ||
const char_t * | indent, | ||
unsigned int | flags, | ||
unsigned int | depth | ||
) |
Definition at line 4240 of file pugixml.cpp.
PUGI__FN void node_output_attributes | ( | xml_buffered_writer & | writer, |
xml_node_struct * | node, | ||
const char_t * | indent, | ||
size_t | indent_length, | ||
unsigned int | flags, | ||
unsigned int | depth | ||
) |
Definition at line 4078 of file pugixml.cpp.
PUGI__FN void node_output_comment | ( | xml_buffered_writer & | writer, |
const char_t * | s | ||
) |
Definition at line 4032 of file pugixml.cpp.
PUGI__FN void node_output_end | ( | xml_buffered_writer & | writer, |
xml_node_struct * | node | ||
) |
Definition at line 4168 of file pugixml.cpp.
PUGI__FN void node_output_pi_value | ( | xml_buffered_writer & | writer, |
const char_t * | s | ||
) |
Definition at line 4057 of file pugixml.cpp.
PUGI__FN void node_output_simple | ( | xml_buffered_writer & | writer, |
xml_node_struct * | node, | ||
unsigned int | flags | ||
) |
Definition at line 4178 of file pugixml.cpp.
PUGI__FN bool node_output_start | ( | xml_buffered_writer & | writer, |
xml_node_struct * | node, | ||
const char_t * | indent, | ||
size_t | indent_length, | ||
unsigned int | flags, | ||
unsigned int | depth | ||
) |
Definition at line 4106 of file pugixml.cpp.
Definition at line 8546 of file pugixml.cpp.
PUGI__FN FILE* open_file | ( | const char * | path, |
const char * | mode | ||
) |
Definition at line 5037 of file pugixml.cpp.
PUGI__FN FILE* open_file_wide | ( | const wchar_t * | path, |
const wchar_t * | mode | ||
) |
Definition at line 5017 of file pugixml.cpp.
PUGI__FN bool parse_declaration_encoding | ( | const uint8_t * | data, |
size_t | size, | ||
const uint8_t *& | out_encoding, | ||
size_t & | out_length | ||
) |
Definition at line 1922 of file pugixml.cpp.
PUGI__FN void partition3 | ( | T * | begin, |
T * | end, | ||
T | pivot, | ||
const Pred & | pred, | ||
T ** | out_eqbeg, | ||
T ** | out_eqend | ||
) |
Definition at line 7523 of file pugixml.cpp.
|
inline |
Definition at line 1346 of file pugixml.cpp.
|
inline |
Definition at line 1256 of file pugixml.cpp.
Definition at line 8466 of file pugixml.cpp.
|
inline |
Definition at line 1386 of file pugixml.cpp.
|
inline |
Definition at line 1308 of file pugixml.cpp.
Definition at line 7458 of file pugixml.cpp.
PUGI__FN double round_nearest | ( | double | value | ) |
Definition at line 8454 of file pugixml.cpp.
PUGI__FN double round_nearest_nzero | ( | double | value | ) |
Definition at line 8459 of file pugixml.cpp.
PUGI__FN bool save_file_impl | ( | const xml_document & | doc, |
FILE * | file, | ||
const char_t * | indent, | ||
unsigned int | flags, | ||
xml_encoding | encoding | ||
) |
Definition at line 5047 of file pugixml.cpp.
PUGI__FN void PUGIXML_FUNCTION pugi::set_memory_management_functions | ( | allocation_function | allocate, |
deallocation_function | deallocate | ||
) |
Definition at line 7346 of file pugixml.cpp.
PUGI__FN bool set_value_ascii | ( | String & | dest, |
Header & | header, | ||
uintptr_t | header_mask, | ||
char * | buf | ||
) |
Definition at line 4654 of file pugixml.cpp.
PUGI__FN bool set_value_bool | ( | String & | dest, |
Header & | header, | ||
uintptr_t | header_mask, | ||
bool | value | ||
) |
Definition at line 4698 of file pugixml.cpp.
PUGI__FN bool set_value_convert | ( | String & | dest, |
Header & | header, | ||
uintptr_t | header_mask, | ||
float | value, | ||
int | precision | ||
) |
Definition at line 4680 of file pugixml.cpp.
PUGI__FN bool set_value_convert | ( | String & | dest, |
Header & | header, | ||
uintptr_t | header_mask, | ||
double | value, | ||
int | precision | ||
) |
Definition at line 4689 of file pugixml.cpp.
PUGI__FN bool set_value_integer | ( | String & | dest, |
Header & | header, | ||
uintptr_t | header_mask, | ||
U | value, | ||
bool | negative | ||
) |
Definition at line 4670 of file pugixml.cpp.
Definition at line 7550 of file pugixml.cpp.
PUGI__NS_END PUGI__NS_BEGIN PUGI__FN bool starts_with | ( | const char_t * | string, |
const char_t * | pattern | ||
) |
Definition at line 7954 of file pugixml.cpp.
Definition at line 2631 of file pugixml.cpp.
Definition at line 2603 of file pugixml.cpp.
Definition at line 2450 of file pugixml.cpp.
PUGI__FN bool strcpy_insitu | ( | String & | dest, |
Header & | header, | ||
uintptr_t | header_mask, | ||
const char_t * | source, | ||
size_t | source_length | ||
) |
Definition at line 2360 of file pugixml.cpp.
|
inline |
Definition at line 2343 of file pugixml.cpp.
Definition at line 227 of file pugixml.cpp.
Definition at line 239 of file pugixml.cpp.
PUGI__FN PUGI__UNSIGNED_OVERFLOW U string_to_integer | ( | const char_t * | value, |
U | minv, | ||
U | maxv | ||
) |
Definition at line 4501 of file pugixml.cpp.
PUGI__FN xpath_string string_value | ( | const xpath_node & | na, |
xpath_allocator * | alloc | ||
) |
Definition at line 7990 of file pugixml.cpp.
PUGI__NS_END PUGI__NS_BEGIN PUGI__FN size_t strlength | ( | const char_t * | s | ) |
Definition at line 215 of file pugixml.cpp.
PUGI__FN size_t strlength_wide | ( | const wchar_t * | s | ) |
Definition at line 249 of file pugixml.cpp.
|
inline |
Definition at line 7440 of file pugixml.cpp.
PUGI__FN void text_output | ( | xml_buffered_writer & | writer, |
const char_t * | s, | ||
chartypex_t | type, | ||
unsigned int | flags | ||
) |
Definition at line 3962 of file pugixml.cpp.
PUGI__FN void text_output_cdata | ( | xml_buffered_writer & | writer, |
const char_t * | s | ||
) |
Definition at line 3970 of file pugixml.cpp.
PUGI__FN void text_output_escaped | ( | xml_buffered_writer & | writer, |
const char_t * | s, | ||
chartypex_t | type, | ||
unsigned int | flags | ||
) |
Definition at line 3910 of file pugixml.cpp.
PUGI__FN void text_output_indent | ( | xml_buffered_writer & | writer, |
const char_t * | indent, | ||
size_t | indent_length, | ||
unsigned int | depth | ||
) |
Definition at line 3992 of file pugixml.cpp.
Definition at line 7985 of file pugixml.cpp.
PUGI__FN char_t* translate | ( | char_t * | buffer, |
const char_t * | from, | ||
const char_t * | to, | ||
size_t | to_length | ||
) |
Definition at line 8574 of file pugixml.cpp.
Definition at line 8628 of file pugixml.cpp.
PUGI__FN unsigned char* translate_table_generate | ( | xpath_allocator * | alloc, |
const char_t * | from, | ||
const char_t * | to | ||
) |
Definition at line 8596 of file pugixml.cpp.
Definition at line 8268 of file pugixml.cpp.
PUGI__FN I unique | ( | I | begin, |
I | end | ||
) |
Definition at line 7464 of file pugixml.cpp.
PUGI__FN xpath_node xpath_first | ( | const xpath_node * | begin, |
const xpath_node * | end, | ||
xpath_node_set::type_t | type | ||
) |
Definition at line 8885 of file pugixml.cpp.
PUGI__NS_END PUGI__NS_BEGIN PUGI__FN xpath_node_set::type_t xpath_get_order | ( | const xpath_node * | begin, |
const xpath_node * | end | ||
) |
Definition at line 8846 of file pugixml.cpp.
PUGI__FN xpath_node_set::type_t xpath_sort | ( | xpath_node * | begin, |
xpath_node * | end, | ||
xpath_node_set::type_t | type, | ||
bool | rev | ||
) |
Definition at line 8862 of file pugixml.cpp.
PUGI__FN size_t zero_terminate_buffer | ( | void * | buffer, |
size_t | size, | ||
xml_encoding | encoding | ||
) |
Definition at line 4777 of file pugixml.cpp.