2005/5/9

     
 

class TDoubleIterator

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

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

#include <TDoubleIterator.h>

Inheritance diagram for acdk::util::TDoubleIterator< 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::TDoubleIterator< T >

Joins 2 Iterator to single one.

At first, all elements in iterator1 will listed. 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 TIterator< T > IteratorType
typedef IteratorType::RefType RIteratorType
typedef RefHolder< IteratorTypeRefType
typedef T ValueType
typedef ValueType::RefType RValueType

Public Member Functions

 TDoubleIterator (IN(RIteratorType) it1, IN(RIteratorType) it2)
virtual bool hasNext ()
virtual RValueType next ()
virtual RValueType element ()
virtual void remove ()
 remove current element from the iterator.


Private Attributes

RIteratorType _it1
RIteratorType _it2
bool _in1
bool _checkinin1


Member Typedef Documentation

template<class T>
typedef TIterator<T> acdk::util::TDoubleIterator< T >::IteratorType
 

template<class T>
typedef RefHolder<IteratorType> acdk::util::TDoubleIterator< T >::RefType
 

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

template<class T>
typedef IteratorType::RefType acdk::util::TDoubleIterator< T >::RIteratorType
 

template<class T>
typedef ValueType::RefType acdk::util::TDoubleIterator< T >::RValueType
 

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

template<class T>
typedef T acdk::util::TDoubleIterator< T >::ValueType
 


Constructor & Destructor Documentation

template<class T>
acdk::util::TDoubleIterator< T >::TDoubleIterator IN(RIteratorType it1,
IN(RIteratorType it2
[inline]
 


Member Function Documentation

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

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

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

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

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

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

template<class T>
virtual void acdk::util::TDoubleIterator< 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>
bool acdk::util::TDoubleIterator< T >::_checkinin1 [mutable, private]
 

template<class T>
bool acdk::util::TDoubleIterator< T >::_in1 [mutable, private]
 

template<class T>
RIteratorType acdk::util::TDoubleIterator< T >::_it1 [private]
 

template<class T>
RIteratorType acdk::util::TDoubleIterator< T >::_it2 [private]