#include <List.h>
Collaboration diagram for List< T >::Pos:

Public Member Functions | |
| Pos () | |
| Empty constructor. | |
| Pos (Data *p) | |
| Constructor. | |
| Pos & | operator++ () |
| The pre-increment operator moves the iterator to the successor in the list. | |
| Pos & | operator-- () |
| The pre-decrement operator moves the iterator to the predecessor in the list. | |
| Pos | operator++ (int) |
| The post-increment operator moves the iterator to the successor in the list. | |
| Pos | operator-- (int) |
| The post-decrement operator moves the iterator to the predecessor in the list. | |
| operator bool () const | |
| The operator returns whether the iterator points to a list entry. | |
| bool | operator== (const Pos &pos) const |
| The operator determines whether two iterators point to the same list element. | |
| bool | operator!= (const Pos &pos) const |
| The operator determines whether two iterators point to different list elements. | |
Private Attributes | |
| Data * | entry |
| A pointer to the current list entry. | |
Friends | |
| class | List< T > |
Definition at line 48 of file List.h.
|
|||||||||
|
Empty constructor. The iterator points nowhere. Definition at line 58 of file List.h. References List< T >::Pos::entry. |
|
||||||||||
|
Constructor. The iterator points to the given list node.
Definition at line 65 of file List.h. References List< T >::Pos::entry. |
|
|||||||||
|
The pre-increment operator moves the iterator to the successor in the list. If the iterator is moved behind the end of the list, it will point nowhere. Note that the iterator must point to a list element before this operation.
Definition at line 74 of file List.h. References List< T >::Pos::entry, and List< T >::Data::next. |
|
|||||||||
|
The pre-decrement operator moves the iterator to the predecessor in the list. If the iterator is moved before the beginning of the list, it will point nowhere. Note that the iterator must point to a list element before this operation.
Definition at line 83 of file List.h. References List< T >::Pos::entry, and List< T >::Data::prev. |
|
||||||||||
|
The post-increment operator moves the iterator to the successor in the list. If the iterator is moved behind the end of the list, it will point nowhere. Note that the iterator must point to a list element before this operation.
Definition at line 92 of file List.h. References List< T >::Pos::entry, and List< T >::Data::next. |
|
||||||||||
|
The post-decrement operator moves the iterator to the predecessor in the list. If the iterator is moved before the beginning of the list, it will point nowhere. Note that the iterator must point to a list element before this operation.
Definition at line 101 of file List.h. References List< T >::Pos::entry, and List< T >::Data::prev. |
|
|||||||||
|
The operator returns whether the iterator points to a list entry. If it does not point to a list entry, it points "nowhere".
Definition at line 108 of file List.h. References List< T >::Pos::entry. |
|
||||||||||
|
The operator determines whether two iterators point to the same list element.
Definition at line 115 of file List.h. References List< T >::Pos::entry. |
|
||||||||||
|
The operator determines whether two iterators point to different list elements.
Definition at line 122 of file List.h. References List< T >::Pos::entry. |
|
|||||
|
|
|
|||||
|
A pointer to the current list entry.
Definition at line 51 of file List.h. Referenced by List< ImageViewBase * >::insert(), List< ImageViewBase * >::insertAfter(), List< T >::Pos::operator bool(), List< T >::Pos::operator!=(), List< T >::Pos::operator++(), List< T >::Pos::operator--(), List< T >::Pos::operator==(), and List< T >::Pos::Pos(). |
1.3.6