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

#include "proto_get_block.hpp"

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

Public Member Functions

template<typename QueryType >
 GetBlock (QueryType &&query)
 
 GetBlock (const GetBlock &o)
 
 GetBlock (GetBlock &&o) noexcept
 
interface::types::HeightType height () const override
 
- Public Member Functions inherited from shared_model::proto::TrivialProto< interface::GetBlock, iroha::protocol::Query >
 TrivialProto (ProtoLoader &&ref)
 
const iroha::protocol::Query & getTransport () const
 
- Public Member Functions inherited from shared_model::interface::GetBlock
std::string toString () const override
 
bool operator== (const ModelType &rhs) const override
 
- Public Member Functions inherited from shared_model::interface::ModelPrimitive< GetBlock >
virtual bool operator!= (const ModelType &rhs) const
 
virtual ~ModelPrimitive ()=default
 

Additional Inherited Members

- Public Types inherited from shared_model::proto::TrivialProto< interface::GetBlock, iroha::protocol::Query >
using TransportType = iroha::protocol::Query
 
- Public Types inherited from shared_model::interface::ModelPrimitive< GetBlock >
using ModelType = GetBlock
 
- Protected Attributes inherited from shared_model::proto::TrivialProto< interface::GetBlock, iroha::protocol::Query >
detail::ReferenceHolder< iroha::protocol::Query > proto_
 

Constructor & Destructor Documentation

template<typename QueryType >
shared_model::proto::GetBlock::GetBlock ( QueryType &&  query)
explicit
shared_model::proto::GetBlock::GetBlock ( const GetBlock o)
shared_model::proto::GetBlock::GetBlock ( GetBlock &&  o)
noexcept

Member Function Documentation

interface::types::HeightType shared_model::proto::GetBlock::height ( ) const
overridevirtual

Get height of the block to be returned

Returns
block's height

Implements shared_model::interface::GetBlock.


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