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

Provides query metadata for any transaction list pagination. More...

#include "tx_pagination_meta.hpp"

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

Public Member Functions

virtual types::TransactionsNumberType pageSize () const =0
 Get the requested page size. More...
 
virtual boost::optional< types::HashTypefirstTxHash () const =0
 Get the first requested transaction hash, if provided. More...
 
std::string toString () const override
 
bool operator== (const ModelType &rhs) const override
 
- Public Member Functions inherited from shared_model::interface::ModelPrimitive< TxPaginationMeta >
virtual bool operator!= (const ModelType &rhs) const
 
virtual ~ModelPrimitive ()=default
 

Additional Inherited Members

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

Detailed Description

Provides query metadata for any transaction list pagination.

Member Function Documentation

virtual boost::optional<types::HashType> shared_model::interface::TxPaginationMeta::firstTxHash ( ) const
pure virtual

Get the first requested transaction hash, if provided.

Implemented in shared_model::proto::TxPaginationMeta.

Here is the caller graph for this function:

bool TxPaginationMeta::operator== ( const ModelType rhs) const
overridevirtual

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

Here is the call graph for this function:

virtual types::TransactionsNumberType shared_model::interface::TxPaginationMeta::pageSize ( ) const
pure virtual

Get the requested page size.

Implemented in shared_model::proto::TxPaginationMeta.

Here is the caller graph for this function:

std::string TxPaginationMeta::toString ( ) const
overridevirtual

Make string developer representation of object

Returns
string with internal state of object

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

Here is the call graph for this function:


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