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

#include <pugixml.hpp>

Public Types

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

Public Member Functions

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

References _parent, _wrap, and PUGI__FN.

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

◆ xml_node_iterator() [2/3]

PUGI__FN pugi::xml_node_iterator::xml_node_iterator ( )

Definition at line 6611 of file pugixml.cpp.

References PUGI__FN.

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

References _parent, _wrap, PUGI__FN, and xml_node.

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, _wrap, PUGI__FN, and xml_node_iterator().

◆ operator*()

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

Definition at line 6633 of file pugixml.cpp.

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

◆ operator++() [1/2]

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

◆ operator++() [2/2]

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

Definition at line 6652 of file pugixml.cpp.

References PUGI__FN, and xml_node_iterator().

◆ operator--() [1/2]

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

◆ operator--() [2/2]

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

Definition at line 6665 of file pugixml.cpp.

References PUGI__FN, and xml_node_iterator().

◆ operator->()

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

Definition at line 6639 of file pugixml.cpp.

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

◆ 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, _wrap, PUGI__FN, and xml_node_iterator().

◆ xml_node

friend class xml_node
friend

Definition at line 796 of file pugixml.hpp.

References xml_node.

Referenced by operator*(), operator->(), xml_node, and xml_node_iterator().

Member Data Documentation

◆ _parent

xml_node pugi::xml_node_iterator::_parent
private

Definition at line 800 of file pugixml.hpp.

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

◆ _wrap

xml_node pugi::xml_node_iterator::_wrap
mutableprivate

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