2005/5/9

     
 

class THashMapEntriesIterator

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

acdk::util::THashMapEntriesIterator< K, V > Class Template Reference

#include <THashMap.h>

Inheritance diagram for acdk::util::THashMapEntriesIterator< K, V >:

acdk::lang::Object acdk::util::TIterator< THashMap< K, V >::RMapEntryType > acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch List of all members.

template<class K, class V>
class acdk::util::THashMapEntriesIterator< K, V >


Public Types

typedef K RKeyType
typedef V RValueType
typedef THashMap< RKeyType,
RValueType
HashMapType
typedef HashMapType::RefType RHashMapType
typedef HashMapType::BucketType BucketType
typedef HashMapType::RBucketType RBucketType
typedef HashMapType::BucketNodeType BucketNodeType
typedef HashMapType::RBucketNodeType RBucketNodeType
typedef HashMapType::RMapEntryType RMapEntryType

Public Member Functions

 THashMapEntriesIterator (IN(RHashMapType) hashMap)
virtual bool hasNext ()
virtual RMapEntryType next ()
virtual void remove ()
 remove current element from the iterator.

virtual RMapEntryType element ()

Public Attributes

int _knownMods
int _position
int _bucketIndex
RBucketNodeType _currentNode
RKeyType _currentKey
RHashMapType _hashMap

Private Member Functions

void _checkMod ()

Member Typedef Documentation

template<class K, class V>
typedef HashMapType::BucketNodeType acdk::util::THashMapEntriesIterator< K, V >::BucketNodeType
 

template<class K, class V>
typedef HashMapType::BucketType acdk::util::THashMapEntriesIterator< K, V >::BucketType
 

template<class K, class V>
typedef THashMap<RKeyType, RValueType> acdk::util::THashMapEntriesIterator< K, V >::HashMapType
 

template<class K, class V>
typedef HashMapType::RBucketNodeType acdk::util::THashMapEntriesIterator< K, V >::RBucketNodeType
 

template<class K, class V>
typedef HashMapType::RBucketType acdk::util::THashMapEntriesIterator< K, V >::RBucketType
 

template<class K, class V>
typedef HashMapType::RefType acdk::util::THashMapEntriesIterator< K, V >::RHashMapType
 

template<class K, class V>
typedef K acdk::util::THashMapEntriesIterator< K, V >::RKeyType
 

template<class K, class V>
typedef HashMapType::RMapEntryType acdk::util::THashMapEntriesIterator< K, V >::RMapEntryType
 

template<class K, class V>
typedef V acdk::util::THashMapEntriesIterator< K, V >::RValueType
 

Reimplemented from acdk::util::TIterator< THashMap< K, V >::RMapEntryType >.


Constructor & Destructor Documentation

template<class K, class V>
acdk::util::THashMapEntriesIterator< K, V >::THashMapEntriesIterator IN(RHashMapType hashMap  )  [inline]
 


Member Function Documentation

template<class K, class V>
void acdk::util::THashMapEntriesIterator< K, V >::_checkMod  )  [inline, private]
 

template<class K, class V>
virtual RMapEntryType acdk::util::THashMapEntriesIterator< K, V >::element  )  [inline, virtual]
 

Implements acdk::util::TIterator< THashMap< K, V >::RMapEntryType >.

template<class K, class V>
virtual bool acdk::util::THashMapEntriesIterator< K, V >::hasNext  )  [inline, virtual]
 

Implements acdk::util::TIterator< THashMap< K, V >::RMapEntryType >.

template<class K, class V>
virtual RMapEntryType acdk::util::THashMapEntriesIterator< K, V >::next  )  [inline, virtual]
 

Implements acdk::util::TIterator< THashMap< K, V >::RMapEntryType >.

template<class K, class V>
virtual void acdk::util::THashMapEntriesIterator< K, V >::remove  )  [inline, virtual]
 

remove current element from the iterator.

May not support by all Iterator

Implements acdk::util::TIterator< THashMap< K, V >::RMapEntryType >.


Member Data Documentation

template<class K, class V>
int acdk::util::THashMapEntriesIterator< K, V >::_bucketIndex
 

template<class K, class V>
RKeyType acdk::util::THashMapEntriesIterator< K, V >::_currentKey
 

template<class K, class V>
RBucketNodeType acdk::util::THashMapEntriesIterator< K, V >::_currentNode
 

template<class K, class V>
RHashMapType acdk::util::THashMapEntriesIterator< K, V >::_hashMap
 

template<class K, class V>
int acdk::util::THashMapEntriesIterator< K, V >::_knownMods
 

template<class K, class V>
int acdk::util::THashMapEntriesIterator< K, V >::_position