CARLA
Loading...
Searching...
No Matches
pugi::xml_attribute_iterator Class Reference

#include <pugixml.hpp>

Public Types

typedef ptrdiff_t difference_type
typedef std::bidirectional_iterator_tag iterator_category
typedef xml_attribute * pointer
typedef xml_attribute & reference
typedef xml_attribute value_type

Public Member Functions

bool operator!= (const xml_attribute_iterator &rhs) const
xml_attribute & operator* () const
const xml_attribute_iterator & operator++ ()
xml_attribute_iterator operator++ (int)
const xml_attribute_iterator & operator-- ()
xml_attribute_iterator operator-- (int)
xml_attribute * operator-> () 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

◆ reference

◆ value_type

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.

References _parent, _wrap, and PUGI__FN.

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

◆ xml_attribute_iterator() [2/3]

PUGI__FN pugi::xml_attribute_iterator::xml_attribute_iterator ( )

Definition at line 6672 of file pugixml.cpp.

References PUGI__FN.

◆ 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.

References _parent, _wrap, PUGI__FN, and xml_node.

Member Function Documentation

◆ operator!=()

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

◆ operator*()

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

Definition at line 6694 of file pugixml.cpp.

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

◆ 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.

References PUGI__FN, and xml_attribute_iterator().

◆ operator--() [1/2]

◆ operator--() [2/2]

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

Definition at line 6726 of file pugixml.cpp.

References PUGI__FN, and xml_attribute_iterator().

◆ operator->()

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

Definition at line 6700 of file pugixml.cpp.

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

◆ operator==()

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

◆ xml_node

friend class xml_node
friend

Definition at line 838 of file pugixml.hpp.

References xml_node.

Referenced by xml_attribute_iterator(), and xml_node.

Member Data Documentation

◆ _parent

xml_node pugi::xml_attribute_iterator::_parent
private

◆ _wrap

xml_attribute pugi::xml_attribute_iterator::_wrap
mutableprivate

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