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

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

#include "proto_tx_pagination_meta.hpp"

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

Public Member Functions

 TxPaginationMeta (const TransportType &query)
 
 TxPaginationMeta (TransportType &&query)
 
 TxPaginationMeta (const TxPaginationMeta &o)
 
 TxPaginationMeta (TxPaginationMeta &&o) noexcept
 
interface::types::TransactionsNumberType pageSize () const override
 Get the requested page size. More...
 
boost::optional< interface::types::HashTypefirstTxHash () const override
 Get the first requested transaction hash, if provided. More...
 
- Public Member Functions inherited from shared_model::proto::CopyableProto< interface::TxPaginationMeta, iroha::protocol::TxPaginationMeta, TxPaginationMeta >
 CopyableProto (ProtoLoader &&ref)
 
const iroha::protocol::TxPaginationMeta & getTransport () const
 
- Public Member Functions inherited from shared_model::interface::TxPaginationMeta
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
 
- Public Member Functions inherited from Cloneable< ModelPrimitive< TxPaginationMeta > >
virtual ~Cloneable ()=default
 

Additional Inherited Members

- Public Types inherited from shared_model::proto::CopyableProto< interface::TxPaginationMeta, iroha::protocol::TxPaginationMeta, TxPaginationMeta >
using TransportType = iroha::protocol::TxPaginationMeta
 
- Public Types inherited from shared_model::interface::ModelPrimitive< TxPaginationMeta >
using ModelType = TxPaginationMeta
 
- Public Types inherited from Cloneable< ModelPrimitive< TxPaginationMeta > >
using base_type = ModelPrimitive< TxPaginationMeta >
 
- Protected Member Functions inherited from shared_model::proto::CopyableProto< interface::TxPaginationMeta, iroha::protocol::TxPaginationMeta, TxPaginationMeta >
interface::TxPaginationMeta::ModelTypeclone () const overridefinal
 
- Protected Attributes inherited from shared_model::proto::CopyableProto< interface::TxPaginationMeta, iroha::protocol::TxPaginationMeta, TxPaginationMeta >
detail::ReferenceHolder< iroha::protocol::TxPaginationMeta > proto_
 

Detailed Description

Provides query metadata for any transaction list pagination.

Constructor & Destructor Documentation

TxPaginationMeta::TxPaginationMeta ( const TransportType query)
explicit
TxPaginationMeta::TxPaginationMeta ( TransportType &&  query)
explicit
TxPaginationMeta::TxPaginationMeta ( const TxPaginationMeta o)
TxPaginationMeta::TxPaginationMeta ( TxPaginationMeta &&  o)
noexcept

Member Function Documentation

boost::optional< types::HashType > TxPaginationMeta::firstTxHash ( ) const
overridevirtual

Get the first requested transaction hash, if provided.

Implements shared_model::interface::TxPaginationMeta.

Here is the call graph for this function:

types::TransactionsNumberType TxPaginationMeta::pageSize ( ) const
overridevirtual

Get the requested page size.

Implements shared_model::interface::TxPaginationMeta.


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