#include <list.h>

Public Member Functions | |
| ListIterator (const List< T > &_list, T *dataptr=0) | |
| ListIterator (const List< T > &_list, ListItem< T > *li=0) | |
| ListIterator (const List< T > &_list, ListItem< T > *li, const long nr) | |
| ListIterator (const ListIterator< T > &li) | |
| ListIterator< T > & | operator= (const ListIterator< T > &) |
| long | getnr () |
| T * | operator* () const |
| operator bool () const | |
| ListIterator< T > & | operator++ () |
| ListIterator< T > & | operator-- () |
| bool | operator== (const ListIterator< T > &li) const |
| bool | operator!= (const ListIterator< T > &li) const |
| bool | operator< (const ListIterator< T > &li) const |
| bool | operator> (const ListIterator< T > &li) const |
| bool | operator<= (const ListIterator< T > &li) const |
| bool | operator>= (const ListIterator< T > &li) const |
Protected Attributes | |
| ListItem< T > * | curr |
| long | currnr |
| unsigned long | vers |
| const List< T > * | lst |
| int | dir |
Definition at line 62 of file list.h.
| TBCI::ListIterator< T >::ListIterator | ( | const List< T > & | _list, | |
| T * | dataptr = 0 | |||
| ) | [inline] |
Definition at line 100 of file list.h.
References TBCI::ListIterator< T >::curr, TBCI::ListIterator< T >::currnr, TBCI::List< T >::getcurr(), TBCI::List< T >::getcurrnr(), and TBCI::List< T >::setcurr().
| TBCI::ListIterator< T >::ListIterator | ( | const List< T > & | _list, | |
| ListItem< T > * | li = 0 | |||
| ) | [inline] |
Definition at line 110 of file list.h.
References TBCI::ListIterator< T >::curr, TBCI::ListIterator< T >::currnr, TBCI::ListItem< T >::data, TBCI::List< T >::getcurr(), TBCI::List< T >::getcurrnr(), and TBCI::List< T >::setcurr().
| TBCI::ListIterator< T >::ListIterator | ( | const List< T > & | _list, | |
| ListItem< T > * | li, | |||
| const long | nr | |||
| ) | [inline] |
| TBCI::ListIterator< T >::ListIterator | ( | const ListIterator< T > & | li | ) | [inline] |
| ListIterator< T > & TBCI::ListIterator< T >::operator= | ( | const ListIterator< T > & | li | ) | [inline] |
Reimplemented in TBCI::ListRIterator< T >.
Definition at line 126 of file list.h.
References TBCI::ListIterator< T >::curr, TBCI::ListIterator< T >::currnr, TBCI::ListIterator< T >::dir, TBCI::ListIterator< T >::lst, and TBCI::ListIterator< T >::vers.
| long TBCI::ListIterator< T >::getnr | ( | ) | [inline] |
Definition at line 135 of file list.h.
References TBCI::ListIterator< T >::curr, TBCI::ListIterator< T >::currnr, TBCI::ListIterator< T >::lst, and TBCI::ListIterator< T >::vers.
Referenced by TBCI::List< T >::setcurr().
| T * TBCI::ListIterator< T >::operator* | ( | ) | const [inline] |
| TBCI::ListIterator< T >::operator bool | ( | ) | const [inline] |
| ListIterator< T > & TBCI::ListIterator< T >::operator++ | ( | ) | [inline] |
Definition at line 161 of file list.h.
References TBCI::ListIterator< T >::curr, TBCI::ListIterator< T >::currnr, TBCI::ListIterator< T >::dir, and TBCI::ListIterator< T >::lst.
| ListIterator< T > & TBCI::ListIterator< T >::operator-- | ( | ) | [inline] |
Definition at line 185 of file list.h.
References TBCI::ListIterator< T >::curr, TBCI::ListIterator< T >::currnr, TBCI::ListIterator< T >::dir, and TBCI::ListIterator< T >::lst.
| bool TBCI::ListIterator< T >::operator== | ( | const ListIterator< T > & | li | ) | const [inline] |
Definition at line 209 of file list.h.
References TBCI::ListIterator< T >::currnr, and TBCI::ListIterator< T >::lst.
| bool TBCI::ListIterator< T >::operator!= | ( | const ListIterator< T > & | li | ) | const [inline] |
| bool TBCI::ListIterator< T >::operator< | ( | const ListIterator< T > & | li | ) | const [inline] |
Definition at line 224 of file list.h.
References TBCI::ListIterator< T >::currnr, TBCI::ListIterator< T >::dir, and TBCI::ListIterator< T >::lst.
| bool TBCI::ListIterator< T >::operator> | ( | const ListIterator< T > & | li | ) | const [inline] |
| bool TBCI::ListIterator< T >::operator<= | ( | const ListIterator< T > & | li | ) | const [inline] |
Definition at line 232 of file list.h.
References TBCI::ListIterator< T >::currnr, TBCI::ListIterator< T >::dir, and TBCI::ListIterator< T >::lst.
| bool TBCI::ListIterator< T >::operator>= | ( | const ListIterator< T > & | li | ) | const [inline] |
ListItem<T>* TBCI::ListIterator< T >::curr [protected] |
Definition at line 65 of file list.h.
Referenced by TBCI::ListIterator< T >::getnr(), TBCI::ListIterator< T >::ListIterator(), TBCI::ListIterator< T >::operator bool(), TBCI::ListIterator< T >::operator*(), TBCI::ListIterator< T >::operator++(), TBCI::ListIterator< T >::operator--(), TBCI::ListRIterator< T >::operator=(), and TBCI::ListIterator< T >::operator=().
long TBCI::ListIterator< T >::currnr [protected] |
Definition at line 66 of file list.h.
Referenced by TBCI::ListIterator< T >::getnr(), TBCI::ListIterator< T >::ListIterator(), TBCI::ListIterator< T >::operator++(), TBCI::ListIterator< T >::operator--(), TBCI::ListIterator< T >::operator<(), TBCI::ListIterator< T >::operator<=(), TBCI::ListRIterator< T >::operator=(), TBCI::ListIterator< T >::operator=(), and TBCI::ListIterator< T >::operator==().
unsigned long TBCI::ListIterator< T >::vers [protected] |
Definition at line 67 of file list.h.
Referenced by TBCI::ListIterator< T >::getnr(), TBCI::ListRIterator< T >::operator=(), and TBCI::ListIterator< T >::operator=().
const List<T>* TBCI::ListIterator< T >::lst [protected] |
Definition at line 68 of file list.h.
Referenced by TBCI::ListIterator< T >::getnr(), TBCI::ListIterator< T >::operator++(), TBCI::ListIterator< T >::operator--(), TBCI::ListIterator< T >::operator<(), TBCI::ListIterator< T >::operator<=(), TBCI::ListRIterator< T >::operator=(), TBCI::ListIterator< T >::operator=(), and TBCI::ListIterator< T >::operator==().
int TBCI::ListIterator< T >::dir [protected] |
Definition at line 69 of file list.h.
Referenced by TBCI::ListRIterator< T >::ListRIterator(), TBCI::ListIterator< T >::operator++(), TBCI::ListIterator< T >::operator--(), TBCI::ListIterator< T >::operator<(), TBCI::ListIterator< T >::operator<=(), TBCI::ListRIterator< T >::operator=(), and TBCI::ListIterator< T >::operator=().
1.5.6