Kagome
Polkadot Runtime Engine in C++17
|
A mixin for an iterable map. More...
#include <iterable.hpp>
Public Types | |
using | Cursor = MapCursor< K, V, KView > |
Public Member Functions | |
virtual | ~Iterable ()=default |
virtual std::unique_ptr< Cursor > | cursor ()=0 |
Returns new key-value iterator. More... | |
A mixin for an iterable map.
K | map key type |
V | map value type |
KView | map key view type |
Definition at line 22 of file iterable.hpp.
using kagome::storage::face::Iterable< K, V, KView >::Cursor = MapCursor<K, V, KView> |
Definition at line 23 of file iterable.hpp.
|
virtualdefault |
|
pure virtual |
Returns new key-value iterator.
Implemented in kagome::storage::trie::PolkadotTrie, kagome::storage::InMemoryStorage, kagome::storage::RocksDB, kagome::storage::trie::TrieBatch, and kagome::storage::trie::TrieStorageBackendImpl.