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

#include "block_response.hpp"

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

Public Member Functions

virtual const Blockblock () const =0
 
std::string toString () const override
 
bool operator== (const ModelType &rhs) const override
 
- Public Member Functions inherited from shared_model::interface::ModelPrimitive< BlockResponse >
virtual bool operator!= (const ModelType &rhs) const
 
virtual ~ModelPrimitive ()=default
 

Additional Inherited Members

- Public Types inherited from shared_model::interface::ModelPrimitive< BlockResponse >
using ModelType = BlockResponse
 

Detailed Description

Provide response with block

Member Function Documentation

virtual const Block& shared_model::interface::BlockResponse::block ( ) const
pure virtual
Returns
Attached block

Implemented in shared_model::proto::BlockResponse, and shared_model::proto::GetBlockResponse.

Here is the caller graph for this function:

bool shared_model::interface::BlockResponse::operator== ( const ModelType rhs) const
overridevirtual
Returns
true if the data are same.

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

Here is the call graph for this function:

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

Stringify the data.

Returns
string representation of data.

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

Here is the call graph for this function:


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