Kagome
Polkadot Runtime Engine in C++17
node.hpp
Go to the documentation of this file.
1 
6 #ifndef KAGOME_NODE_HPP
7 #define KAGOME_NODE_HPP
8 
9 namespace kagome::storage::trie {
10 
11  struct Node {
12  virtual ~Node() = default;
13 
14  // returns type of node
15  virtual int getType() const = 0;
16  };
17 
18 } // namespace kagome::storage::trie
19 
20 #endif // KAGOME_NODE_HPP
virtual ~Node()=default
virtual int getType() const =0