The parameterized class ListIterator<E> encapsulates a constant pointer to a list element.
More...
#include <ogdf/basic/List.h>
List of all members.
Detailed Description
template<class E>
class ogdf::ListConstIterator< E >
The parameterized class ListIterator<E> encapsulates a constant pointer to a list element.
It is used in order to iterate over doubly linked lists, and to specify a position in a doubly linked list. It is possible that an iterator encapsulates a null pointer. In contrast to ListIterator, it is not possible to change the list element pointed to.
Definition at line 194 of file List.h.
Constructor & Destructor Documentation
Constructs an iterator pointing to no element.
Definition at line 204 of file List.h.
Constructs an iterator pointing to pX.
Definition at line 207 of file List.h.
Constructs an iterator that is a copy of it.
Definition at line 210 of file List.h.
Constructs an iterator that is a copy of it.
Definition at line 212 of file List.h.
Member Function Documentation
Conversion to pointer to list element.
Definition at line 200 of file List.h.
Inequality operator.
Definition at line 223 of file List.h.
Returns a reference to the element content.
Definition at line 234 of file List.h.
Increment operator (prefix).
Definition at line 243 of file List.h.
Increment operator (postfix).
Definition at line 249 of file List.h.
Decrement operator (prefix).
Definition at line 256 of file List.h.
Decrement operator (postfix).
Definition at line 262 of file List.h.
Assignment operator.
Definition at line 237 of file List.h.
Equality operator.
Definition at line 218 of file List.h.
Returns predecessor iterator.
Definition at line 231 of file List.h.
Returns successor iterator.
Definition at line 228 of file List.h.
Returns true iff the iterator points to an element.
Definition at line 215 of file List.h.
Friends And Related Function Documentation
Member Data Documentation
The documentation for this class was generated from the following file: