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

#include "proto_get_block_response.hpp"

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

Public Member Functions

template<typename QueryResponseType >
 GetBlockResponse (QueryResponseType &&queryResponse)
 
 GetBlockResponse (const GetBlockResponse &o)
 
 GetBlockResponse (GetBlockResponse &&o)
 
const interface::Blockblock () const override
 
- Public Member Functions inherited from shared_model::proto::CopyableProto< interface::BlockResponse, iroha::protocol::QueryResponse, GetBlockResponse >
 CopyableProto (ProtoLoader &&ref)
 
const iroha::protocol::QueryResponse & getTransport () const
 
- Public Member Functions inherited from shared_model::interface::BlockResponse
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
 
- Public Member Functions inherited from Cloneable< ModelPrimitive< BlockResponse > >
virtual ~Cloneable ()=default
 

Additional Inherited Members

- Public Types inherited from shared_model::proto::CopyableProto< interface::BlockResponse, iroha::protocol::QueryResponse, GetBlockResponse >
using TransportType = iroha::protocol::QueryResponse
 
- Public Types inherited from shared_model::interface::ModelPrimitive< BlockResponse >
using ModelType = BlockResponse
 
- Public Types inherited from Cloneable< ModelPrimitive< BlockResponse > >
using base_type = ModelPrimitive< BlockResponse >
 
- Protected Member Functions inherited from shared_model::proto::CopyableProto< interface::BlockResponse, iroha::protocol::QueryResponse, GetBlockResponse >
interface::BlockResponse::ModelTypeclone () const overridefinal
 
- Protected Attributes inherited from shared_model::proto::CopyableProto< interface::BlockResponse, iroha::protocol::QueryResponse, GetBlockResponse >
detail::ReferenceHolder< iroha::protocol::QueryResponse > proto_
 

Constructor & Destructor Documentation

template<typename QueryResponseType >
shared_model::proto::GetBlockResponse::GetBlockResponse ( QueryResponseType &&  queryResponse)
explicit
shared_model::proto::GetBlockResponse::GetBlockResponse ( const GetBlockResponse o)
shared_model::proto::GetBlockResponse::GetBlockResponse ( GetBlockResponse &&  o)

Member Function Documentation

const interface::Block & shared_model::proto::GetBlockResponse::block ( ) const
overridevirtual
Returns
Attached block

Implements shared_model::interface::BlockResponse.


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