Public Member Functions | Data Fields | Protected Member Functions | Friends

TSHashTable< H >::iterator Struct Reference

Standard iterator for walking the table. More...

#include <Map.h>

Collaboration diagram for TSHashTable< H >::iterator:
Collaboration graph
[legend]

Public Member Functions

 iterator ()
iteratoroperator++ ()
Valueoperator* ()
Valueoperator-> ()
bool operator== (iterator const &that)
bool operator!= (iterator const &that)

Data Fields

Valuem_value
 Current location.
Bucketm_bucket
 Current bucket;.

Protected Member Functions

 iterator (Bucket *b, Value *v)
 Internal iterator constructor.

Friends

class TSHashTable

Detailed Description

template<typename H>
struct TSHashTable< H >::iterator

Standard iterator for walking the table.

This iterates over all elements.

Definition at line 1134 of file Map.h.


Constructor & Destructor Documentation

template<typename H>
TSHashTable< H >::iterator::iterator (  )  [inline]

Definition at line 1138 of file Map.h.

template<typename H>
TSHashTable< H >::iterator::iterator ( Bucket b,
Value v 
) [inline, protected]

Internal iterator constructor.

Definition at line 1147 of file Map.h.


Member Function Documentation

template<typename H>
bool TSHashTable< H >::iterator::operator!= ( iterator const &  that  )  [inline]

Definition at line 1143 of file Map.h.

template<typename H>
Value& TSHashTable< H >::iterator::operator* (  )  [inline]

Definition at line 1140 of file Map.h.

References TSHashTable< H >::iterator::m_value.

template<typename H >
TSHashTable< H >::iterator & TSHashTable< H >::iterator::operator++ (  ) 
template<typename H>
Value* TSHashTable< H >::iterator::operator-> (  )  [inline]

Definition at line 1141 of file Map.h.

References TSHashTable< H >::iterator::m_value.

template<typename H>
bool TSHashTable< H >::iterator::operator== ( iterator const &  that  )  [inline]

Friends And Related Function Documentation

template<typename H>
friend class TSHashTable [friend]

Definition at line 1148 of file Map.h.


Field Documentation

template<typename H>
Bucket* TSHashTable< H >::iterator::m_bucket

Current bucket;.

Definition at line 1136 of file Map.h.

Referenced by TSHashTable< H >::iterator::operator++(), and TSHashTable< H >::iterator::operator==().

template<typename H>
Value* TSHashTable< H >::iterator::m_value

The documentation for this struct was generated from the following file: