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

#include "block_query_response.hpp"

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

Public Types

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

virtual const QueryResponseVariantTypeget () const =0
 
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
 

Detailed Description

Class BlockQueryResponse(qr) provides container with concrete block query responses available in the system. General note: this class is container for QRs but not a base class.

Member Typedef Documentation

Type of all available query responses.

Type of container with all concrete query response.

Member Function Documentation

virtual const QueryResponseVariantType& shared_model::interface::BlockQueryResponse::get ( ) const
pure virtual
Returns
reference to const variant with concrete qr

Implemented in shared_model::proto::BlockQueryResponse.

Here is the caller graph for this function:

bool shared_model::interface::BlockQueryResponse::operator== ( const ModelType rhs) const
overridevirtual

Implements shared_model::interface::ModelPrimitive< BlockQueryResponse >.

Here is the call graph for this function:

std::string shared_model::interface::BlockQueryResponse::toString ( ) const
overridevirtual

Make string developer representation of object

Returns
string with internal state of object

Reimplemented from shared_model::interface::ModelPrimitive< BlockQueryResponse >.


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