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

A mixin for an iterable map. More...

#include <iterable.hpp>

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

Public Types

using Cursor = MapCursor< K, V, KView >
 

Public Member Functions

virtual ~Iterable ()=default
 
virtual std::unique_ptr< Cursorcursor ()=0
 Returns new key-value iterator. More...
 

Detailed Description

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

A mixin for an iterable map.

Template Parameters
Kmap key type
Vmap value type
KViewmap key view type

Definition at line 22 of file iterable.hpp.

Member Typedef Documentation

template<typename K, typename V, typename KView = K>
using kagome::storage::face::Iterable< K, V, KView >::Cursor = MapCursor<K, V, KView>

Definition at line 23 of file iterable.hpp.

Constructor & Destructor Documentation

template<typename K, typename V, typename KView = K>
virtual kagome::storage::face::Iterable< K, V, KView >::~Iterable ( )
virtualdefault

Member Function Documentation

template<typename K, typename V, typename KView = K>
virtual std::unique_ptr<Cursor> kagome::storage::face::Iterable< K, V, KView >::cursor ( )
pure virtual

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