hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
transactions_page_response.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_SHARED_MODEL_TRANSACTIONS_PAGE_RESPONSE_HPP
7 #define IROHA_SHARED_MODEL_TRANSACTIONS_PAGE_RESPONSE_HPP
8 
10 
11 #include <boost/optional/optional_fwd.hpp>
14 
15 namespace shared_model {
16  namespace interface {
21  : public ModelPrimitive<TransactionsPageResponse> {
22  public:
27 
31  virtual boost::optional<interface::types::HashType> nextTxHash()
32  const = 0;
33 
38  const = 0;
39 
40  std::string toString() const override;
41 
42  bool operator==(const ModelType &rhs) const override;
43  };
44  } // namespace interface
45 } // namespace shared_model
46 #endif // IROHA_SHARED_MODEL_TRANSACTIONS_PAGE_RESPONSE_HPP
Definition: transactions_page_response.hpp:20
virtual boost::optional< interface::types::HashType > nextTxHash() const =0
virtual interface::types::TransactionsNumberType allTransactionsSize() const =0
bool operator==(const ModelType &rhs) const override
Definition: transactions_page_response.cpp:26
uint16_t TransactionsNumberType
Type of a number of transactions in block and query response page.
Definition: types.hpp:81
Definition: model_primitive.hpp:22
std::string toString() const override
Definition: transactions_page_response.cpp:12
Definition: command_executor.hpp:12
boost::any_range< Transaction, boost::random_access_traversal_tag, const Transaction & > TransactionsCollectionType
Type of transactions&#39; collection.
Definition: range_types.hpp:29
virtual types::TransactionsCollectionType transactions() const =0