CatapultServer
v0.5.0.1 (Elephant)
|
Public Member Functions | |
CatapultCacheDetachableDelta (CacheHeightView &&cacheHeightView, std::vector< std::unique_ptr< DetachedSubCacheView >> &&detachedSubViews) | |
Creates a detachable cache delta from a cache height view (cacheHeightView) and detachedSubViews. More... | |
~CatapultCacheDetachableDelta () | |
Destroys the detachable cache delta. More... | |
CatapultCacheDetachableDelta (CatapultCacheDetachableDelta &&) | |
Move constructor. More... | |
Height | height () const |
Gets the cache height associated with this delta. More... | |
CatapultCacheDetachedDelta | detach () |
Detaches the detached delta from this delta. More... | |
Private Attributes | |
std::unique_ptr< const CacheHeightView > | m_pCacheHeightView |
CatapultCacheDetachedDelta | m_detachedDelta |
Detachable delta of the catapult cache.
catapult::cache::CatapultCacheDetachableDelta::CatapultCacheDetachableDelta | ( | CacheHeightView && | cacheHeightView, |
std::vector< std::unique_ptr< DetachedSubCacheView >> && | detachedSubViews | ||
) |
Creates a detachable cache delta from a cache height view (cacheHeightView) and detachedSubViews.
|
default |
Destroys the detachable cache delta.
|
default |
Move constructor.
CatapultCacheDetachedDelta catapult::cache::CatapultCacheDetachableDelta::detach | ( | ) |
Detaches the detached delta from this delta.
Height catapult::cache::CatapultCacheDetachableDelta::height | ( | ) | const |
Gets the cache height associated with this delta.
|
private |
|
private |