Kagome
Polkadot Runtime Engine in C++17
kagome::api::author::request::HasKey Class Referencefinal

#include <has_key.hpp>

Inheritance diagram for kagome::api::author::request::HasKey:
Collaboration diagram for kagome::api::author::request::HasKey:

Public Member Functions

 HasKey (std::shared_ptr< AuthorApi > api)
 
outcome::result< Returnexecute () override
 
- Public Member Functions inherited from kagome::api::details::RequestType< bool, std::string, 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< AuthorApiapi_
 

Additional Inherited Members

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

Detailed Description

Definition at line 17 of file has_key.hpp.

Constructor & Destructor Documentation

kagome::api::author::request::HasKey::HasKey ( std::shared_ptr< AuthorApi api)
inlineexplicit

Definition at line 20 of file has_key.hpp.

Member Function Documentation

outcome::result<Return> kagome::api::author::request::HasKey::execute ( )
inlineoverridevirtual

Member Data Documentation

std::shared_ptr<AuthorApi> kagome::api::author::request::HasKey::api_
private

Definition at line 31 of file has_key.hpp.


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