Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

pugixml.h File Reference
#include "pugiconfig.h"
#include <stddef.h>
#include <iterator>
#include <iosfwd>
#include <string>

Go to the source code of this file.

Classes

class  pugi::xml_attribute
 
class  pugi::xml_attribute_iterator
 
class  pugi::xml_document
 
class  pugi::xml_named_node_iterator
 
class  pugi::xml_node
 
class  pugi::xml_node_iterator
 
class  pugi::xml_object_range< It >
 
struct  pugi::xml_parse_result
 
class  pugi::xml_text
 
class  pugi::xml_tree_walker
 
class  pugi::xml_writer
 
class  pugi::xml_writer_file
 
class  pugi::xml_writer_stream
 
class  pugi::xpath_node
 
class  pugi::xpath_node_set
 
struct  pugi::xpath_parse_result
 
class  pugi::xpath_query
 
class  pugi::xpath_variable
 
class  pugi::xpath_variable_set
 

Namespaces

 pugi
 

Macros

#define PUGIXML_CHAR   char
 
#define PUGIXML_CLASS   PUGIXML_API
 
#define PUGIXML_DEPRECATED
 
#define PUGIXML_FUNCTION   PUGIXML_API
 
#define PUGIXML_TEXT(t)   t
 
#define PUGIXML_VERSION   170
 

Typedefs

using pugi::allocation_function = void *(*)(size_t size)
 
using pugi::char_t = PUGIXML_CHAR
 
using pugi::deallocation_function = void(*)(void *ptr)
 
using pugi::string_t = std::basic_string< PUGIXML_CHAR, std::char_traits< PUGIXML_CHAR >, std::allocator< PUGIXML_CHAR > >
 

Enumerations

enum  pugi::xml_encoding { pugi::encoding_auto, pugi::encoding_utf8, pugi::encoding_utf16_le, pugi::encoding_utf16_be, pugi::encoding_utf16, pugi::encoding_utf32_le, pugi::encoding_utf32_be, pugi::encoding_utf32, pugi::encoding_wchar, pugi::encoding_latin1 }
 
enum  pugi::xml_node_type { pugi::node_null, pugi::node_document, pugi::node_element, pugi::node_pcdata, pugi::node_cdata, pugi::node_comment, pugi::node_pi, pugi::node_declaration, pugi::node_doctype }
 
enum  pugi::xml_parse_status {
  pugi::status_ok = 0, pugi::status_file_not_found, pugi::status_io_error, pugi::status_out_of_memory, pugi::status_internal_error, pugi::status_unrecognized_tag, pugi::status_bad_pi, pugi::status_bad_comment, pugi::status_bad_cdata, pugi::status_bad_doctype, pugi::status_bad_pcdata, pugi::status_bad_start_element, pugi::status_bad_attribute, pugi::status_bad_end_element,
  pugi::status_end_element_mismatch, pugi::status_append_invalid_root, pugi::status_no_document_element
}
 
enum  pugi::xpath_value_type { pugi::xpath_type_none, pugi::xpath_type_node_set, pugi::xpath_type_number, pugi::xpath_type_string, pugi::xpath_type_boolean }
 

Functions

std::basic_string< char, std::char_traits< char >, std::allocator< char > > PUGIXML_FUNCTION pugi::as_utf8 (const std::basic_string< wchar_t, std::char_traits< wchar_t >, std::allocator< wchar_t > > &str)
 
std::basic_string< char, std::char_traits< char >, std::allocator< char > > PUGIXML_FUNCTION pugi::as_utf8 (const wchar_t *str)
 
std::basic_string< wchar_t, std::char_traits< wchar_t >, std::allocator< wchar_t > > PUGIXML_FUNCTION pugi::as_wide (const char *str)
 
std::basic_string< wchar_t, std::char_traits< wchar_t >, std::allocator< wchar_t > > PUGIXML_FUNCTION pugi::as_wide (const std::basic_string< char, std::char_traits< char >, std::allocator< char > > &str)
 
allocation_function PUGIXML_FUNCTION pugi::get_memory_allocation_function ()
 
deallocation_function PUGIXML_FUNCTION pugi::get_memory_deallocation_function ()
 
void PUGIXML_FUNCTION pugi::set_memory_management_functions (allocation_function allocate, deallocation_function deallocate)
 

Variables

const unsigned int pugi::format_default = format_indent
 
const unsigned int pugi::format_indent = 0x01
 
const unsigned int pugi::format_indent_attributes = 0x40
 
const unsigned int pugi::format_no_declaration = 0x08
 
const unsigned int pugi::format_no_escapes = 0x10
 
const unsigned int pugi::format_raw = 0x04
 
const unsigned int pugi::format_save_file_text = 0x20
 
const unsigned int pugi::format_write_bom = 0x02
 
const unsigned int pugi::parse_cdata = 0x0004
 
const unsigned int pugi::parse_comments = 0x0002
 
const unsigned int pugi::parse_declaration = 0x0100
 
const unsigned int pugi::parse_default = parse_cdata | parse_escapes | parse_wconv_attribute | parse_eol
 
const unsigned int pugi::parse_doctype = 0x0200
 
const unsigned int pugi::parse_embed_pcdata = 0x2000
 
const unsigned int pugi::parse_eol = 0x0020
 
const unsigned int pugi::parse_escapes = 0x0010
 
const unsigned int pugi::parse_fragment = 0x1000
 
const unsigned int pugi::parse_full = parse_default | parse_pi | parse_comments | parse_declaration | parse_doctype
 
const unsigned int pugi::parse_minimal = 0x0000
 
const unsigned int pugi::parse_pi = 0x0001
 
const unsigned int pugi::parse_trim_pcdata = 0x0800
 
const unsigned int pugi::parse_wconv_attribute = 0x0040
 
const unsigned int pugi::parse_wnorm_attribute = 0x0080
 
const unsigned int pugi::parse_ws_pcdata = 0x0008
 
const unsigned int pugi::parse_ws_pcdata_single = 0x0400
 

Macro Definition Documentation

◆ PUGIXML_CHAR

#define PUGIXML_CHAR   char

Definition at line 80 of file pugixml.h.

◆ PUGIXML_CLASS

#define PUGIXML_CLASS   PUGIXML_API

Definition at line 57 of file pugixml.h.

◆ PUGIXML_DEPRECATED

#define PUGIXML_DEPRECATED

Definition at line 46 of file pugixml.h.

◆ PUGIXML_FUNCTION

#define PUGIXML_FUNCTION   PUGIXML_API

Definition at line 62 of file pugixml.h.

◆ PUGIXML_TEXT

#define PUGIXML_TEXT (   t)    t

Definition at line 79 of file pugixml.h.

◆ PUGIXML_VERSION

#define PUGIXML_VERSION   170

pugixml parser - version 1.7

Copyright (C) 2006-2016, by Arseny Kapoulkine (arsen.nosp@m.y.ka.nosp@m.poulk.nosp@m.ine@.nosp@m.gmail.nosp@m..com) Report bugs and download new versions at http://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.nosp@m.en@t.nosp@m.ima.n.nosp@m.et)

Definition at line 18 of file pugixml.h.