#include <hashtable.h>
Public Types | |
typedef std::forward_iterator_tag | iterator_category |
typedef std::ptrdiff_t | difference_type |
typedef difference_type | distance_type |
typedef KeyValue< Key, Value > | value_type |
typedef value_type * | pointer |
typedef value_type & | reference |
Public Member Functions | |
BucketIterator (Node *node) | |
Node * | node () |
bool | operator== (const BucketIterator &other) const |
bool | operator!= (const BucketIterator &other) const |
BucketIterator & | operator++ () |
BucketIterator | operator++ (int) |
value_type & | operator* () const |
value_type * | operator-> () const |
Private Types | |
typedef BucketNode< Key, Value, Hash > | Node |
Private Member Functions | |
void | increment () |
Private Attributes | |
Node * | m_node |
Definition at line 103 of file hashtable.h.
typedef std::ptrdiff_t HashTableDetail::BucketIterator< Key, Value, Hash >::difference_type |
Definition at line 113 of file hashtable.h.
typedef difference_type HashTableDetail::BucketIterator< Key, Value, Hash >::distance_type |
Definition at line 114 of file hashtable.h.
typedef std::forward_iterator_tag HashTableDetail::BucketIterator< Key, Value, Hash >::iterator_category |
Definition at line 112 of file hashtable.h.
typedef BucketNode<Key, Value, Hash> HashTableDetail::BucketIterator< Key, Value, Hash >::Node [private] |
Definition at line 104 of file hashtable.h.
typedef value_type* HashTableDetail::BucketIterator< Key, Value, Hash >::pointer |
Definition at line 116 of file hashtable.h.
typedef value_type& HashTableDetail::BucketIterator< Key, Value, Hash >::reference |
Definition at line 117 of file hashtable.h.
typedef KeyValue<Key, Value> HashTableDetail::BucketIterator< Key, Value, Hash >::value_type |
Definition at line 115 of file hashtable.h.
HashTableDetail::BucketIterator< Key, Value, Hash >::BucketIterator | ( | Node * | node | ) | [inline] |
Definition at line 119 of file hashtable.h.
void HashTableDetail::BucketIterator< Key, Value, Hash >::increment | ( | ) | [inline, private] |
Definition at line 107 of file hashtable.h.
References HashTableDetail::BucketNode< Key, Value, Hash >::getNext(), and HashTableDetail::BucketIterator< Key, Value, Hash >::m_node.
Referenced by HashTableDetail::BucketIterator< Key, Value, Hash >::operator++().
Node* HashTableDetail::BucketIterator< Key, Value, Hash >::node | ( | ) | [inline] |
Definition at line 122 of file hashtable.h.
References HashTableDetail::BucketIterator< Key, Value, Hash >::m_node.
Referenced by HashTable< Key, Element, Hasher, KeyEqual >::erase().
bool HashTableDetail::BucketIterator< Key, Value, Hash >::operator!= | ( | const BucketIterator< Key, Value, Hash > & | other | ) | const [inline] |
Definition at line 129 of file hashtable.h.
References HashTableDetail::BucketIterator< Key, Value, Hash >::operator==().
value_type& HashTableDetail::BucketIterator< Key, Value, Hash >::operator* | ( | ) | const [inline] |
Definition at line 141 of file hashtable.h.
References HashTableDetail::BucketIterator< Key, Value, Hash >::m_node, and HashTableDetail::BucketNode< Key, Value, Hash >::m_value.
Referenced by HashTableDetail::BucketIterator< Key, Value, Hash >::operator->().
BucketIterator HashTableDetail::BucketIterator< Key, Value, Hash >::operator++ | ( | int | ) | [inline] |
Definition at line 136 of file hashtable.h.
References HashTableDetail::BucketIterator< Key, Value, Hash >::increment().
BucketIterator& HashTableDetail::BucketIterator< Key, Value, Hash >::operator++ | ( | ) | [inline] |
Definition at line 132 of file hashtable.h.
References HashTableDetail::BucketIterator< Key, Value, Hash >::increment().
value_type* HashTableDetail::BucketIterator< Key, Value, Hash >::operator-> | ( | ) | const [inline] |
Definition at line 144 of file hashtable.h.
References HashTableDetail::BucketIterator< Key, Value, Hash >::operator*().
bool HashTableDetail::BucketIterator< Key, Value, Hash >::operator== | ( | const BucketIterator< Key, Value, Hash > & | other | ) | const [inline] |
Definition at line 126 of file hashtable.h.
References HashTableDetail::BucketIterator< Key, Value, Hash >::m_node.
Referenced by HashTableDetail::BucketIterator< Key, Value, Hash >::operator!=().
Node* HashTableDetail::BucketIterator< Key, Value, Hash >::m_node [private] |
Definition at line 105 of file hashtable.h.
Referenced by HashTableDetail::BucketIterator< Key, Value, Hash >::increment(), HashTableDetail::BucketIterator< Key, Value, Hash >::node(), HashTableDetail::BucketIterator< Key, Value, Hash >::operator*(), and HashTableDetail::BucketIterator< Key, Value, Hash >::operator==().