Public Types | Public Member Functions | Protected Types | Protected Attributes | Friends
pugi::xml_node Class Reference

#include <pugixml.hpp>

Inheritance diagram for pugi::xml_node:
Inheritance graph
[legend]

List of all members.

Public Types

typedef xml_attribute_iterator attribute_iterator
typedef xml_node_iterator iterator

Public Member Functions

xml_attribute append_attribute (const char_t *name)
xml_parse_result append_buffer (const void *contents, size_t size, unsigned int options=parse_default, xml_encoding encoding=encoding_auto)
xml_node append_child (xml_node_type type=node_element)
xml_node append_child (const char_t *name)
xml_attribute append_copy (const xml_attribute &proto)
xml_node append_copy (const xml_node &proto)
xml_node append_move (const xml_node &moved)
xml_attribute attribute (const char_t *name) const
xml_attribute attribute (const char_t *name, xml_attribute &hint) const
xml_object_range
< xml_attribute_iterator
attributes () const
attribute_iterator attributes_begin () const
attribute_iterator attributes_end () const
iterator begin () const
xml_node child (const char_t *name) const
const char_tchild_value () const
const char_tchild_value (const char_t *name) const
xml_object_range
< xml_node_iterator
children () const
xml_object_range
< xml_named_node_iterator
children (const char_t *name) const
bool empty () const
iterator end () const
template<typename Predicate >
xml_attribute find_attribute (Predicate pred) const
template<typename Predicate >
xml_node find_child (Predicate pred) const
xml_node find_child_by_attribute (const char_t *name, const char_t *attr_name, const char_t *attr_value) const
xml_node find_child_by_attribute (const char_t *attr_name, const char_t *attr_value) const
template<typename Predicate >
xml_node find_node (Predicate pred) const
xml_attribute first_attribute () const
xml_node first_child () const
xml_node first_element_by_path (const char_t *path, char_t delimiter= '/') const
size_t hash_value () const
xml_attribute insert_attribute_after (const char_t *name, const xml_attribute &attr)
xml_attribute insert_attribute_before (const char_t *name, const xml_attribute &attr)
xml_node insert_child_after (xml_node_type type, const xml_node &node)
xml_node insert_child_after (const char_t *name, const xml_node &node)
xml_node insert_child_before (xml_node_type type, const xml_node &node)
xml_node insert_child_before (const char_t *name, const xml_node &node)
xml_attribute insert_copy_after (const xml_attribute &proto, const xml_attribute &attr)
xml_node insert_copy_after (const xml_node &proto, const xml_node &node)
xml_attribute insert_copy_before (const xml_attribute &proto, const xml_attribute &attr)
xml_node insert_copy_before (const xml_node &proto, const xml_node &node)
xml_node insert_move_after (const xml_node &moved, const xml_node &node)
xml_node insert_move_before (const xml_node &moved, const xml_node &node)
xml_node_structinternal_object () const
xml_attribute last_attribute () const
xml_node last_child () const
const char_tname () const
xml_node next_sibling () const
xml_node next_sibling (const char_t *name) const
ptrdiff_t offset_debug () const
 operator unspecified_bool_type () const
bool operator! () const
bool operator!= (const xml_node &r) const
bool operator< (const xml_node &r) const
bool operator<= (const xml_node &r) const
bool operator== (const xml_node &r) const
bool operator> (const xml_node &r) const
bool operator>= (const xml_node &r) const
xml_node parent () const
string_t path (char_t delimiter= '/') const
xml_attribute prepend_attribute (const char_t *name)
xml_node prepend_child (xml_node_type type=node_element)
xml_node prepend_child (const char_t *name)
xml_attribute prepend_copy (const xml_attribute &proto)
xml_node prepend_copy (const xml_node &proto)
xml_node prepend_move (const xml_node &moved)
xml_node previous_sibling () const
xml_node previous_sibling (const char_t *name) const
void print (xml_writer &writer, const char_t *indent=PUGIXML_TEXT("\t"), unsigned int flags=format_default, xml_encoding encoding=encoding_auto, unsigned int depth=0) const
void print (std::basic_ostream< char, std::char_traits< char > > &os, const char_t *indent=PUGIXML_TEXT("\t"), unsigned int flags=format_default, xml_encoding encoding=encoding_auto, unsigned int depth=0) const
void print (std::basic_ostream< wchar_t, std::char_traits< wchar_t > > &os, const char_t *indent=PUGIXML_TEXT("\t"), unsigned int flags=format_default, unsigned int depth=0) const
bool remove_attribute (const xml_attribute &a)
bool remove_attribute (const char_t *name)
bool remove_child (const xml_node &n)
bool remove_child (const char_t *name)
xml_node root () const
xpath_node select_node (const char_t *query, xpath_variable_set *variables=0) const
xpath_node select_node (const xpath_query &query) const
xpath_node_set select_nodes (const char_t *query, xpath_variable_set *variables=0) const
xpath_node_set select_nodes (const xpath_query &query) const
xpath_node select_single_node (const char_t *query, xpath_variable_set *variables=0) const
xpath_node select_single_node (const xpath_query &query) const
bool set_name (const char_t *rhs)
bool set_value (const char_t *rhs)
xml_text text () const
bool traverse (xml_tree_walker &walker)
xml_node_type type () const
const char_tvalue () const
 xml_node ()
 xml_node (xml_node_struct *p)

