|
libhatchet
|
#include <hxhash_table.hpp>
Public Member Functions | |
| const_iterator (void) | |
| const_iterator & | operator++ (void) |
| const_iterator | operator++ (int) |
| bool | operator== (const const_iterator &x_) const |
| const node_t_ & | operator* (void) const |
| const node_t_ * | operator-> (void) const |
const_iterator - A const forward iterator over the elements of the hash table.
Iteration is Θ(n + (1 << table_size_bits)). Iterators are only invalidated by the removal of the node_t referenced. WARNING: The iterators will automatically convert themselves to pointers when used in pointer context.
|
inline |
Constructs an iterator pointing to the end of the hash table.
| const node_t_ & hxhash_table< node_t_, deleter_t_, multi_t_, table_size_bits_ >::const_iterator::operator* | ( | void | ) | const |
Dereferences the iterator to access the current node_t.
|
inline |
Advances the iterator to the next element (post-increment).
| const_iterator & hxhash_table< node_t_, deleter_t_, multi_t_, table_size_bits_ >::const_iterator::operator++ | ( | void | ) |
Advances the iterator to the next element.
| const node_t_ * hxhash_table< node_t_, deleter_t_, multi_t_, table_size_bits_ >::const_iterator::operator-> | ( | void | ) | const |
Dereferences the iterator to access the current node_t's pointer.
| bool hxhash_table< node_t_, deleter_t_, multi_t_, table_size_bits_ >::const_iterator::operator== | ( | const const_iterator & | x_ | ) | const |
Compares two iterators for equality.