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

#include "proto_block_query_response.hpp"

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

Classes

struct  Impl
 

Public Types

using TransportType = iroha::protocol::BlockQueryResponse
 
- Public Types inherited from shared_model::interface::BlockQueryResponse
using QueryResponseVariantType = w< BlockResponse, BlockErrorResponse >
 Type of container with all concrete query response. More...
 
using QueryResponseListType = QueryResponseVariantType::types
 Type of all available query responses. More...
 
- Public Types inherited from shared_model::interface::ModelPrimitive< BlockQueryResponse >
using ModelType = BlockQueryResponse
 

Public Member Functions

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

Member Typedef Documentation

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

Constructor & Destructor Documentation

shared_model::proto::BlockQueryResponse::BlockQueryResponse ( TransportType &&  block_query_response)
explicit

Here is the call graph for this function:

shared_model::proto::BlockQueryResponse::~BlockQueryResponse ( )
overridedefault

Here is the caller graph for this function:

Member Function Documentation

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

Implements shared_model::interface::BlockQueryResponse.

const BlockQueryResponse::TransportType & shared_model::proto::BlockQueryResponse::getTransport ( ) const

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