TBCI Numerical high perf. C++ Library  2.8.0
Public Member Functions | Protected Attributes | List of all members
ListIterator< T > Class Template Reference

#include <list.h>

Inheritance diagram for ListIterator< T >:
Inheritance graph
[legend]

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 ()
 
Toperator* () 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
 

Detailed Description

template<typename T>
class ListIterator< T >

Definition at line 62 of file list.h.

Constructor & Destructor Documentation

template<typename T >
ListIterator< T >::ListIterator ( const List< T > &  _list,
T dataptr = 0 
)
template<typename T >
ListIterator< T >::ListIterator ( const List< T > &  _list,
ListItem< T > *  li = 0 
)
template<typename T >
ListIterator< T >::ListIterator ( const List< T > &  _list,
ListItem< T > *  li,
const long  nr 
)
inline

Definition at line 120 of file list.h.

template<typename T>
ListIterator< T >::ListIterator ( const ListIterator< T > &  li)
inline

Definition at line 76 of file list.h.

Member Function Documentation

template<typename T >
long ListIterator< T >::getnr ( )
inline

Definition at line 135 of file list.h.

Referenced by List< T >::getnr().

template<typename T >
ListIterator< T >::operator bool ( ) const
inline

Definition at line 151 of file list.h.

template<typename T >
bool ListIterator< T >::operator!= ( const ListIterator< T > &  li) const
inline

Definition at line 218 of file list.h.

template<typename T >
T * ListIterator< T >::operator* ( ) const
inline

Definition at line 145 of file list.h.

template<typename T >
ListIterator< T > & ListIterator< T >::operator++ ( )
inline

Definition at line 161 of file list.h.

template<typename T >
ListIterator< T > & ListIterator< T >::operator-- ( )
inline

Definition at line 185 of file list.h.

template<typename T >
bool ListIterator< T >::operator< ( const ListIterator< T > &  li) const
inline

Definition at line 224 of file list.h.

References ListIterator< T >::currnr, ListIterator< T >::dir, and ListIterator< T >::lst.

template<typename T >
bool ListIterator< T >::operator<= ( const ListIterator< T > &  li) const
inline

Definition at line 232 of file list.h.

References ListIterator< T >::currnr, ListIterator< T >::dir, and ListIterator< T >::lst.

template<typename T >
ListIterator< T > & ListIterator< T >::operator= ( const ListIterator< T > &  li)
inline
template<typename T >
bool ListIterator< T >::operator== ( const ListIterator< T > &  li) const
inline

Definition at line 209 of file list.h.

References ListIterator< T >::currnr, and ListIterator< T >::lst.

template<typename T >
bool ListIterator< T >::operator> ( const ListIterator< T > &  li) const
inline

Definition at line 240 of file list.h.

template<typename T >
bool ListIterator< T >::operator>= ( const ListIterator< T > &  li) const
inline

Definition at line 246 of file list.h.

Member Data Documentation

template<typename T>
ListItem<T>* ListIterator< T >::curr
protected
template<typename T>
long ListIterator< T >::currnr
protected
template<typename T>
int ListIterator< T >::dir
protected
template<typename T>
const List<T>* ListIterator< T >::lst
protected
template<typename T>
unsigned long ListIterator< T >::vers
protected

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