CatapultServer  v0.5.0.1 (Elephant)
catapult::cache::AccountRestrictionCacheView Class Reference

View on top of the account restriction cache. More...

Inheritance diagram for catapult::cache::AccountRestrictionCacheView:
Collaboration diagram for catapult::cache::AccountRestrictionCacheView:

Public Member Functions

 AccountRestrictionCacheView (const AccountRestrictionCacheTypes::BaseSets &restrictionSets, model::NetworkIdentifier networkIdentifier)
 Creates a view around restrictionSets and networkIdentifier. More...
 
- Public Member Functions inherited from catapult::cache::ReadOnlyViewSupplier< BasicAccountRestrictionCacheView >
 ReadOnlyViewSupplier (TArgs &&... args)
 Creates a read-only view supplier around args. More...
 
 ReadOnlyViewSupplier (ReadOnlyViewSupplier &&rhs)
 
const BasicAccountRestrictionCacheView ::ReadOnlyViewasReadOnly () const
 Returns a read-only view of this view. More...
 
- Public Member Functions inherited from catapult::cache::BasicAccountRestrictionCacheView
 BasicAccountRestrictionCacheView (const AccountRestrictionCacheTypes::BaseSets &restrictionSets, model::NetworkIdentifier networkIdentifier)
 Creates a view around restrictionSets and networkIdentifier. More...
 
model::NetworkIdentifier networkIdentifier () const
 Gets the network identifier. 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::ContainsMixin< TSet, TCacheDescriptor >
 ContainsMixin (const TSet &set)
 Creates a mixin around set. More...
 
bool contains (const KeyType &key) const
 Gets a value indicating whether or not the cache contains an element with key. More...
 
- Public Member Functions inherited from catapult::cache::ConstAccessorMixin< TSet, TCacheDescriptor, TValueAdapter >
 ConstAccessorMixin (const TSet &set)
 Creates a mixin around set. More...
 
const_iterator find (const KeyType &key) const
 Finds the cache value identified by key. 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...
 

Additional Inherited Members

- Public Types inherited from catapult::cache::BasicAccountRestrictionCacheView
using ReadOnlyView = AccountRestrictionCacheTypes::CacheReadOnlyType
 
- Public Types inherited from catapult::cache::ConstAccessorMixin< TSet, TCacheDescriptor, TValueAdapter >
using const_iterator = detail::CacheFindIterator< TCacheDescriptor, TValueAdapter, SetIteratorType, const ValueType >
 Find (const) iterator. More...
 

Detailed Description

View on top of the account restriction cache.

Constructor & Destructor Documentation

◆ AccountRestrictionCacheView()

catapult::cache::AccountRestrictionCacheView::AccountRestrictionCacheView ( const AccountRestrictionCacheTypes::BaseSets restrictionSets,
model::NetworkIdentifier  networkIdentifier 
)
inlineexplicit

Creates a view around restrictionSets and networkIdentifier.


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