HashTableDetail::BucketIterator< Key, Value, Hash > Class Template Reference

#include <hashtable.h>

Collaboration diagram for HashTableDetail::BucketIterator< Key, Value, Hash >:
Collaboration graph
[legend]

Public Types

typedef std::forward_iterator_tag iterator_category
typedef std::ptrdiff_t difference_type
typedef difference_type distance_type
typedef KeyValue< Key, Valuevalue_type
typedef value_typepointer
typedef value_typereference

Public Member Functions

 BucketIterator (Node *node)
Nodenode ()
bool operator== (const BucketIterator &other) const
bool operator!= (const BucketIterator &other) const
BucketIteratoroperator++ ()
BucketIterator operator++ (int)
value_typeoperator* () const
value_typeoperator-> () const

Private Types

typedef BucketNode< Key, Value,
Hash > 
Node

Private Member Functions

void increment ()

Private Attributes

Nodem_node

Detailed Description

template<typename Key, typename Value, typename Hash>
class HashTableDetail::BucketIterator< Key, Value, Hash >

Definition at line 103 of file hashtable.h.


Member Typedef Documentation

template<typename Key , typename Value , typename Hash >
typedef std::ptrdiff_t HashTableDetail::BucketIterator< Key, Value, Hash >::difference_type

Definition at line 113 of file hashtable.h.

template<typename Key , typename Value , typename Hash >
typedef difference_type HashTableDetail::BucketIterator< Key, Value, Hash >::distance_type

Definition at line 114 of file hashtable.h.

template<typename Key , typename Value , typename Hash >
typedef std::forward_iterator_tag HashTableDetail::BucketIterator< Key, Value, Hash >::iterator_category

Definition at line 112 of file hashtable.h.

template<typename Key , typename Value , typename Hash >
typedef BucketNode<Key, Value, Hash> HashTableDetail::BucketIterator< Key, Value, Hash >::Node [private]

Definition at line 104 of file hashtable.h.

template<typename Key , typename Value , typename Hash >
typedef value_type* HashTableDetail::BucketIterator< Key, Value, Hash >::pointer

Definition at line 116 of file hashtable.h.

template<typename Key , typename Value , typename Hash >
typedef value_type& HashTableDetail::BucketIterator< Key, Value, Hash >::reference

Definition at line 117 of file hashtable.h.

template<typename Key , typename Value , typename Hash >
typedef KeyValue<Key, Value> HashTableDetail::BucketIterator< Key, Value, Hash >::value_type

Definition at line 115 of file hashtable.h.


Constructor & Destructor Documentation

template<typename Key , typename Value , typename Hash >
HashTableDetail::BucketIterator< Key, Value, Hash >::BucketIterator ( Node node  )  [inline]

Definition at line 119 of file hashtable.h.


Member Function Documentation

template<typename Key , typename Value , typename Hash >
void HashTableDetail::BucketIterator< Key, Value, Hash >::increment (  )  [inline, private]
template<typename Key , typename Value , typename Hash >
Node* HashTableDetail::BucketIterator< Key, Value, Hash >::node (  )  [inline]
template<typename Key , typename Value , typename Hash >
bool HashTableDetail::BucketIterator< Key, Value, Hash >::operator!= ( const BucketIterator< Key, Value, Hash > &  other  )  const [inline]
template<typename Key , typename Value , typename Hash >
value_type& HashTableDetail::BucketIterator< Key, Value, Hash >::operator* (  )  const [inline]
template<typename Key , typename Value , typename Hash >
BucketIterator HashTableDetail::BucketIterator< Key, Value, Hash >::operator++ ( int   )  [inline]
template<typename Key , typename Value , typename Hash >
BucketIterator& HashTableDetail::BucketIterator< Key, Value, Hash >::operator++ (  )  [inline]
template<typename Key , typename Value , typename Hash >
value_type* HashTableDetail::BucketIterator< Key, Value, Hash >::operator-> (  )  const [inline]
template<typename Key , typename Value , typename Hash >
bool HashTableDetail::BucketIterator< Key, Value, Hash >::operator== ( const BucketIterator< Key, Value, Hash > &  other  )  const [inline]

Field Documentation

template<typename Key , typename Value , typename Hash >
Node* HashTableDetail::BucketIterator< Key, Value, Hash >::m_node [private]

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

Generated by  doxygen 1.6.2