Protected Types

typedef void(* unspecified_bool_type )(xml_node ***)

Protected Attributes

xml_node_struct_root

Friends

class xml_attribute_iterator
class xml_named_node_iterator
class xml_node_iterator

Detailed Description

Definition at line 397 of file pugixml.hpp.


Member Typedef Documentation

Definition at line 625 of file pugixml.hpp.

Definition at line 619 of file pugixml.hpp.

typedef void(* pugi::xml_node::unspecified_bool_type)(xml_node ***) [protected]

Definition at line 406 of file pugixml.hpp.


Constructor & Destructor Documentation

Definition at line 5234 of file pugixml.cpp.

Definition at line 5238 of file pugixml.cpp.


Member Function Documentation

Definition at line 5499 of file pugixml.cpp.

PUGI__FN xml_parse_result pugi::xml_node::append_buffer ( const void *  contents,
size_t  size,
unsigned int  options = parse_default,
xml_encoding  encoding = encoding_auto 
)

Definition at line 5920 of file pugixml.cpp.

Definition at line 5639 of file pugixml.cpp.

Definition at line 5709 of file pugixml.cpp.

Definition at line 5569 of file pugixml.cpp.

Definition at line 5745 of file pugixml.cpp.

Definition at line 5815 of file pugixml.cpp.

Definition at line 5351 of file pugixml.cpp.

Definition at line 5387 of file pugixml.cpp.

Definition at line 5286 of file pugixml.cpp.

Definition at line 5266 of file pugixml.cpp.

Definition at line 5271 of file pugixml.cpp.

Definition at line 5256 of file pugixml.cpp.

PUGI__FN xml_node pugi::xml_node::child ( const char_t name) const

Definition at line 5341 of file pugixml.cpp.

Definition at line 5443 of file pugixml.cpp.

PUGI__FN const char_t * pugi::xml_node::child_value ( const char_t name) const

Definition at line 5454 of file pugixml.cpp.

Definition at line 5276 of file pugixml.cpp.

Definition at line 5281 of file pugixml.cpp.

Definition at line 5321 of file pugixml.cpp.

Definition at line 5261 of file pugixml.cpp.

template<typename Predicate >
xml_attribute pugi::xml_node::find_attribute ( Predicate  pred) const [inline]

Definition at line 532 of file pugixml.hpp.

template<typename Predicate >
xml_node pugi::xml_node::find_child ( Predicate  pred) const [inline]

Definition at line 544 of file pugixml.hpp.

PUGI__FN xml_node pugi::xml_node::find_child_by_attribute ( const char_t name,
const char_t attr_name,
const char_t attr_value 
) const

Definition at line 5949 of file pugixml.cpp.

PUGI__FN xml_node pugi::xml_node::find_child_by_attribute ( const char_t attr_name,
const char_t attr_value 
) const

Definition at line 5964 of file pugixml.cpp.

template<typename Predicate >
xml_node pugi::xml_node::find_node ( Predicate  pred) const [inline]

Definition at line 556 of file pugixml.hpp.

Definition at line 5459 of file pugixml.cpp.

Definition at line 5469 of file pugixml.cpp.

PUGI__FN xml_node pugi::xml_node::first_element_by_path ( const char_t path,
char_t  delimiter = '/' 
) const

Definition at line 6012 of file pugixml.cpp.

Definition at line 6107 of file pugixml.cpp.

Definition at line 5533 of file pugixml.cpp.

Definition at line 5551 of file pugixml.cpp.

Definition at line 5691 of file pugixml.cpp.

PUGI__FN xml_node pugi::xml_node::insert_child_after ( const char_t name,
const xml_node node 
)

Definition at line 5727 of file pugixml.cpp.

Definition at line 5673 of file pugixml.cpp.

Definition at line 5736 of file pugixml.cpp.

Definition at line 5603 of file pugixml.cpp.

PUGI__FN xml_node pugi::xml_node::insert_copy_after ( const xml_node proto,
const xml_node node 
)

Definition at line 5779 of file pugixml.cpp.

Definition at line 5621 of file pugixml.cpp.

PUGI__FN xml_node pugi::xml_node::insert_copy_before ( const xml_node proto,
const xml_node node 
)

Definition at line 5797 of file pugixml.cpp.

PUGI__FN xml_node pugi::xml_node::insert_move_after ( const xml_node moved,
const xml_node node 
)

Definition at line 5847 of file pugixml.cpp.

PUGI__FN xml_node pugi::xml_node::insert_move_before ( const xml_node moved,
const xml_node node 
)

Definition at line 5865 of file pugixml.cpp.

Definition at line 6112 of file pugixml.cpp.

Definition at line 5464 of file pugixml.cpp.

Definition at line 5474 of file pugixml.cpp.

Definition at line 5326 of file pugixml.cpp.

Definition at line 5372 of file pugixml.cpp.

Definition at line 5362 of file pugixml.cpp.

Definition at line 6144 of file pugixml.cpp.

PUGI__FN pugi::xml_node::operator xml_node::unspecified_bool_type ( ) const

Definition at line 5246 of file pugixml.cpp.

Definition at line 5251 of file pugixml.cpp.

PUGI__FN bool pugi::xml_node::operator!= ( const xml_node r) const

Definition at line 5296 of file pugixml.cpp.

PUGI__FN bool pugi::xml_node::operator< ( const xml_node r) const

Definition at line 5301 of file pugixml.cpp.

PUGI__FN bool pugi::xml_node::operator<= ( const xml_node r) const

Definition at line 5311 of file pugixml.cpp.

PUGI__FN bool pugi::xml_node::operator== ( const xml_node r) const

Definition at line 5291 of file pugixml.cpp.

PUGI__FN bool pugi::xml_node::operator> ( const xml_node r) const

Definition at line 5306 of file pugixml.cpp.

PUGI__FN bool pugi::xml_node::operator>= ( const xml_node r) const

Definition at line 5316 of file pugixml.cpp.

Definition at line 5428 of file pugixml.cpp.

PUGI__FN string_t pugi::xml_node::path ( char_t  delimiter = '/') const

Definition at line 5977 of file pugixml.cpp.

Definition at line 5516 of file pugixml.cpp.

Definition at line 5656 of file pugixml.cpp.

Definition at line 5718 of file pugixml.cpp.

Definition at line 5586 of file pugixml.cpp.

Definition at line 5762 of file pugixml.cpp.

Definition at line 5831 of file pugixml.cpp.

Definition at line 5420 of file pugixml.cpp.

Definition at line 5377 of file pugixml.cpp.

PUGI__FN void pugi::xml_node::print ( xml_writer writer,
const char_t indent = PUGIXML_TEXT("\t"),
unsigned int  flags = format_default,
xml_encoding  encoding = encoding_auto,
unsigned int  depth = 0 
) const

Definition at line 6117 of file pugixml.cpp.

PUGI__FN void pugi::xml_node::print ( std::basic_ostream< char, std::char_traits< char > > &  os,
const char_t indent = PUGIXML_TEXT("\t"),
unsigned int  flags = format_default,
xml_encoding  encoding = encoding_auto,
unsigned int  depth = 0 
) const

Definition at line 6129 of file pugixml.cpp.

PUGI__FN void pugi::xml_node::print ( std::basic_ostream< wchar_t, std::char_traits< wchar_t > > &  os,
const char_t indent = PUGIXML_TEXT("\t"),
unsigned int  flags = format_default,
unsigned int  depth = 0 
) const

Definition at line 6136 of file pugixml.cpp.

Definition at line 5888 of file pugixml.cpp.

Definition at line 5883 of file pugixml.cpp.

Definition at line 5907 of file pugixml.cpp.

Definition at line 5902 of file pugixml.cpp.

Definition at line 5433 of file pugixml.cpp.

PUGI__FN xpath_node pugi::xml_node::select_node ( const char_t query,
xpath_variable_set variables = 0 
) const

Definition at line 12345 of file pugixml.cpp.

Definition at line 12351 of file pugixml.cpp.

PUGI__FN xpath_node_set pugi::xml_node::select_nodes ( const char_t query,
xpath_variable_set variables = 0 
) const

Definition at line 12356 of file pugixml.cpp.

Definition at line 12362 of file pugixml.cpp.

PUGI__FN xpath_node pugi::xml_node::select_single_node ( const char_t query,
xpath_variable_set variables = 0 
) const

Definition at line 12367 of file pugixml.cpp.

Definition at line 12373 of file pugixml.cpp.

PUGI__FN bool pugi::xml_node::set_name ( const char_t rhs)

Definition at line 5479 of file pugixml.cpp.

PUGI__FN bool pugi::xml_node::set_value ( const char_t rhs)

Definition at line 5489 of file pugixml.cpp.

Definition at line 5438 of file pugixml.cpp.

Definition at line 6059 of file pugixml.cpp.

Definition at line 5331 of file pugixml.cpp.

Definition at line 5336 of file pugixml.cpp.


Friends And Related Function Documentation

friend class xml_attribute_iterator [friend]

Definition at line 399 of file pugixml.hpp.

friend class xml_named_node_iterator [friend]

Definition at line 401 of file pugixml.hpp.

friend class xml_node_iterator [friend]

Definition at line 400 of file pugixml.hpp.


Member Data Documentation

Definition at line 404 of file pugixml.hpp.


The documentation for this class was generated from the following files:


pugixml
Author(s): Jose Luis Sanchez-Lopez
autogenerated on Thu Jun 6 2019 21:00:00