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

#include "proto_transactions_page_response.hpp"

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

Public Member Functions

 TransactionsPageResponse (iroha::protocol::QueryResponse &query_response)
 
interface::types::TransactionsCollectionType transactions () const override
 
boost::optional< interface::types::HashTypenextTxHash () const override
 
interface::types::TransactionsNumberType allTransactionsSize () const override
 
- Public Member Functions inherited from shared_model::interface::TransactionsPageResponse
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
 

Additional Inherited Members

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

Constructor & Destructor Documentation

shared_model::proto::TransactionsPageResponse::TransactionsPageResponse ( iroha::protocol::QueryResponse &  query_response)
explicit

Here is the call graph for this function:

Member Function Documentation

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

Implements shared_model::interface::TransactionsPageResponse.

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

Implements shared_model::interface::TransactionsPageResponse.

interface::types::TransactionsCollectionType shared_model::proto::TransactionsPageResponse::transactions ( ) const
overridevirtual
Returns
transactions from this page

Implements shared_model::interface::TransactionsPageResponse.


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