|
HDK
|
Base class for search keys for UT_CappedCache. More...
#include <UT_CappedCache.h>
Inheritance diagram for UT_CappedKey:Public Member Functions | |
| UT_CappedKey () | |
| virtual | ~UT_CappedKey () |
| virtual UT_CappedKey * | duplicate () const =0 |
| The duplicate() method should return a copy of the key. More... | |
| virtual unsigned int | getHash () const =0 |
| Return a hash for the key. More... | |
| virtual bool | isEqual (const UT_CappedKey &key) const =0 |
| Test equality. More... | |
Public Member Functions inherited from UT_IntrusiveRefCounter< UT_CappedKey > | |
| SYS_FORCE_INLINE | UT_IntrusiveRefCounter () noexcept |
| Default constructor: Sets counter to 0. More... | |
| SYS_FORCE_INLINE | UT_IntrusiveRefCounter (const UT_IntrusiveRefCounter &) noexcept |
| Copy constructor: Sets counter to 0. More... | |
| UT_IntrusiveRefCounter & | operator= (const UT_IntrusiveRefCounter &) noexcept |
| Assignment operator: Does not modify counter. More... | |
| SYS_FORCE_INLINE uint32 | use_count () const noexcept |
| Return current counter. More... | |
| SYS_FORCE_INLINE bool | conditionalAddRef () noexcept |
Protected Member Functions | |
| UT_CappedKey (const UT_CappedKey &)=default | |
| UT_CappedKey & | operator= (const UT_CappedKey &)=delete |
Protected Member Functions inherited from UT_IntrusiveRefCounter< UT_CappedKey > | |
| SYS_FORCE_INLINE | ~UT_IntrusiveRefCounter () |
| Destructor: Only derived classes can destruct this. More... | |
Base class for search keys for UT_CappedCache.
Definition at line 28 of file UT_CappedCache.h.
| UT_CappedKey::UT_CappedKey | ( | ) |
|
virtual |
|
protecteddefault |
|
pure virtual |
The duplicate() method should return a copy of the key.
Implemented in GusdUT_CappedKey< KeyT, HashCompare >, and UT_LocalDiskCacheKey.
|
pure virtual |
Return a hash for the key.
Implemented in GusdUT_CappedKey< KeyT, HashCompare >, and UT_LocalDiskCacheKey.
|
pure virtual |
Test equality.
Implemented in GusdUT_CappedKey< KeyT, HashCompare >, and UT_LocalDiskCacheKey.
|
protecteddelete |