Kagome
Polkadot Runtime Engine in C++17
kagome::storage::face::ReadOnlyStorage< K, V, KView > Struct Template Reference

#include <generic_maps.hpp>

Inheritance diagram for kagome::storage::face::ReadOnlyStorage< K, V, KView >:
Collaboration diagram for kagome::storage::face::ReadOnlyStorage< K, V, KView >:

Additional Inherited Members

- Public Types inherited from kagome::storage::face::Iterable< K, V, KView >
using Cursor = MapCursor< K, V, KView >
 
- Public Types inherited from kagome::storage::face::ReadableStorage< KView, V >
using Key = KView
 
using Value = V
 
- Public Types inherited from kagome::storage::face::ReadableBase< KView >
using Key = KView
 
- Public Member Functions inherited from kagome::storage::face::Iterable< K, V, KView >
virtual ~Iterable ()=default
 
virtual std::unique_ptr< Cursorcursor ()=0
 Returns new key-value iterator. More...
 
- Public Member Functions inherited from kagome::storage::face::ReadableStorage< KView, V >
virtual ~ReadableStorage ()=default
 
virtual outcome::result< V > load (const Key &key) const =0
 Load value by key. More...
 
virtual outcome::result< std::optional< V > > tryLoad (const Key &key) const =0
 Load value by key. More...
 
- Public Member Functions inherited from kagome::storage::face::ReadableBase< KView >
virtual ~ReadableBase ()=default
 
virtual outcome::result< bool > contains (const Key &key) const =0
 Checks if given key-value binding exists in the storage. More...
 
virtual bool empty () const =0
 Returns true if the storage is empty. More...
 

Detailed Description

template<typename K, typename V, typename KView = K>
struct kagome::storage::face::ReadOnlyStorage< K, V, KView >

Definition at line 27 of file generic_maps.hpp.


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