Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

ogdf::pc_tree::IntrusiveList< T >::iterator Class Reference

#include <ogdf/basic/pctree/util/IntrusiveList.h>

Public Types

using difference_type = std::ptrdiff_t
 
using iterator_category = std::input_iterator_tag
 
using pointer = const T *
 
using reference = T *
 
using value_type = T *
 

Public Member Functions

 iterator (T *node)
 
bool operator!= (iterator other) const
 
T * operator* () const
 
iteratoroperator++ ()
 
iterator operator++ (int)
 
bool operator== (iterator other) const
 

Private Attributes

T * m_node
 

Detailed Description

template<class T>
class ogdf::pc_tree::IntrusiveList< T >::iterator

Definition at line 47 of file IntrusiveList.h.

Member Typedef Documentation

◆ difference_type

template<class T >
using ogdf::pc_tree::IntrusiveList< T >::iterator::difference_type = std::ptrdiff_t

Definition at line 54 of file IntrusiveList.h.

◆ iterator_category

template<class T >
using ogdf::pc_tree::IntrusiveList< T >::iterator::iterator_category = std::input_iterator_tag

Definition at line 52 of file IntrusiveList.h.

◆ pointer

template<class T >
using ogdf::pc_tree::IntrusiveList< T >::iterator::pointer = const T*

Definition at line 55 of file IntrusiveList.h.

◆ reference

template<class T >
using ogdf::pc_tree::IntrusiveList< T >::iterator::reference = T*

Definition at line 56 of file IntrusiveList.h.

◆ value_type

template<class T >
using ogdf::pc_tree::IntrusiveList< T >::iterator::value_type = T*

Definition at line 53 of file IntrusiveList.h.

Constructor & Destructor Documentation

◆ iterator()

template<class T >
ogdf::pc_tree::IntrusiveList< T >::iterator::iterator ( T *  node)
inlineexplicit

Definition at line 58 of file IntrusiveList.h.

Member Function Documentation

◆ operator!=()

template<class T >
bool ogdf::pc_tree::IntrusiveList< T >::iterator::operator!= ( iterator  other) const
inline

Definition at line 73 of file IntrusiveList.h.

◆ operator*()

template<class T >
T* ogdf::pc_tree::IntrusiveList< T >::iterator::operator* ( ) const
inline

Definition at line 75 of file IntrusiveList.h.

◆ operator++() [1/2]

template<class T >
iterator& ogdf::pc_tree::IntrusiveList< T >::iterator::operator++ ( )
inline

Definition at line 60 of file IntrusiveList.h.

◆ operator++() [2/2]

template<class T >
iterator ogdf::pc_tree::IntrusiveList< T >::iterator::operator++ ( int  )
inline

Definition at line 65 of file IntrusiveList.h.

◆ operator==()

template<class T >
bool ogdf::pc_tree::IntrusiveList< T >::iterator::operator== ( iterator  other) const
inline

Definition at line 71 of file IntrusiveList.h.

Member Data Documentation

◆ m_node

template<class T >
T* ogdf::pc_tree::IntrusiveList< T >::iterator::m_node
private

Definition at line 48 of file IntrusiveList.h.


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