ALib C++ Framework
by
Library Version: 2511 R0
Documentation generated by doxygen
Loading...
Searching...
No Matches
alib::containers::LRUCacheTable< TAllocator, TValueDescriptor, THash, TEqual >::Entry Struct Reference

Description:

template<typename TAllocator, typename TValueDescriptor, typename THash = std::hash <typename TValueDescriptor::KeyType>, typename TEqual = std::equal_to<typename TValueDescriptor::KeyType>>
struct alib::containers::LRUCacheTable< TAllocator, TValueDescriptor, THash, TEqual >::Entry

The node type of the cache lists.

Definition at line 165 of file lrucachetable.inl.

Inheritance diagram for alib::containers::LRUCacheTable< TAllocator, TValueDescriptor, THash, TEqual >::Entry:
alib::lang::SidiNodeBase< Entry >

Public Field Index:

StoredType data
 The data cached.
size_t hashCode
 This entries hash code (calculated once on insertion).
Public Field Index: inherited from alib::lang::SidiNodeBase< Entry >
Entry * n

Additional Inherited Members

Public Method Index: inherited from alib::lang::SidiNodeBase< Entry >
 SidiNodeBase () noexcept=default
 Default constructor. (Does not initialize the pointer.).
Entry * addBehind (Entry *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
Entry * removeNext () noexcept
Entry * removeRangeBehind (Entry *last) noexcept

Field Details:

◆ data

template<typename TAllocator, typename TValueDescriptor, typename THash = std::hash <typename TValueDescriptor::KeyType>, typename TEqual = std::equal_to<typename TValueDescriptor::KeyType>>
StoredType alib::containers::LRUCacheTable< TAllocator, TValueDescriptor, THash, TEqual >::Entry::data

The data cached.

Definition at line 168 of file lrucachetable.inl.

◆ hashCode

template<typename TAllocator, typename TValueDescriptor, typename THash = std::hash <typename TValueDescriptor::KeyType>, typename TEqual = std::equal_to<typename TValueDescriptor::KeyType>>
size_t alib::containers::LRUCacheTable< TAllocator, TValueDescriptor, THash, TEqual >::Entry::hashCode

This entries hash code (calculated once on insertion).

Definition at line 167 of file lrucachetable.inl.


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