Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

Loading...
Searching...
No Matches
pugi::xml_attribute_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_attribute *
 
using reference = xml_attribute &
 
using value_type = xml_attribute
 

Public Member Functions

 xml_attribute_iterator ()
 
 xml_attribute_iterator (const xml_attribute &attr, const xml_node &parent)
 
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
 

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

Member Typedef Documentation

◆ difference_type

◆ iterator_category

using pugi::xml_attribute_iterator::iterator_category = std::bidirectional_iterator_tag

Definition at line 801 of file pugixml.h.

◆ pointer

◆ reference

◆ value_type

Constructor & Destructor Documentation

◆ xml_attribute_iterator() [1/3]

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

◆ xml_attribute_iterator() [2/3]

pugi::xml_attribute_iterator::xml_attribute_iterator ( )

◆ xml_attribute_iterator() [3/3]

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

Member Function Documentation

◆ operator!=()

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

◆ operator*()

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

◆ operator++() [1/2]

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

◆ operator++() [2/2]

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

◆ operator--() [1/2]

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

◆ operator--() [2/2]

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

◆ operator->()

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

◆ operator==()

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

Friends And Related Symbol Documentation

◆ xml_node

Definition at line 785 of file pugixml.h.

Member Data Documentation

◆ _parent

xml_node pugi::xml_attribute_iterator::_parent
private

Definition at line 789 of file pugixml.h.

◆ _wrap

xml_attribute pugi::xml_attribute_iterator::_wrap
mutableprivate

Definition at line 788 of file pugixml.h.


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