Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

Loading...
Searching...
No Matches
pugi::xml_named_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_named_node_iterator ()
 
 xml_named_node_iterator (const xml_node &node, const char_t *name)
 
bool operator!= (const xml_named_node_iterator &rhs) const
 
xml_nodeoperator* () const
 
const xml_named_node_iteratoroperator++ ()
 
xml_named_node_iterator operator++ (int)
 
const xml_named_node_iteratoroperator-- ()
 
xml_named_node_iterator operator-- (int)
 
xml_nodeoperator-> () const
 
bool operator== (const xml_named_node_iterator &rhs) const
 

Private Member Functions

 xml_named_node_iterator (xml_node_struct *ref, xml_node_struct *parent, const char_t *name)
 

Private Attributes

const char_t_name
 
xml_node _parent
 
xml_node _wrap
 

Friends

class xml_node
 

Detailed Description

Definition at line 825 of file pugixml.h.

Member Typedef Documentation

◆ difference_type

◆ iterator_category

using pugi::xml_named_node_iterator::iterator_category = std::bidirectional_iterator_tag

Definition at line 837 of file pugixml.h.

◆ pointer

◆ reference

◆ value_type

Constructor & Destructor Documentation

◆ xml_named_node_iterator() [1/3]

pugi::xml_named_node_iterator::xml_named_node_iterator ( )

◆ xml_named_node_iterator() [2/3]

pugi::xml_named_node_iterator::xml_named_node_iterator ( const xml_node node,
const char_t name 
)

◆ xml_named_node_iterator() [3/3]

pugi::xml_named_node_iterator::xml_named_node_iterator ( xml_node_struct ref,
xml_node_struct parent,
const char_t name 
)
private

Member Function Documentation

◆ operator!=()

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

◆ operator*()

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

◆ operator++() [1/2]

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

◆ operator++() [2/2]

xml_named_node_iterator pugi::xml_named_node_iterator::operator++ ( int  )

◆ operator--() [1/2]

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

◆ operator--() [2/2]

xml_named_node_iterator pugi::xml_named_node_iterator::operator-- ( int  )

◆ operator->()

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

◆ operator==()

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

Friends And Related Symbol Documentation

◆ xml_node

Definition at line 827 of file pugixml.h.

Member Data Documentation

◆ _name

const char_t* pugi::xml_named_node_iterator::_name
private

Definition at line 862 of file pugixml.h.

◆ _parent

xml_node pugi::xml_named_node_iterator::_parent
private

Definition at line 861 of file pugixml.h.

◆ _wrap

xml_node pugi::xml_named_node_iterator::_wrap
mutableprivate

Definition at line 860 of file pugixml.h.


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