Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
pugixml.hpp File Reference
#include "pugiconfig.hpp"
#include <stddef.h>
#include <exception>
#include <iterator>
#include <iosfwd>
#include <string>

Go to the source code of this file.

Classes

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

Namespaces

namespace  pugi

Macros

#define PUGIXML_VERSION   1130
#define PUGIXML_DEPRECATED
#define PUGIXML_API
#define PUGIXML_CLASS   PUGIXML_API
#define PUGIXML_FUNCTION   PUGIXML_API
#define PUGIXML_NOEXCEPT
#define PUGIXML_NOEXCEPT_IF_NOT_COMPACT   PUGIXML_NOEXCEPT
#define PUGIXML_OVERRIDE
#define PUGIXML_NULL   0
#define PUGIXML_TEXT(t)
#define PUGIXML_CHAR   char

Typedefs

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

Enumerations

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_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_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 wchar_t *str)
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< 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)
void PUGIXML_FUNCTION pugi::set_memory_management_functions (allocation_function allocate, deallocation_function deallocate)
allocation_function PUGIXML_FUNCTION pugi::get_memory_allocation_function ()
deallocation_function PUGIXML_FUNCTION pugi::get_memory_deallocation_function ()

Variables

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

Macro Definition Documentation

◆ PUGIXML_API

#define PUGIXML_API

Definition at line 54 of file pugixml.hpp.

◆ PUGIXML_CHAR

#define PUGIXML_CHAR   char

Definition at line 131 of file pugixml.hpp.

◆ PUGIXML_CLASS

#define PUGIXML_CLASS   PUGIXML_API

Definition at line 59 of file pugixml.hpp.

◆ PUGIXML_DEPRECATED

#define PUGIXML_DEPRECATED

Definition at line 48 of file pugixml.hpp.

◆ PUGIXML_FUNCTION

◆ PUGIXML_NOEXCEPT

#define PUGIXML_NOEXCEPT

Definition at line 92 of file pugixml.hpp.

◆ PUGIXML_NOEXCEPT_IF_NOT_COMPACT

#define PUGIXML_NOEXCEPT_IF_NOT_COMPACT   PUGIXML_NOEXCEPT

Definition at line 100 of file pugixml.hpp.

◆ PUGIXML_NULL

#define PUGIXML_NULL   0

Definition at line 121 of file pugixml.hpp.

◆ PUGIXML_OVERRIDE

#define PUGIXML_OVERRIDE

Definition at line 110 of file pugixml.hpp.

◆ PUGIXML_TEXT

◆ PUGIXML_VERSION

#define PUGIXML_VERSION   1130

pugixml parser - version 1.13

Copyright (C) 2006-2022, 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 https://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 17 of file pugixml.hpp.