Standard iterator for walking the table. More...
#include <Map.h>
Public Member Functions | |
iterator () | |
iterator & | operator++ () |
Value & | operator* () |
Value * | operator-> () |
bool | operator== (iterator const &that) |
bool | operator!= (iterator const &that) |
Data Fields | |
Value * | m_value |
Current location. | |
Bucket * | m_bucket |
Current bucket;. | |
Protected Member Functions | |
iterator (Bucket *b, Value *v) | |
Internal iterator constructor. | |
Friends | |
class | TSHashTable |
Standard iterator for walking the table.
This iterates over all elements.
Definition at line 1134 of file Map.h.
TSHashTable< H >::iterator::iterator | ( | ) | [inline] |
TSHashTable< H >::iterator::iterator | ( | Bucket * | b, | |
Value * | v | |||
) | [inline, protected] |
bool TSHashTable< H >::iterator::operator!= | ( | iterator const & | that | ) | [inline] |
Value& TSHashTable< H >::iterator::operator* | ( | ) | [inline] |
Definition at line 1140 of file Map.h.
References TSHashTable< H >::iterator::m_value.
TSHashTable< H >::iterator & TSHashTable< H >::iterator::operator++ | ( | ) |
Definition at line 1270 of file Map.h.
References ink_assert, TSHashTable< H >::iterator::m_bucket, TSHashTable< H >::Bucket::m_chain, TSHashTable< H >::iterator::m_value, and DLL< Bucket, typename Bucket::Link_m_link >::next().
Value* TSHashTable< H >::iterator::operator-> | ( | ) | [inline] |
Definition at line 1141 of file Map.h.
References TSHashTable< H >::iterator::m_value.
bool TSHashTable< H >::iterator::operator== | ( | iterator const & | that | ) | [inline] |
Definition at line 1142 of file Map.h.
References TSHashTable< H >::iterator::m_bucket, and TSHashTable< H >::iterator::m_value.
friend class TSHashTable [friend] |
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==().
Value* TSHashTable< H >::iterator::m_value |
Current location.
Definition at line 1135 of file Map.h.
Referenced by TSHashTable< H >::iterator::operator*(), TSHashTable< H >::iterator::operator++(), TSHashTable< H >::iterator::operator->(), and TSHashTable< H >::iterator::operator==().