Implementation of an embedded list iterator used by ogdf::EList.
More...
#include <ogdf/basic/EList.h>
|
| | EListIterator () |
| | Constructs an iterator pointing at nullptr. More...
|
| |
| | EListIterator (E *ptr) |
| | Constructs an iterator pointing at ptr. More...
|
| |
| | EListIterator (const EListIterator< E, prev, next > &other) |
| | constructs an iterator pointing at the same element as other More...
|
| |
| bool | operator!= (const EListIterator< E, prev, next > &other) const |
| | Inequality operator. More...
|
| |
| E * | operator* () const |
| | Returns a pointer to the element. More...
|
| |
| EListIterator< E, prev, next > & | operator++ () |
| | Increment operator (prefix). More...
|
| |
| EListIterator< E, prev, next > | operator++ (int) |
| | Increment operator (postfix). More...
|
| |
| EListIterator< E, prev, next > & | operator-- () |
| | Decrement operator (prefix). More...
|
| |
| EListIterator< E, prev, next > | operator-- (int) |
| | Decrement operator (postfix). More...
|
| |
| EListIterator< E, prev, next > & | operator= (const EListIterator< E, prev, next > &other) |
| | Assignment operator. More...
|
| |
| bool | operator== (const EListIterator< E, prev, next > &other) const |
| | Equality operator. More...
|
| |
| EListIterator< E, prev, next > | pred () const |
| | Returns predecessor iterator. More...
|
| |
| EListIterator< E, prev, next > | succ () const |
| | Returns successor iterator. More...
|
| |
| bool | valid () const |
| | returns false if the iterator points at nullptr More...
|
| |
|
| E * | m_ptr |
| | The pointer to the element the iterator is pointing at. More...
|
| |
template<typename E, E *E::* prev, E *E::* next>
class ogdf::EListIterator< E, prev, next >
Implementation of an embedded list iterator used by ogdf::EList.
Definition at line 91 of file EList.h.
◆ EListIterator() [1/3]
template<typename E, E *E::* prev, E *E::* next>
Constructs an iterator pointing at nullptr.
Definition at line 147 of file EList.h.
◆ EListIterator() [2/3]
template<typename E, E *E::* prev, E *E::* next>
Constructs an iterator pointing at ptr.
Definition at line 150 of file EList.h.
◆ EListIterator() [3/3]
template<typename E, E *E::* prev, E *E::* next>
constructs an iterator pointing at the same element as other
Definition at line 153 of file EList.h.
◆ operator!=()
template<typename E, E *E::* prev, E *E::* next>
Inequality operator.
Definition at line 162 of file EList.h.
◆ operator*()
template<typename E, E *E::* prev, E *E::* next>
Returns a pointer to the element.
Definition at line 176 of file EList.h.
◆ operator++() [1/2]
template<typename E, E *E::* prev, E *E::* next>
Increment operator (prefix).
Definition at line 186 of file EList.h.
◆ operator++() [2/2]
template<typename E, E *E::* prev, E *E::* next>
Increment operator (postfix).
Definition at line 193 of file EList.h.
◆ operator--() [1/2]
template<typename E, E *E::* prev, E *E::* next>
Decrement operator (prefix).
Definition at line 201 of file EList.h.
◆ operator--() [2/2]
template<typename E, E *E::* prev, E *E::* next>
Decrement operator (postfix).
Definition at line 208 of file EList.h.
◆ operator=()
template<typename E, E *E::* prev, E *E::* next>
Assignment operator.
Definition at line 179 of file EList.h.
◆ operator==()
template<typename E, E *E::* prev, E *E::* next>
Equality operator.
Definition at line 159 of file EList.h.
◆ pred()
template<typename E, E *E::* prev, E *E::* next>
Returns predecessor iterator.
Definition at line 168 of file EList.h.
◆ succ()
template<typename E, E *E::* prev, E *E::* next>
Returns successor iterator.
Definition at line 165 of file EList.h.
◆ valid()
template<typename E, E *E::* prev, E *E::* next>
returns false if the iterator points at nullptr
Definition at line 156 of file EList.h.
◆ m_ptr
template<typename E, E *E::* prev, E *E::* next>
The pointer to the element the iterator is pointing at.
Definition at line 217 of file EList.h.
The documentation for this class was generated from the following file: