hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
proto_transaction_response.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_SHARED_MODEL_PROTO_TRANSACTION_RESPONSE_HPP
7 #define IROHA_SHARED_MODEL_PROTO_TRANSACTION_RESPONSE_HPP
8 
10 
13 #include "qry_responses.pb.h"
14 
15 namespace shared_model {
16  namespace proto {
18  public:
19  explicit TransactionsResponse(
20  iroha::protocol::QueryResponse &query_response);
21 
23  const override;
24 
25  private:
26  const iroha::protocol::TransactionsResponse &transaction_response_;
27 
28  const std::vector<proto::Transaction> transactions_;
29  };
30  } // namespace proto
31 } // namespace shared_model
32 
33 #endif // IROHA_SHARED_MODEL_PROTO_TRANSACTION_RESPONSE_HPP
TransactionsResponse(iroha::protocol::QueryResponse &query_response)
Definition: proto_transaction_response.cpp:11
Definition: transactions_response.hpp:19
Definition: proto_transaction_response.hpp:17
Definition: command_executor.hpp:12
boost::any_range< Transaction, boost::random_access_traversal_tag, Transaction & > TransactionsCollectionType
Type of transactions&#39; collection.
Definition: range_types.hpp:29
interface::types::TransactionsCollectionType transactions() const override
Definition: proto_transaction_response.cpp:18