TBCI Numerical high perf. C++ Library 2.8.0
ListIterator< T > Class Template Reference

#include <list.h>

Inheritance diagram for ListIterator< T >:

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

◆ ListIterator() [1/4]

◆ ListIterator() [2/4]

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

◆ ListIterator() [3/4]

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.

References curr, currnr, dir, lst, and vers.

◆ ListIterator() [4/4]

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

Definition at line 76 of file list.h.

References curr, currnr, dir, ListIterator(), lst, and vers.

Member Function Documentation

◆ getnr()

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

Definition at line 135 of file list.h.

References curr, currnr, lst, and vers.

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

◆ operator bool()

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

Definition at line 151 of file list.h.

References curr, and ListIterator().

◆ operator!=()

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

Definition at line 218 of file list.h.

References ListIterator().

◆ operator*()

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

Definition at line 145 of file list.h.

References curr, and T.

◆ operator++()

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

Definition at line 161 of file list.h.

References curr, currnr, dir, ListIterator(), and lst.

◆ operator--()

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

Definition at line 185 of file list.h.

References curr, currnr, dir, ListIterator(), and lst.

◆ operator<()

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

Definition at line 224 of file list.h.

References currnr, dir, ListIterator(), and lst.

◆ operator<=()

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

Definition at line 232 of file list.h.

References currnr, dir, ListIterator(), and lst.

◆ operator=()

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

Definition at line 126 of file list.h.

References curr, currnr, dir, ListIterator(), lst, and vers.

◆ operator==()

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

Definition at line 209 of file list.h.

References currnr, ListIterator(), and lst.

◆ operator>()

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

Definition at line 240 of file list.h.

References ListIterator().

◆ operator>=()

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

Definition at line 246 of file list.h.

References ListIterator().

Member Data Documentation

◆ curr

◆ currnr

◆ dir

◆ lst

◆ vers

template<typename T>
unsigned long ListIterator< T >::vers
protected

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