| 
    Kagome
    
   Polkadot Runtime Engine in C++17 
   | 
 
#include <readable.hpp>
Public Types | |
| using | Key = K | 
Public Member Functions | |
| 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... | |
Definition at line 16 of file readable.hpp.
| using kagome::storage::face::ReadableBase< K >::Key = K | 
Definition at line 17 of file readable.hpp.
      
  | 
  virtualdefault | 
      
  | 
  pure virtual | 
Checks if given key-value binding exists in the storage.
| key | K | 
Implemented in kagome::storage::trie::PolkadotTrieImpl, kagome::storage::RocksDB, kagome::storage::trie::PersistentTrieBatchImpl, kagome::storage::trie::TopperTrieBatchImpl, and kagome::storage::trie::EphemeralTrieBatchImpl.
      
  | 
  pure virtual | 
Returns true if the storage is empty.
Implemented in kagome::storage::trie::PolkadotTrieImpl, kagome::storage::RocksDB, kagome::storage::InMemoryStorage, kagome::storage::trie::PersistentTrieBatchImpl, kagome::storage::trie::TopperTrieBatchImpl, kagome::storage::trie::TrieStorageBackendImpl, and kagome::storage::trie::EphemeralTrieBatchImpl.