ALib C++ Library
Library Version: 2412 R0
Documentation generated by doxygen
Loading...
Searching...
No Matches
HTElementUncached< TStored > Struct Template Reference

Description:

template<typename TStored>
struct alib::containers::detail::HTElementUncached< TStored >

HashTable element type if hash codes are not cached.

Template Parameters
TStoredThe custom data stored.

Definition at line 76 of file hashtablebase.inl.

Inheritance diagram for HTElementUncached< TStored >:
[legend]
Collaboration diagram for HTElementUncached< TStored >:
[legend]

Public Static Field Index:

static constexpr bool CachedHashCodes = 0
 TMP constant that denotes that hash codes are not cached.
 

Public Field Index:

TStored value
 The custom data stored in nodes of this table.
 
- Public Field Index: inherited from SidiNodeBase< HTElementUncached< TStored > >
HTElementUncached< TStored > * n
 

Public Method Index:

void fixHashCode (size_t pHashCode)
 
size_t getCached ()
 
- Public Method Index: inherited from SidiNodeBase< HTElementUncached< TStored > >
 SidiNodeBase () noexcept=default
 Default constructor. (Does not initialize the pointer.)
 
 SidiNodeBase (const SidiNodeBase &)=delete
 
 SidiNodeBase (HTElementUncached< TStored > *next) noexcept
 
 SidiNodeBase (SidiNodeBase &&) noexcept=default
 Defaulted move constructor.
 
HTElementUncached< TStored > * addBehind (HTElementUncached< TStored > *elem) noexcept
 
integer count (SidiNodeBase *end=nullptr) const noexcept
 
bool hasNext () const
 
HTElementUncached< TStored > * next () const
 
void next (SidiNodeBase *p)
 
SidiNodeBaseoperator= (const SidiNodeBase &)=delete
 
SidiNodeBaseoperator= (SidiNodeBase &&) noexcept=default
 
bool pointsTo (const SidiNodeBase *elem) const
 
HTElementUncached< TStored > * removeNext () noexcept
 
HTElementUncached< TStored > * removeRangeBehind (HTElementUncached< TStored > *last) noexcept
 

Field Details:

◆ CachedHashCodes

template<typename TStored >
bool CachedHashCodes = 0
staticconstexpr

TMP constant that denotes that hash codes are not cached.

Definition at line 79 of file hashtablebase.inl.

◆ value

template<typename TStored >
TStored value

The custom data stored in nodes of this table.

Definition at line 82 of file hashtablebase.inl.

Method Details:

◆ fixHashCode()

template<typename TStored >
void fixHashCode ( size_t pHashCode)
inline

Does nothing, parameter ignored.

Parameters
pHashCodeIgnored

Definition at line 86 of file hashtablebase.inl.

◆ getCached()

template<typename TStored >
size_t getCached ( )
inline

Never called.

Returns
Undefined.

Definition at line 90 of file hashtablebase.inl.


The documentation for this struct was generated from the following file: