CatapultServer
v0.5.0.1 (Elephant)
|
A cache-delta, read-lock pair. More...
Public Member Functions | |
LockedCacheDelta (const std::shared_ptr< detail::CacheViewReadLockPair< TCacheView >> &pPair) | |
Creates a view around pPair. More... | |
Public Member Functions inherited from catapult::cache::detail::CacheViewAccessor< TCacheView > | |
CacheViewAccessor (TCacheView *pCacheView) | |
Creates an accessor around pCacheView;. More... | |
operator bool () const | |
Returns true if the underlying cache view is valid. More... | |
const TCacheView * | operator-> () const |
Gets a const pointer to the underlying cache view. More... | |
const TCacheView & | operator* () const |
Gets a const reference to the underlying cache view. More... | |
TCacheView * | operator-> () |
Gets a pointer to the underlying cache view. More... | |
TCacheView & | operator* () |
Gets a reference to the underlying cache view. More... | |
Private Attributes | |
std::shared_ptr< detail::CacheViewReadLockPair< TCacheView > > | m_pPair |
A cache-delta, read-lock pair.
|
inlineexplicit |
Creates a view around pPair.
|
private |