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

#include "proto_block_response.hpp"

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

Public Member Functions

template<typename QueryResponseType >
 BlockResponse (QueryResponseType &&queryResponse)
 
 BlockResponse (const BlockResponse &o)
 
 BlockResponse (BlockResponse &&o) noexcept
 
const Blockblock () const override
 
- Public Member Functions inherited from shared_model::proto::CopyableProto< interface::BlockResponse, iroha::protocol::BlockQueryResponse, BlockResponse >
 CopyableProto (ProtoLoader &&ref)
 
const iroha::protocol::BlockQueryResponse & 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::BlockQueryResponse, BlockResponse >
using TransportType = iroha::protocol::BlockQueryResponse
 
- 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::BlockQueryResponse, BlockResponse >
interface::BlockResponse::ModelTypeclone () const overridefinal
 
- Protected Attributes inherited from shared_model::proto::CopyableProto< interface::BlockResponse, iroha::protocol::BlockQueryResponse, BlockResponse >
detail::ReferenceHolder< iroha::protocol::BlockQueryResponse > proto_
 

Constructor & Destructor Documentation

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

Member Function Documentation

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

Implements shared_model::interface::BlockResponse.


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