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

#include "get_block.hpp"

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

Public Member Functions

virtual types::HeightType height () const =0
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=0
virtual bool operator!= (const ModelType &rhs) const
virtual ~ModelPrimitive ()=default

Additional Inherited Members

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

Member Function Documentation

◆ height()

virtual types::HeightType shared_model::interface::GetBlock::height ( ) const
pure virtual

Get height of the block to be returned

block's height

Implemented in shared_model::proto::GetBlock.

Here is the caller graph for this function:

◆ operator==()

bool shared_model::interface::GetBlock::operator== ( const ModelType rhs) const
Here is the call graph for this function:

◆ toString()

std::string shared_model::interface::GetBlock::toString ( ) const

Make string developer representation of object

string with internal state of object

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

Here is the call graph for this function:

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