ALib C++ Library
Library Version: 2312 R0
Documentation generated by doxygen
Public Static Fields | Public Fields | Public Methods | List of all members
HashTableElementUncached< T, TStored > Struct Template Reference
Inheritance diagram for HashTableElementUncached< T, TStored >:
[legend]
Collaboration diagram for HashTableElementUncached< T, TStored >:
[legend]

Class Description

template<typename T, typename TStored>
struct aworx::lib::monomem::detail::HashTableElementUncached< T, TStored >

Type used by HashTableBase::Element if hash codes are not cached.

Definition at line 120 of file hashtablebase.inl.

Public Static Fields

static constexpr bool CachedHashCodes = 0
 

Public Fields

union {
   TStored   value
 The value as seen internally.
 
   T   valueExternal
 The value as seen externally.
 
}; 
 
- Public Fields inherited from SidiNodeBase< HashTableElementUncached< T, TStored > >
HashTableElementUncached< T, TStored > * pnext
 

Public Methods

 ~HashTableElementUncached ()=delete
 
void destruct ()
 
void fixHashCode (size_t pHashCode)
 
size_t getCached ()
 
- Public Methods inherited from SidiNodeBase< HashTableElementUncached< T, TStored > >
 SidiNodeBase () noexcept=default
 
 SidiNodeBase (const SidiNodeBase &)=delete
 
 SidiNodeBase (HashTableElementUncached< T, TStored > *next) noexcept
 
 SidiNodeBase (SidiNodeBase &&) noexcept=default
 
HashTableElementUncached< T, TStored > * addBehind (HashTableElementUncached< T, TStored > *elem)
 
integer count (SidiNodeBase *end=nullptr) const
 
bool hasNext () const
 
HashTableElementUncached< T, TStored > * next () const
 
void next (SidiNodeBase *p)
 
SidiNodeBaseoperator= (const SidiNodeBase &)=delete
 
SidiNodeBaseoperator= (SidiNodeBase &&) noexcept=default
 
bool pointsTo (const SidiNodeBase *elem) const
 
HashTableElementUncached< T, TStored > * removeNext ()
 
HashTableElementUncached< T, TStored > * removeRangeBehind (HashTableElementUncached< T, TStored > *last)
 

Constructor & Destructor Documentation

◆ ~HashTableElementUncached()

Deleted default constructor. (Needed to avoid warning with msc).

Member Function Documentation

◆ destruct()

void destruct ( )
inline

Invokes the destructor of templated custom member TStored.

Definition at line 145 of file hashtablebase.inl.

◆ fixHashCode()

void fixHashCode ( size_t  pHashCode)
inline

Does nothing, parameter ignored.

Parameters
pHashCodeIgnored

Definition at line 138 of file hashtablebase.inl.

◆ getCached()

size_t getCached ( )
inline

Never called.

Returns
Undefined.

Definition at line 142 of file hashtablebase.inl.

Member Data Documentation

◆ @3

union { ... }

The custom data stored in nodes of this table.

◆ CachedHashCodes

constexpr bool CachedHashCodes = 0
staticconstexpr

TMP constant that denotes that hash codes are not cached.

Definition at line 126 of file hashtablebase.inl.


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