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

Basic delta on top of the multisig cache. More...

Inheritance diagram for catapult::cache::BasicMultisigCacheDelta:
Collaboration diagram for catapult::cache::BasicMultisigCacheDelta:

Public Types

using ReadOnlyView = MultisigCacheTypes::CacheReadOnlyType
 
- Public Types inherited from catapult::cache::MutableAccessorMixin< TSet, TCacheDescriptor, TValueAdapter >
using iterator = detail::CacheFindIterator< TCacheDescriptor, TValueAdapter, SetIteratorType, ValueType >
 Find (mutable) iterator. More...
 

Public Member Functions

 BasicMultisigCacheDelta (const MultisigCacheTypes::BaseSetDeltaPointers &multisigSets)
 Creates a delta around multisigSets. 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::MutableAccessorMixin< TSet, TCacheDescriptor, TValueAdapter >
 MutableAccessorMixin (TSet &set)
 Creates a mixin around set. More...
 
iterator find (const KeyType &key)
 Finds the cache value identified by key. More...
 
- Public Member Functions inherited from catapult::cache::PatriciaTreeDeltaMixin< TSet, TTree >
 PatriciaTreeDeltaMixin (TSet &set, const std::shared_ptr< TTree > &pTree)
 Creates a mixin around delta set and 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...
 
void updateMerkleRoot (Height height)
 Recalculates the merkle root given the specified chain height if supported. More...
 
void setMerkleRoot (const Hash256 &merkleRoot)
 
- Public Member Functions inherited from catapult::deltaset::DeltaElementsMixin< TSetDelta >
 DeltaElementsMixin (const TSetDelta &setDelta)
 Creates a mixin around setDelta. 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...
 

Private Attributes

MultisigCacheTypes::PrimaryTypes::BaseSetDeltaPointerType m_pMultisigEntries
 

Detailed Description

Basic delta on top of the multisig cache.

Member Typedef Documentation

◆ ReadOnlyView

Constructor & Destructor Documentation

◆ BasicMultisigCacheDelta()

catapult::cache::BasicMultisigCacheDelta::BasicMultisigCacheDelta ( const MultisigCacheTypes::BaseSetDeltaPointers multisigSets)
inlineexplicit

Creates a delta around multisigSets.

Member Data Documentation

◆ m_pMultisigEntries

MultisigCacheTypes::PrimaryTypes::BaseSetDeltaPointerType catapult::cache::BasicMultisigCacheDelta::m_pMultisigEntries
private

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