|
JASSv2
|
Iterate over the hash table. More...
#include <hash_table.h>

Public Member Functions | |
| iterator (const hash_table &over, size_t current) | |
| Constructor. More... | |
| const std::pair< const KEY &, const ELEMENT & > | operator* () const |
| Return a reference to the object at the current location. More... | |
| bool | operator!= (const iterator &other) const |
| Compare two iterator objects for non-equality. More... | |
| iterator & | operator++ () |
| Increment this iterator. | |
Private Attributes | |
| const hash_table< KEY, ELEMENT, BITS > & | iterand |
| The hash table being iterated over. | |
| size_t | location |
| Current node in the hash table. | |
| binary_tree< KEY, ELEMENT >::iterator | tree_iterator |
| Iterator over the binary tree at the current hash table node. | |
| binary_tree< KEY, ELEMENT >::iterator | tree_iterator_end |
| When to end iterating over the binary tree at the current hash table node. | |
Iterate over the hash table.
|
inline |
Constructor.
| over | [in] The hash table to iterate over. |
| current | [in] The node to start at. |
|
inline |
Compare two iterator objects for non-equality.
| other | [in] The iterator object to compare to. |
|
inline |
Return a reference to the object at the current location.
1.8.13