CatapultServer  v0.5.0.1 (Elephant)
catapult::cache::CacheStorageForBasicInsertRemoveCache< TDescriptor > Struct Template Reference

Defines cache storage for cache with basic insert remove support. More...

Inheritance diagram for catapult::cache::CacheStorageForBasicInsertRemoveCache< TDescriptor >:
Collaboration diagram for catapult::cache::CacheStorageForBasicInsertRemoveCache< TDescriptor >:

Static Public Member Functions

static void LoadInto (const typename TDescriptor::ValueType &value, typename TDescriptor::CacheDeltaType &cacheDelta)
 Loads value into cacheDelta. More...
 
static void Purge (const typename TDescriptor::ValueType &value, typename TDescriptor::CacheDeltaType &cacheDelta)
 Purges value from cacheDelta. More...
 

Additional Inherited Members

- Public Types inherited from catapult::cache::CacheStorageFromDescriptor< TDescriptor >
using SourceType = typename TDescriptor::CacheViewType
 Cache view type. More...
 
using DestinationType = typename TDescriptor::CacheDeltaType
 Cache delta type. More...
 
using KeyType = typename TDescriptor::KeyType
 Cache key type. More...
 
using ValueType = typename TDescriptor::ValueType
 Cache value type. More...
 

Detailed Description

template<typename TDescriptor>
struct catapult::cache::CacheStorageForBasicInsertRemoveCache< TDescriptor >

Defines cache storage for cache with basic insert remove support.

Member Function Documentation

◆ LoadInto()

template<typename TDescriptor>
static void catapult::cache::CacheStorageForBasicInsertRemoveCache< TDescriptor >::LoadInto ( const typename TDescriptor::ValueType &  value,
typename TDescriptor::CacheDeltaType &  cacheDelta 
)
inlinestatic

Loads value into cacheDelta.

◆ Purge()

template<typename TDescriptor>
static void catapult::cache::CacheStorageForBasicInsertRemoveCache< TDescriptor >::Purge ( const typename TDescriptor::ValueType &  value,
typename TDescriptor::CacheDeltaType &  cacheDelta 
)
inlinestatic

Purges value from cacheDelta.


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