Kagome
Polkadot Runtime Engine in C++17
kagome::api::state::request::QueryStorage Class Referencefinal

#include <query_storage.hpp>

Inheritance diagram for kagome::api::state::request::QueryStorage:
Collaboration diagram for kagome::api::state::request::QueryStorage:

Public Member Functions

 QueryStorage (std::shared_ptr< StateApi > api)
 
outcome::result< std::vector< StateApi::StorageChangeSet > > execute () override
 
- Public Member Functions inherited from kagome::api::details::RequestType< std::vector< StateApi::StorageChangeSet >, std::vector< std::string >, std::string, std::optional< std::string > >
 RequestType ()=default
 
 RequestType (const RequestType &)=delete
 
 RequestType (RequestType &&)=delete
 
virtual ~RequestType ()=default
 
RequestTypeoperator= (const RequestType &)=delete
 
RequestTypeoperator= (RequestType &&)=delete
 
outcome::result< void > init (const jsonrpc::Request::Parameters &params)
 
auto getParam () -> typename std::tuple_element< I, decltype(params_)>::type &
 

Private Attributes

std::shared_ptr< StateApiapi_
 

Additional Inherited Members

- Public Types inherited from kagome::api::details::RequestType< std::vector< StateApi::StorageChangeSet >, std::vector< std::string >, std::string, std::optional< std::string > >
using Params = std::tuple< ArgumentTypes... >
 
using Return = std::vector< StateApi::StorageChangeSet >
 

Detailed Description

Definition at line 38 of file query_storage.hpp.

Constructor & Destructor Documentation

kagome::api::state::request::QueryStorage::QueryStorage ( std::shared_ptr< StateApi api)
inlineexplicit

Definition at line 44 of file query_storage.hpp.

Member Function Documentation

outcome::result<std::vector<StateApi::StorageChangeSet> > kagome::api::state::request::QueryStorage::execute ( )
inlineoverridevirtual

Member Data Documentation

std::shared_ptr<StateApi> kagome::api::state::request::QueryStorage::api_
private

Definition at line 69 of file query_storage.hpp.


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