Kagome
Polkadot Runtime Engine in C++17
QueryStateCommand Class Reference
Inheritance diagram for QueryStateCommand:
Collaboration diagram for QueryStateCommand:

Public Member Functions

 QueryStateCommand (std::shared_ptr< TrieStorage > trie_storage)
 
virtual void execute (std::ostream &out, const ArgumentList &args) override
 
- Public Member Functions inherited from Command
 Command (std::string name, std::string description)
 
virtual ~Command ()=default
 
std::string_view getName () const
 
std::string_view getDescription () const
 

Private Attributes

std::shared_ptr< TrieStoragetrie_storage
 

Additional Inherited Members

- Protected Member Functions inherited from Command
void assertArgumentCount (const ArgumentList &args, int min, int max)
 
template<typename... Ts>
void throwError (const char *fmt, Ts &&...ts) const
 
template<typename T >
unwrapResult (std::string_view context, outcome::result< T > &&res) const
 

Detailed Description

Definition at line 248 of file storage_explorer.cpp.

Constructor & Destructor Documentation

QueryStateCommand::QueryStateCommand ( std::shared_ptr< TrieStorage trie_storage)
inlineexplicit

Definition at line 250 of file storage_explorer.cpp.

Member Function Documentation

virtual void QueryStateCommand::execute ( std::ostream &  out,
const ArgumentList args 
)
inlineoverridevirtual

Implements Command.

Definition at line 255 of file storage_explorer.cpp.

Member Data Documentation

std::shared_ptr<TrieStorage> QueryStateCommand::trie_storage
private

Definition at line 290 of file storage_explorer.cpp.


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