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

#include "transactions_page_response.hpp"

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

Public Member Functions

virtual types::TransactionsCollectionType transactions () const =0
 
virtual boost::optional< interface::types::HashTypenextTxHash () const =0
 
virtual interface::types::TransactionsNumberType allTransactionsSize () const =0
 
std::string toString () const override
 
bool operator== (const ModelType &rhs) const override
 
- Public Member Functions inherited from shared_model::interface::ModelPrimitive< TransactionsPageResponse >
virtual bool operator!= (const ModelType &rhs) const
 
virtual ~ModelPrimitive ()=default
 
- Public Member Functions inherited from Cloneable< ModelPrimitive< TransactionsPageResponse > >
virtual ~Cloneable ()=default
 

Additional Inherited Members

- Public Types inherited from shared_model::interface::ModelPrimitive< TransactionsPageResponse >
using ModelType = TransactionsPageResponse
 
- Public Types inherited from Cloneable< ModelPrimitive< TransactionsPageResponse > >
using base_type = ModelPrimitive< TransactionsPageResponse >
 
- Protected Member Functions inherited from Cloneable< ModelPrimitive< TransactionsPageResponse > >
virtual ModelPrimitive< TransactionsPageResponse > * clone () const =0
 

Detailed Description

Response for paginated queries

Member Function Documentation

virtual interface::types::TransactionsNumberType shared_model::interface::TransactionsPageResponse::allTransactionsSize ( ) const
pure virtual
Returns
total number of transactions for the query

Implemented in shared_model::proto::TransactionsPageResponse.

Here is the caller graph for this function:

virtual boost::optional<interface::types::HashType> shared_model::interface::TransactionsPageResponse::nextTxHash ( ) const
pure virtual
Returns
hash of the first transaction from the next page

Implemented in shared_model::proto::TransactionsPageResponse.

Here is the caller graph for this function:

bool shared_model::interface::TransactionsPageResponse::operator== ( const ModelType rhs) const
overridevirtual

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

Here is the call graph for this function:

std::string shared_model::interface::TransactionsPageResponse::toString ( ) const
overridevirtual

Make string developer representation of object

Returns
string with internal state of object

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

Here is the call graph for this function:

virtual types::TransactionsCollectionType shared_model::interface::TransactionsPageResponse::transactions ( ) const
pure virtual
Returns
transactions from this page

Implemented in shared_model::proto::TransactionsPageResponse.

Here is the caller graph for this function:


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