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

#include <pugixml.hpp>

+ Collaboration diagram for pugi::xml_attribute_iterator:

Public Types

typedef ptrdiff_t difference_type
 
typedef std::bidirectional_iterator_tag iterator_category
 
typedef xml_attributepointer
 
typedef xml_attributereference
 
typedef xml_attribute value_type
 

Public Member Functions

bool operator!= (const xml_attribute_iterator &rhs) const
 
xml_attributeoperator* () const
 
const xml_attribute_iteratoroperator++ ()
 
xml_attribute_iterator operator++ (int)
 
const xml_attribute_iteratoroperator-- ()
 
xml_attribute_iterator operator-- (int)
 
xml_attributeoperator-> () const
 
bool operator== (const xml_attribute_iterator &rhs) const
 
 xml_attribute_iterator ()
 
 xml_attribute_iterator (const xml_attribute &attr, const xml_node &parent)
 

Private Member Functions

 xml_attribute_iterator (xml_attribute_struct *ref, xml_node_struct *parent)
 

Private Attributes

xml_node _parent
 
xml_attribute _wrap
 

Friends

class xml_node
 

Detailed Description

Definition at line 836 of file pugixml.hpp.

Member Typedef Documentation

◆ difference_type

Definition at line 848 of file pugixml.hpp.

◆ iterator_category

typedef std::bidirectional_iterator_tag pugi::xml_attribute_iterator::iterator_category

Definition at line 854 of file pugixml.hpp.

◆ pointer

Definition at line 850 of file pugixml.hpp.

◆ reference

Definition at line 851 of file pugixml.hpp.

◆ value_type

Definition at line 849 of file pugixml.hpp.

Constructor & Destructor Documentation

◆ xml_attribute_iterator() [1/3]

PUGI__FN pugi::xml_attribute_iterator::xml_attribute_iterator ( xml_attribute_struct ref,
xml_node_struct parent 
)
private

Definition at line 6680 of file pugixml.cpp.

◆ xml_attribute_iterator() [2/3]

PUGI__FN pugi::xml_attribute_iterator::xml_attribute_iterator ( )

Definition at line 6672 of file pugixml.cpp.

◆ xml_attribute_iterator() [3/3]

PUGI__FN pugi::xml_attribute_iterator::xml_attribute_iterator ( const xml_attribute attr,
const xml_node parent 
)

Definition at line 6676 of file pugixml.cpp.

Member Function Documentation

◆ operator!=()

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

Definition at line 6689 of file pugixml.cpp.

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

◆ operator*()

PUGI__FN xml_attribute & pugi::xml_attribute_iterator::operator* ( ) const

Definition at line 6694 of file pugixml.cpp.

References pugi::xml_attribute::_attr, and _wrap.

◆ operator++() [1/2]

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

◆ operator++() [2/2]

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

Definition at line 6713 of file pugixml.cpp.

◆ operator--() [1/2]

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

Definition at line 6720 of file pugixml.cpp.

References pugi::xml_attribute::_attr, _parent, _wrap, pugi::xml_node::last_attribute(), and pugi::xml_attribute::previous_attribute().

+ Here is the call graph for this function:

◆ operator--() [2/2]

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

Definition at line 6726 of file pugixml.cpp.

◆ operator->()

PUGI__FN xml_attribute * pugi::xml_attribute_iterator::operator-> ( ) const

Definition at line 6700 of file pugixml.cpp.

References pugi::xml_attribute::_attr, and _wrap.

◆ operator==()

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

Definition at line 6684 of file pugixml.cpp.

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

Friends And Related Function Documentation

◆ xml_node

friend class xml_node
friend

Definition at line 838 of file pugixml.hpp.

Member Data Documentation

◆ _parent

xml_node pugi::xml_attribute_iterator::_parent
private

Definition at line 842 of file pugixml.hpp.

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

◆ _wrap

xml_attribute pugi::xml_attribute_iterator::_wrap
mutableprivate

Definition at line 841 of file pugixml.hpp.

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


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