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

template<typename QueryResponseType >
 TransactionsPageResponse (QueryResponseType &&queryResponse)
 
 TransactionsPageResponse (const TransactionsPageResponse &o)
 
 TransactionsPageResponse (TransactionsPageResponse &&o)
 
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::proto::CopyableProto< interface::TransactionsPageResponse, iroha::protocol::QueryResponse, TransactionsPageResponse >
 CopyableProto (ProtoLoader &&ref)
 
const iroha::protocol::QueryResponse & getTransport () const
 
- 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
 
- Public Member Functions inherited from Cloneable< ModelPrimitive< TransactionsPageResponse > >
virtual ~Cloneable ()=default
 

Additional Inherited Members

- Public Types inherited from shared_model::proto::CopyableProto< interface::TransactionsPageResponse, iroha::protocol::QueryResponse, TransactionsPageResponse >
using TransportType = iroha::protocol::QueryResponse
 
- 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 shared_model::proto::CopyableProto< interface::TransactionsPageResponse, iroha::protocol::QueryResponse, TransactionsPageResponse >
interface::TransactionsPageResponse::ModelTypeclone () const overridefinal
 
- Protected Attributes inherited from shared_model::proto::CopyableProto< interface::TransactionsPageResponse, iroha::protocol::QueryResponse, TransactionsPageResponse >
detail::ReferenceHolder< iroha::protocol::QueryResponse > proto_
 

Constructor & Destructor Documentation

template<typename QueryResponseType >
shared_model::proto::TransactionsPageResponse::TransactionsPageResponse ( QueryResponseType &&  queryResponse)
explicit

Here is the call graph for this function:

shared_model::proto::TransactionsPageResponse::TransactionsPageResponse ( const TransactionsPageResponse o)
shared_model::proto::TransactionsPageResponse::TransactionsPageResponse ( TransactionsPageResponse &&  o)

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: