CARLA
Public Types | Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
pugi::xml_named_node_iterator Class Reference

#include <pugixml.hpp>

+ Collaboration diagram for pugi::xml_named_node_iterator:

Public Types

typedef ptrdiff_t difference_type
 
typedef std::bidirectional_iterator_tag iterator_category
 
typedef xml_nodepointer
 
typedef xml_nodereference
 
typedef xml_node value_type
 

Public Member Functions

bool operator!= (const xml_named_node_iterator &rhs) const
 
xml_nodeoperator* () const
 
const xml_named_node_iteratoroperator++ ()
 
xml_named_node_iterator operator++ (int)
 
const xml_named_node_iteratoroperator-- ()
 
xml_named_node_iterator operator-- (int)
 
xml_nodeoperator-> () const
 
bool operator== (const xml_named_node_iterator &rhs) const
 
 xml_named_node_iterator ()
 
 xml_named_node_iterator (const xml_node &node, const char_t *name)
 

Private Member Functions

 xml_named_node_iterator (xml_node_struct *ref, xml_node_struct *parent, const char_t *name)
 

Private Attributes

const char_t_name
 
xml_node _parent
 
xml_node _wrap
 

Friends

class xml_node
 

Detailed Description

Definition at line 878 of file pugixml.hpp.

Member Typedef Documentation

◆ difference_type

Definition at line 884 of file pugixml.hpp.

◆ iterator_category

typedef std::bidirectional_iterator_tag pugi::xml_named_node_iterator::iterator_category

Definition at line 890 of file pugixml.hpp.

◆ pointer

Definition at line 886 of file pugixml.hpp.

◆ reference

Definition at line 887 of file pugixml.hpp.

◆ value_type

Definition at line 885 of file pugixml.hpp.

Constructor & Destructor Documentation

◆ xml_named_node_iterator() [1/3]

PUGI__FN pugi::xml_named_node_iterator::xml_named_node_iterator ( )

Definition at line 6733 of file pugixml.cpp.

◆ xml_named_node_iterator() [2/3]

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

Definition at line 6737 of file pugixml.cpp.

◆ xml_named_node_iterator() [3/3]

PUGI__FN pugi::xml_named_node_iterator::xml_named_node_iterator ( xml_node_struct ref,
xml_node_struct parent,
const char_t name 
)
private

Definition at line 6741 of file pugixml.cpp.

Member Function Documentation

◆ operator!=()

PUGI__FN bool pugi::xml_named_node_iterator::operator!= ( const xml_named_node_iterator rhs) const

Definition at line 6750 of file pugixml.cpp.

References _parent, pugi::xml_node::_root, and _wrap.

◆ operator*()

PUGI__FN xml_node & pugi::xml_named_node_iterator::operator* ( ) const

Definition at line 6755 of file pugixml.cpp.

References pugi::xml_node::_root, and _wrap.

◆ operator++() [1/2]

PUGI__FN const xml_named_node_iterator & pugi::xml_named_node_iterator::operator++ ( )

Definition at line 6767 of file pugixml.cpp.

References _name, pugi::xml_node::_root, _wrap, and pugi::xml_node::next_sibling().

+ Here is the call graph for this function:

◆ operator++() [2/2]

PUGI__FN xml_named_node_iterator pugi::xml_named_node_iterator::operator++ ( int  )

Definition at line 6774 of file pugixml.cpp.

◆ operator--() [1/2]

PUGI__FN const xml_named_node_iterator & pugi::xml_named_node_iterator::operator-- ( )

Definition at line 6781 of file pugixml.cpp.

References _name, _parent, pugi::xml_node::_root, _wrap, pugi::xml_node::last_child(), pugi::xml_node::name(), pugi::xml_node::previous_sibling(), and strequal().

+ Here is the call graph for this function:

◆ operator--() [2/2]

PUGI__FN xml_named_node_iterator pugi::xml_named_node_iterator::operator-- ( int  )

Definition at line 6796 of file pugixml.cpp.

◆ operator->()

PUGI__FN xml_node * pugi::xml_named_node_iterator::operator-> ( ) const

Definition at line 6761 of file pugixml.cpp.

References pugi::xml_node::_root, and _wrap.

◆ operator==()

PUGI__FN bool pugi::xml_named_node_iterator::operator== ( const xml_named_node_iterator rhs) const

Definition at line 6745 of file pugixml.cpp.

References _parent, pugi::xml_node::_root, and _wrap.

Friends And Related Function Documentation

◆ xml_node

friend class xml_node
friend

Definition at line 880 of file pugixml.hpp.

Member Data Documentation

◆ _name

const char_t* pugi::xml_named_node_iterator::_name
private

Definition at line 915 of file pugixml.hpp.

Referenced by operator++(), and operator--().

◆ _parent

xml_node pugi::xml_named_node_iterator::_parent
private

Definition at line 914 of file pugixml.hpp.

Referenced by operator!=(), operator--(), and operator==().

◆ _wrap

xml_node pugi::xml_named_node_iterator::_wrap
mutableprivate

Definition at line 913 of file pugixml.hpp.

Referenced by operator!=(), operator*(), operator++(), operator--(), operator->(), and operator==().


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