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

#include "batch_meta.hpp"

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

Public Types

using ReducedHashesType = std::vector< interface::types::HashType >
 type of hashes collection More...
 
- Public Types inherited from shared_model::interface::ModelPrimitive< BatchMeta >
using ModelType = BatchMeta
 

Public Member Functions

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

Detailed Description

Representation of fixed point number

Member Typedef Documentation

◆ ReducedHashesType

Member Function Documentation

◆ operator==()

bool shared_model::interface::BatchMeta::operator== ( const ModelType rhs) const
inlineoverridevirtual

Checks equality of objects inside

Parameters
rhs- other wrapped value
Returns
true, if wrapped objects are same

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

Here is the call graph for this function:

◆ reducedHashes()

virtual const ReducedHashesType& shared_model::interface::BatchMeta::reducedHashes ( ) const
pure virtual
Returns
Hashes of transactions to fetch

Implemented in shared_model::proto::BatchMeta.

Here is the caller graph for this function:

◆ toString()

std::string shared_model::interface::BatchMeta::toString ( ) const
inlineoverridevirtual

Make string developer representation of object

Returns
string with internal state of object

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

Here is the call graph for this function:

◆ type()

virtual types::BatchType shared_model::interface::BatchMeta::type ( ) const
pure virtual

Implemented in shared_model::proto::BatchMeta.

Here is the caller graph for this function:

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