HDK
|
#include <UT_CappedCache.h>
Public Member Functions | |
GusdUT_CappedKey () | |
GusdUT_CappedKey (const KeyT &key) | |
~GusdUT_CappedKey () override | |
UT_CappedKey * | duplicate () const override |
The duplicate() method should return a copy of the key. More... | |
unsigned | getHash () const override |
Return a hash for the key. More... | |
bool | isEqual (const UT_CappedKey &key) const override |
Test equality. More... | |
KeyT * | operator-> () |
const KeyT * | operator-> () const |
KeyT & | operator* () |
const KeyT & | operator* () const |
Public Member Functions inherited from UT_CappedKey | |
UT_CappedKey () | |
virtual | ~UT_CappedKey () |
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 |
Additional Inherited Members | |
Protected Member Functions inherited from UT_CappedKey | |
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... | |
Convenience wrapper around UT_CappedKey. This allows keys to be constructed in TBB's style. These can only be used in a UT_CappedCache if all keys in the cache have the same type.
Definition at line 47 of file UT_CappedCache.h.
|
inline |
Definition at line 50 of file UT_CappedCache.h.
|
inline |
Definition at line 51 of file UT_CappedCache.h.
|
inlineoverride |
Definition at line 53 of file UT_CappedCache.h.
|
inlineoverridevirtual |
The duplicate() method should return a copy of the key.
Implements UT_CappedKey.
Definition at line 55 of file UT_CappedCache.h.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inline |
Definition at line 70 of file UT_CappedCache.h.
|
inline |
Definition at line 71 of file UT_CappedCache.h.
|
inline |
Definition at line 68 of file UT_CappedCache.h.
|
inline |
Definition at line 69 of file UT_CappedCache.h.