CatapultServer  v0.5.0.1 (Elephant)
catapult::cache::BasicLockInfoCacheView< TDescriptor, TCacheTypes > Class Template Reference

Basic view on top of the lock info cache. More...

Inheritance diagram for catapult::cache::BasicLockInfoCacheView< TDescriptor, TCacheTypes >:
Collaboration diagram for catapult::cache::BasicLockInfoCacheView< TDescriptor, TCacheTypes >:

Public Types

using ReadOnlyView = typename TCacheTypes::CacheReadOnlyType
 

Public Member Functions

 BasicLockInfoCacheView (const typename TCacheTypes::BaseSets &lockInfoSets)
 Creates a view around lockInfoSets. More...
 
- Public Member Functions inherited from catapult::utils::MoveOnly
constexpr MoveOnly ()=default
 Default constructor. More...
 
 ~MoveOnly ()=default
 Default destructor. More...
 
 MoveOnly (const NonCopyable &)=delete
 Disabled copy constructor. More...
 
 MoveOnly (MoveOnly &&)=default
 Default move constructor. More...
 
MoveOnlyoperator= (const MoveOnly &)=delete
 Disabled assignment operator. More...
 
MoveOnlyoperator= (MoveOnly &&)=default
 Default move assignment operator. More...
 
- Public Member Functions inherited from catapult::cache::PatriciaTreeMixin< TTree >
 PatriciaTreeMixin (const TTree *pTree)
 Creates a mixin around pTree. More...
 
bool supportsMerkleRoot () const
 Returns true if merkle root is supported. More...
 
std::pair< Hash256, bool > tryGetMerkleRoot () const
 Tries to get the merkle root if supported. More...
 
std::pair< Hash256, bool > tryLookup (const typename TTree::KeyType &key, std::vector< tree::TreeNode > &nodePath) const
 Tries to find the value associated with key in the tree and stores proof of existence or not in nodePath. More...
 

Detailed Description

template<typename TDescriptor, typename TCacheTypes>
class catapult::cache::BasicLockInfoCacheView< TDescriptor, TCacheTypes >

Basic view on top of the lock info cache.

Member Typedef Documentation

◆ ReadOnlyView

template<typename TDescriptor, typename TCacheTypes>
using catapult::cache::BasicLockInfoCacheView< TDescriptor, TCacheTypes >::ReadOnlyView = typename TCacheTypes::CacheReadOnlyType

Constructor & Destructor Documentation

◆ BasicLockInfoCacheView()

template<typename TDescriptor, typename TCacheTypes>
catapult::cache::BasicLockInfoCacheView< TDescriptor, TCacheTypes >::BasicLockInfoCacheView ( const typename TCacheTypes::BaseSets &  lockInfoSets)
inlineexplicit

Creates a view around lockInfoSets.


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