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

#include <pugixml.hpp>

+ Collaboration diagram for pugi::xml_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_node_iterator &rhs) const
 
xml_nodeoperator* () const
 
const xml_node_iteratoroperator++ ()
 
xml_node_iterator operator++ (int)
 
const xml_node_iteratoroperator-- ()
 
xml_node_iterator operator-- (int)
 
xml_nodeoperator-> () const
 
bool operator== (const xml_node_iterator &rhs) const
 
 xml_node_iterator ()
 
 xml_node_iterator (const xml_node &node)
 

Private Member Functions

 xml_node_iterator (xml_node_struct *ref, xml_node_struct *parent)
 

Private Attributes

xml_node _parent
 
xml_node _wrap
 

Friends

class xml_node
 

Detailed Description

Definition at line 794 of file pugixml.hpp.

Member Typedef Documentation

◆ difference_type

Definition at line 806 of file pugixml.hpp.

◆ iterator_category

typedef std::bidirectional_iterator_tag pugi::xml_node_iterator::iterator_category

Definition at line 812 of file pugixml.hpp.

◆ pointer

Definition at line 808 of file pugixml.hpp.

◆ reference

Definition at line 809 of file pugixml.hpp.

◆ value_type

Definition at line 807 of file pugixml.hpp.

Constructor & Destructor Documentation

◆ xml_node_iterator() [1/3]

PUGI__FN pugi::xml_node_iterator::xml_node_iterator ( xml_node_struct ref,
xml_node_struct parent 
)
private

Definition at line 6619 of file pugixml.cpp.

◆ xml_node_iterator() [2/3]

PUGI__FN pugi::xml_node_iterator::xml_node_iterator ( )

Definition at line 6611 of file pugixml.cpp.

◆ xml_node_iterator() [3/3]

PUGI__FN pugi::xml_node_iterator::xml_node_iterator ( const xml_node node)

Definition at line 6615 of file pugixml.cpp.

Member Function Documentation

◆ operator!=()

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

Definition at line 6628 of file pugixml.cpp.

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

◆ operator*()

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

Definition at line 6633 of file pugixml.cpp.

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

◆ operator++() [1/2]

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

Definition at line 6645 of file pugixml.cpp.

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

◆ operator++() [2/2]

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

Definition at line 6652 of file pugixml.cpp.

◆ operator--() [1/2]

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

Definition at line 6659 of file pugixml.cpp.

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

+ Here is the call graph for this function:

◆ operator--() [2/2]

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

Definition at line 6665 of file pugixml.cpp.

◆ operator->()

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

Definition at line 6639 of file pugixml.cpp.

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

◆ operator==()

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

Definition at line 6623 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 796 of file pugixml.hpp.

Member Data Documentation

◆ _parent

xml_node pugi::xml_node_iterator::_parent
private

Definition at line 800 of file pugixml.hpp.

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

◆ _wrap

xml_node pugi::xml_node_iterator::_wrap
mutableprivate

Definition at line 799 of file pugixml.hpp.

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


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