ALib C++ Framework
by
Library Version: 2511 R0
Documentation generated by doxygen
Loading...
Searching...
No Matches
alib::containers::detail::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 64 of file hashtablebase.inl.

Inheritance diagram for alib::containers::detail::HTElementUncached< TStored >:
alib::lang::SidiNodeBase< HTElementUncached< TStored > >

Public Static Field Index:

static constexpr bool CachedHashCodes = 0
 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 alib::lang::SidiNodeBase< HTElementUncached< TStored > >
HTElementUncached< TStored > * n

Public Method Index:

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

Field Details:

◆ CachedHashCodes

template<typename TStored>
bool alib::containers::detail::HTElementUncached< TStored >::CachedHashCodes = 0
staticconstexpr

Denotes that hash codes are not cached.

Definition at line 67 of file hashtablebase.inl.

◆ value

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

The custom data stored in nodes of this table.

Definition at line 70 of file hashtablebase.inl.

Method Details:

◆ fixHashCode()

template<typename TStored>
void alib::containers::detail::HTElementUncached< TStored >::fixHashCode ( size_t pHashCode)
inline

Does nothing, parameter ignored.

Parameters
pHashCodeIgnored

Definition at line 74 of file hashtablebase.inl.

◆ getCached()

template<typename TStored>
size_t alib::containers::detail::HTElementUncached< TStored >::getCached ( )
inline

Never called.

Returns
Undefined.

Definition at line 78 of file hashtablebase.inl.


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