2005/5/9

     
 

class TAbstractListIterator

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

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

#include <TAbstractListIterator.h>

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

acdk::lang::Object acdk::util::TIterator< T > acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch List of all members.

Detailed Description

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

this is just a private implementation of the Iterator for AbstractList API: Java<br/>

Author:
Roger Rene Kommer (mailto:kommer@artefaktur.com)
Version:
Revision
1.8
Date:
Date
2005/04/09 19:26:57


Public Types

typedef T RValueType
typedef TAbstractListIterator<
RValueType
AbstractListIteratorType
typedef RefHolder< AbstractListIteratorTypeRAbstractListIteratorType
typedef RAbstractListIteratorType RefType
typedef TAbstractList< RValueTypeAbstractListType
typedef RefHolder< AbstractListTypeRAbstractListType

Public Member Functions

 TAbstractListIterator (IN(RAbstractListType) list)
virtual bool hasNext ()
virtual RValueType next ()
virtual void remove ()
 remove current element from the iterator.

virtual RValueType element ()

Private Member Functions

void _checkMod ()

Private Attributes

RAbstractListType _list
int _knownMod
int _position
bool _removed


Member Typedef Documentation

template<class T>
typedef TAbstractListIterator<RValueType> acdk::util::TAbstractListIterator< T >::AbstractListIteratorType
 

template<class T>
typedef TAbstractList<RValueType> acdk::util::TAbstractListIterator< T >::AbstractListType
 

template<class T>
typedef RefHolder<AbstractListIteratorType> acdk::util::TAbstractListIterator< T >::RAbstractListIteratorType
 

template<class T>
typedef RefHolder<AbstractListType> acdk::util::TAbstractListIterator< T >::RAbstractListType
 

template<class T>
typedef RAbstractListIteratorType acdk::util::TAbstractListIterator< T >::RefType
 

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

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

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


Constructor & Destructor Documentation

template<class T>
acdk::util::TAbstractListIterator< T >::TAbstractListIterator IN(RAbstractListType list  )  [inline]
 


Member Function Documentation

template<class T>
void acdk::util::TAbstractListIterator< T >::_checkMod  )  [inline, private]
 

template<class T>
virtual RValueType acdk::util::TAbstractListIterator< T >::element  )  [inline, virtual]
 

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

template<class T>
virtual bool acdk::util::TAbstractListIterator< T >::hasNext  )  [inline, virtual]
 

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

template<class T>
virtual RValueType acdk::util::TAbstractListIterator< T >::next  )  [inline, virtual]
 

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

template<class T>
virtual void acdk::util::TAbstractListIterator< T >::remove  )  [inline, virtual]
 

remove current element from the iterator.

May not support by all Iterator

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


Member Data Documentation

template<class T>
int acdk::util::TAbstractListIterator< T >::_knownMod [mutable, private]
 

template<class T>
RAbstractListType acdk::util::TAbstractListIterator< T >::_list [private]
 

template<class T>
int acdk::util::TAbstractListIterator< T >::_position [private]
 

template<class T>
bool acdk::util::TAbstractListIterator< T >::_removed [mutable, private]