hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
shared_model::proto::QueryResponse Class Referencefinal

#include "proto_query_response.hpp"

Inheritance diagram for shared_model::proto::QueryResponse:
Inheritance graph
Collaboration diagram for shared_model::proto::QueryResponse:
Collaboration graph

Public Types

using TransportType = iroha::protocol::QueryResponse
 
- Public Types inherited from shared_model::interface::QueryResponse
using QueryResponseVariantType = w< AccountAssetResponse, AccountDetailResponse, AccountResponse, ErrorQueryResponse, SignatoriesResponse, TransactionsResponse, AssetResponse, RolesResponse, RolePermissionsResponse, TransactionsPageResponse, PendingTransactionsPageResponse, BlockResponse, PeersResponse >
 Type of container with all concrete query response. More...
 
- Public Types inherited from shared_model::interface::ModelPrimitive< QueryResponse >
using ModelType = QueryResponse
 

Public Member Functions

 QueryResponse (TransportType &&queryResponse)
 
 ~QueryResponse () override
 
const QueryResponseVariantTypeget () const override
 
const interface::types::HashTypequeryHash () const override
 
const TransportTypegetTransport () const
 
- Public Member Functions inherited from shared_model::interface::QueryResponse
std::string toString () const override
 
bool operator== (const ModelType &rhs) const override
 
- Public Member Functions inherited from shared_model::interface::ModelPrimitive< QueryResponse >
virtual bool operator!= (const ModelType &rhs) const
 
virtual ~ModelPrimitive ()=default
 

Member Typedef Documentation

using shared_model::proto::QueryResponse::TransportType = iroha::protocol::QueryResponse

Constructor & Destructor Documentation

shared_model::proto::QueryResponse::QueryResponse ( TransportType &&  queryResponse)
explicit

Here is the call graph for this function:

shared_model::proto::QueryResponse::~QueryResponse ( )
overridedefault

Here is the caller graph for this function:

Member Function Documentation

const QueryResponse::QueryResponseVariantType & shared_model::proto::QueryResponse::get ( ) const
overridevirtual
Returns
reference to const variant with concrete qr

Implements shared_model::interface::QueryResponse.

const QueryResponse::TransportType & shared_model::proto::QueryResponse::getTransport ( ) const
const interface::types::HashType & shared_model::proto::QueryResponse::queryHash ( ) const
overridevirtual
Returns
hash of corresponding query

Implements shared_model::interface::QueryResponse.


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