Type used by HashTableBase::Element if hash codes are cached.
Definition at line 79 of file hashtablebase.inl.
Public Static Field Index: | |
static constexpr bool | CachedHashCodes = 1 |
Public Field Index: | ||
union { | ||
TStored value | ||
The value as seen internally. More... | ||
T valueExternal | ||
The value as seen externally. More... | ||
}; | ||
size_t | hashCode | |
The cached hash code. | ||
Public Field Index: inherited from SidiNodeBase< HashTableElementCached< T, TStored > > | ||
HashTableElementCached< T, TStored > * | pnext | |
Public Method Index: | |
~HashTableElementCached ()=delete | |
void | destruct () |
void | fixHashCode (size_t pHashCode) |
size_t | getCached () |
Public Method Index: inherited from SidiNodeBase< HashTableElementCached< T, TStored > > | |
SidiNodeBase () noexcept=default | |
SidiNodeBase (const SidiNodeBase &)=delete | |
SidiNodeBase (HashTableElementCached< T, TStored > *next) noexcept | |
SidiNodeBase (SidiNodeBase &&) noexcept=default | |
HashTableElementCached< T, TStored > * | addBehind (HashTableElementCached< T, TStored > *elem) |
integer | count (SidiNodeBase *end=nullptr) const |
bool | hasNext () const |
HashTableElementCached< T, TStored > * | next () const |
void | next (SidiNodeBase *p) |
SidiNodeBase & | operator= (const SidiNodeBase &)=delete |
SidiNodeBase & | operator= (SidiNodeBase &&) noexcept=default |
bool | pointsTo (const SidiNodeBase *elem) const |
HashTableElementCached< T, TStored > * | removeNext () |
HashTableElementCached< T, TStored > * | removeRangeBehind (HashTableElementCached< T, TStored > *last) |
union { ... } |
The custom data stored in nodes of this table.
|
staticconstexpr |
TMP constant that denotes that hash codes are cached.
Definition at line 85 of file hashtablebase.inl.
size_t hashCode |
The cached hash code.
Definition at line 94 of file hashtablebase.inl.
TStored value |
The value as seen internally.
Definition at line 90 of file hashtablebase.inl.
T valueExternal |
The value as seen externally.
Definition at line 91 of file hashtablebase.inl.
|
delete |
Deleted default destructor. (Needed to avoid warning with msc).
|
inline |
Invokes the destructor of templated custom member TStored .
Definition at line 111 of file hashtablebase.inl.
|
inline |
Stores the given hash code when an element is recycled or extracted and changed.
pHashCode | The new hash code to set for this (recycled) element. |
Definition at line 98 of file hashtablebase.inl.
|
inline |
Returns the cached hash code.
Definition at line 105 of file hashtablebase.inl.