Open
Graph Drawing
Framework

 v. 2022.02 (Dogwood)
 

pugi::xml_node_iterator Class Reference

#include <ogdf/lib/pugixml/pugixml.h>

Public Types

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

Public Member Functions

 xml_node_iterator ()
 
 xml_node_iterator (const xml_node &node)
 
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
 

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 741 of file pugixml.h.

Member Typedef Documentation

◆ difference_type

Definition at line 753 of file pugixml.h.

◆ iterator_category

using pugi::xml_node_iterator::iterator_category = std::bidirectional_iterator_tag

Definition at line 759 of file pugixml.h.

◆ pointer

Definition at line 755 of file pugixml.h.

◆ reference

Definition at line 756 of file pugixml.h.

◆ value_type

Definition at line 754 of file pugixml.h.

Constructor & Destructor Documentation

◆ xml_node_iterator() [1/3]

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

◆ xml_node_iterator() [2/3]

pugi::xml_node_iterator::xml_node_iterator ( )

◆ xml_node_iterator() [3/3]

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

Member Function Documentation

◆ operator!=()

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

◆ operator*()

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

◆ operator++() [1/2]

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

◆ operator++() [2/2]

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

◆ operator--() [1/2]

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

◆ operator--() [2/2]

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

◆ operator->()

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

◆ operator==()

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

Friends And Related Function Documentation

◆ xml_node

friend class xml_node
friend

Definition at line 743 of file pugixml.h.

Member Data Documentation

◆ _parent

xml_node pugi::xml_node_iterator::_parent
private

Definition at line 747 of file pugixml.h.

◆ _wrap

xml_node pugi::xml_node_iterator::_wrap
mutableprivate

Definition at line 746 of file pugixml.h.


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