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


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=0
virtual bool operator!= (const ModelType &rhs) const
virtual ~ModelPrimitive ()=default

Member Typedef Documentation

◆ TransportType

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

Constructor & Destructor Documentation

◆ BlockQueryResponse()

shared_model::proto::BlockQueryResponse::BlockQueryResponse ( TransportType &&  block_query_response)
Here is the call graph for this function:

◆ ~BlockQueryResponse()

shared_model::proto::BlockQueryResponse::~BlockQueryResponse ( )
Here is the caller graph for this function:

Member Function Documentation

◆ get()

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

Implements shared_model::interface::BlockQueryResponse.

◆ getTransport()

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

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