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

Provides query metadata for asset list pagination. More...

#include "asset_pagination_meta.hpp"

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

Public Member Functions

virtual types::TransactionsNumberType pageSize () const =0
 Get the requested page size. More...
 
virtual boost::optional< types::AssetIdTypefirstAssetId () const =0
 Get the first requested asset, if provided. More...
 
std::string toString () const override
 
bool operator== (const ModelType &rhs) const override
 
- Public Member Functions inherited from shared_model::interface::ModelPrimitive< AssetPaginationMeta >
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< AssetPaginationMeta >
using ModelType = AssetPaginationMeta
 

Detailed Description

Provides query metadata for asset list pagination.

Member Function Documentation

◆ firstAssetId()

virtual boost::optional<types::AssetIdType> shared_model::interface::AssetPaginationMeta::firstAssetId ( ) const
pure virtual

Get the first requested asset, if provided.

Implemented in shared_model::proto::AssetPaginationMeta.

Here is the caller graph for this function:

◆ operator==()

bool AssetPaginationMeta::operator== ( const ModelType rhs) const
override
Here is the call graph for this function:

◆ pageSize()

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

Get the requested page size.

Implemented in shared_model::proto::AssetPaginationMeta.

Here is the caller graph for this function:

◆ toString()

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

Make string developer representation of object

Returns
string with internal state of object

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

Here is the call graph for this function:

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