|
BDE 4.14.0 Production release
|
#include <bdlc_flathashtable.h>
Public Member Functions | |
| FlatHashTable_IteratorImp () | |
| FlatHashTable_IteratorImp (ENTRY *entries, const bsl::uint8_t *controls, bsl::size_t additionalLength) | |
| FlatHashTable_IteratorImp (const FlatHashTable_IteratorImp &original) | |
| ~FlatHashTable_IteratorImp ()=default | |
| FlatHashTable_IteratorImp & | operator= (const FlatHashTable_IteratorImp &rhs) |
| void | operator++ () |
| ENTRY & | operator* () const |
Friends | |
| bool | operator== (const FlatHashTable_IteratorImp &, const FlatHashTable_IteratorImp &) |
This class implements the methods required by bsl::ForwardIterator to provide forward iterators. As such, an instance of this class represents a position within a flat hash table. This class uses no features of the ENTRY type except for addresses of ENTRY objects.
|
inline |
Create a FlatHashTable_IteratorImp having the default, non-dereferencable value.
|
inline |
Create a FlatHashTable_IteratorImp referencing the first element of the specified entries and controls, which have the specified additionalLength values. The behavior is undefined unless entries points to at least 1 + additionalLength entry values and controls points to at least 1 + additionalLength + ControlGroup::k_SIZE control values.
|
inline |
Create a FlatHashTable_IteratorImp having the same value as the specified original.
|
default |
|
inline |
Return a reference to the element referred to by this FlatHashTable_IteratorImp. The behavior is undefined unless this FlatHashTable_IteratorImp() != *this.
|
inline |
Advance the FlatHashTable_IteratorImp to the next present element in the underlying flat hash table. If there is no such element, assign this object to FlatHashTable_InteratorImp(). The behavior is undefined unless this FlatHashTable_IteratorImp refers to a valid element of the underlying sequence.
|
inline |
Assign to this FlatHashTable_IteratorImp the value of the specified rhs.
|
friend |
Return true if the specified a and b are equal. Two FlatHashTable_IteratorImp objects are equal if they both refer to the same element of the underlying flat hash table, or are both not dereferenceable. The behavior is undefined unless a and b refer to the same FlatHashTable.