hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
transactions_response.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_SHARED_MODEL_TRANSACTIONS_RESPONSE_HPP
7 #define IROHA_SHARED_MODEL_TRANSACTIONS_RESPONSE_HPP
8 
12 
13 namespace shared_model {
14  namespace interface {
18  class TransactionsResponse : public ModelPrimitive<TransactionsResponse> {
19  public:
24 
25  std::string toString() const override;
26 
27  bool operator==(const ModelType &rhs) const override;
28  };
29  } // namespace interface
30 } // namespace shared_model
31 #endif // IROHA_SHARED_MODEL_TRANSACTIONS_RESPONSE_HPP
bool operator==(const ModelType &rhs) const override
Definition: transactions_response.cpp:20
std::string toString() const override
Definition: transactions_response.cpp:13
virtual types::TransactionsCollectionType transactions() const =0
Definition: transactions_response.hpp:18
Definition: model_primitive.hpp:23
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