2005/5/9

     
 

class TListIterator

artefaktur
Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

acdk::util::TListIterator< T > Class Template Reference

#include <TListIterator.h>

Inheritance diagram for acdk::util::TListIterator< T >:

acdk::util::TIterator< T > acdk::util::TAbstractListListIterator< T > acdk::util::TAbstractListSubListListIterator< T > List of all members.

Detailed Description

template<class T>
class acdk::util::TListIterator< T >

Author:
Roger Rene Kommer (mailto:kommer@artefaktur.com)
Version:
Revision
1.4
Date:
Date
2005/02/05 10:45:06


Public Types

typedef T RValueType
typedef TListIterator< RValueTypeListIteratorType
typedef InterfaceHolder< ListIteratorTypeRListIteratorType
typedef RListIteratorType RefType
typedef TCollection< RValueTypeCollectionType
typedef CollectionType::RefType RCollectionType

Public Member Functions

virtual void add (IN(RValueType) o)=0
virtual bool hasNext ()=0
virtual bool hasPrevious ()=0
virtual RValueType next ()=0
virtual RValueType element ()=0
virtual int nextIndex ()=0
virtual RValueType previous ()=0
virtual int previousIndex ()=0
virtual void remove ()=0
 remove current element from the iterator.

virtual void set (IN(RValueType) o)=0


Member Typedef Documentation

template<class T>
typedef TCollection<RValueType> acdk::util::TListIterator< T >::CollectionType
 

template<class T>
typedef TListIterator<RValueType> acdk::util::TListIterator< T >::ListIteratorType
 

Reimplemented in acdk::util::TAbstractListListIterator< T >, and acdk::util::TAbstractListSubListListIterator< T >.

template<class T>
typedef CollectionType::RefType acdk::util::TListIterator< T >::RCollectionType
 

template<class T>
typedef RListIteratorType acdk::util::TListIterator< T >::RefType
 

Reimplemented from acdk::util::TIterator< T >.

Reimplemented in acdk::util::TAbstractListListIterator< T >, and acdk::util::TAbstractListSubListListIterator< T >.

template<class T>
typedef InterfaceHolder<ListIteratorType> acdk::util::TListIterator< T >::RListIteratorType
 

Reimplemented in acdk::util::TAbstractListListIterator< T >, and acdk::util::TAbstractListSubListListIterator< T >.

template<class T>
typedef T acdk::util::TListIterator< T >::RValueType
 

Reimplemented from acdk::util::TIterator< T >.

Reimplemented in acdk::util::TAbstractListListIterator< T >, and acdk::util::TAbstractListSubListListIterator< T >.


Member Function Documentation

template<class T>
virtual void acdk::util::TListIterator< T >::add IN(RValueType o  )  [pure virtual]
 

Implemented in acdk::util::TAbstractListListIterator< T >, and acdk::util::TAbstractListSubListListIterator< T >.

template<class T>
virtual RValueType acdk::util::TListIterator< T >::element  )  [pure virtual]
 

Implements acdk::util::TIterator< T >.

Implemented in acdk::util::TAbstractListListIterator< T >, and acdk::util::TAbstractListSubListListIterator< T >.

template<class T>
virtual bool acdk::util::TListIterator< T >::hasNext  )  [pure virtual]
 

Implements acdk::util::TIterator< T >.

Implemented in acdk::util::TAbstractListListIterator< T >, and acdk::util::TAbstractListSubListListIterator< T >.

template<class T>
virtual bool acdk::util::TListIterator< T >::hasPrevious  )  [pure virtual]
 

Implemented in acdk::util::TAbstractListListIterator< T >, and acdk::util::TAbstractListSubListListIterator< T >.

template<class T>
virtual RValueType acdk::util::TListIterator< T >::next  )  [pure virtual]
 

Implements acdk::util::TIterator< T >.

Implemented in acdk::util::TAbstractListListIterator< T >, and acdk::util::TAbstractListSubListListIterator< T >.

template<class T>
virtual int acdk::util::TListIterator< T >::nextIndex  )  [pure virtual]
 

Implemented in acdk::util::TAbstractListListIterator< T >, and acdk::util::TAbstractListSubListListIterator< T >.

template<class T>
virtual RValueType acdk::util::TListIterator< T >::previous  )  [pure virtual]
 

Implemented in acdk::util::TAbstractListListIterator< T >, and acdk::util::TAbstractListSubListListIterator< T >.

template<class T>
virtual int acdk::util::TListIterator< T >::previousIndex  )  [pure virtual]
 

Implemented in acdk::util::TAbstractListListIterator< T >, and acdk::util::TAbstractListSubListListIterator< T >.

template<class T>
virtual void acdk::util::TListIterator< T >::remove  )  [pure virtual]
 

remove current element from the iterator.

May not support by all Iterator

Implements acdk::util::TIterator< T >.

Implemented in acdk::util::TAbstractListListIterator< T >, and acdk::util::TAbstractListSubListListIterator< T >.

template<class T>
virtual void acdk::util::TListIterator< T >::set IN(RValueType o  )  [pure virtual]
 

Implemented in acdk::util::TAbstractListListIterator< T >, and acdk::util::TAbstractListSubListListIterator< T >.