CatapultServer
v0.5.0.1 (Elephant)
|
Provides common view of single sub cache changes. More...
Public Member Functions | |
SingleCacheChangesT (const TCacheDelta &cacheDelta) | |
Creates changes around cacheDelta. More... | |
SingleCacheChangesT (const MemoryCacheChangesT< TValue > &memoryCacheChanges) | |
Creates changes around memoryCacheChanges. More... | |
PointerContainer | addedElements () const |
Gets pointers to all added elements. More... | |
PointerContainer | modifiedElements () const |
Gets pointers to all modified elements. More... | |
PointerContainer | removedElements () const |
Gets pointers to all removed elements. More... | |
Public Member Functions inherited from catapult::utils::NonCopyable | |
constexpr | NonCopyable ()=default |
Default constructor. More... | |
~NonCopyable ()=default | |
Default destructor. More... | |
NonCopyable (const NonCopyable &)=delete | |
Disabled copy constructor. More... | |
NonCopyable & | operator= (const NonCopyable &)=delete |
Disabled assignment operator. More... | |
Private Types | |
using | PointerContainer = std::unordered_set< const TValue * > |
Static Private Member Functions | |
static PointerContainer | CollectAllPointers (const std::vector< TValue > &values) |
Private Attributes | |
const TCacheDelta * | m_pCacheDelta |
const MemoryCacheChangesT< TValue > * | m_pMemoryCacheChanges |
Provides common view of single sub cache changes.
|
private |
|
inlineexplicit |
Creates changes around cacheDelta.
|
inlineexplicit |
Creates changes around memoryCacheChanges.
|
inline |
Gets pointers to all added elements.
|
inlinestaticprivate |
|
inline |
Gets pointers to all modified elements.
|
inline |
Gets pointers to all removed elements.
|
private |
|
private |