2005/5/9

     
 

class TAbstractListListIterator

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

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

#include <TAbstractListListIterator.h>

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

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

Detailed Description

template<class T>
class acdk::util::TAbstractListListIterator< 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.7
Date:
Date
2005/04/09 19:26:57


Public Types

typedef T RValueType
typedef TList< RValueTypeListType
typedef ListType::RefType RListType
typedef TListIterator< RValueTypeListIteratorType
typedef ListIteratorType::RefType RListIteratorType
typedef TAbstractList< RValueTypeAbstractListType
typedef AbstractListType::RefType RAbstractListType
typedef TAbstractListListIterator<
RValueType
AbstractListListIteratorType
typedef RefHolder< AbstractListListIteratorTypeRAbstractListListIteratorType
typedef RAbstractListListIteratorType RefType

Public Member Functions

 TAbstractListListIterator (IN(RAbstractListType) list, int index)
virtual bool hasNext ()
virtual bool hasPrevious ()
virtual RValueType next ()
virtual RValueType element ()
virtual RValueType previous ()
virtual int nextIndex ()
virtual int previousIndex ()
virtual void remove ()
 remove current element from the iterator.

virtual void set (IN(RValueType) o)
virtual void add (IN(RValueType) o)

Private Member Functions

void _checkMod ()

Private Attributes

RAbstractListType _list
int _knownMod
int _position
transient int _lastReturned


Member Typedef Documentation

template<class T>
typedef TAbstractListListIterator<RValueType> acdk::util::TAbstractListListIterator< T >::AbstractListListIteratorType
 

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

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

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

template<class T>
typedef TList<RValueType> acdk::util::TAbstractListListIterator< T >::ListType
 

template<class T>
typedef RefHolder<AbstractListListIteratorType> acdk::util::TAbstractListListIterator< T >::RAbstractListListIteratorType
 

template<class T>
typedef AbstractListType::RefType acdk::util::TAbstractListListIterator< T >::RAbstractListType
 

template<class T>
typedef RAbstractListListIteratorType acdk::util::TAbstractListListIterator< T >::RefType
 

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

template<class T>
typedef ListIteratorType::RefType acdk::util::TAbstractListListIterator< T >::RListIteratorType
 

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

template<class T>
typedef ListType::RefType acdk::util::TAbstractListListIterator< T >::RListType
 

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

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


Constructor & Destructor Documentation

template<class T>
acdk::util::TAbstractListListIterator< T >::TAbstractListListIterator IN(RAbstractListType list,
int  index
[inline]
 


Member Function Documentation

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

template<class T>
virtual void acdk::util::TAbstractListListIterator< T >::add IN(RValueType o  )  [inline, virtual]
 

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

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

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

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

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

template<class T>
virtual bool acdk::util::TAbstractListListIterator< T >::hasPrevious  )  [inline, virtual]
 

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

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

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

template<class T>
virtual int acdk::util::TAbstractListListIterator< T >::nextIndex  )  [inline, virtual]
 

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

template<class T>
virtual RValueType acdk::util::TAbstractListListIterator< T >::previous  )  [inline, virtual]
 

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

template<class T>
virtual int acdk::util::TAbstractListListIterator< T >::previousIndex  )  [inline, virtual]
 

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

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

remove current element from the iterator.

May not support by all Iterator

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

template<class T>
virtual void acdk::util::TAbstractListListIterator< T >::set IN(RValueType o  )  [inline, virtual]
 

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


Member Data Documentation

template<class T>
int acdk::util::TAbstractListListIterator< T >::_knownMod [private]
 

template<class T>
transient int acdk::util::TAbstractListListIterator< T >::_lastReturned [private]
 

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

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