hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
proto_account_asset_response.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_SHARED_MODEL_PROTO_ACCOUNT_ASSET_RESPONSE_HPP
7 #define IROHA_SHARED_MODEL_PROTO_ACCOUNT_ASSET_RESPONSE_HPP
8 
13 #include "qry_responses.pb.h"
14 
15 namespace shared_model {
16  namespace proto {
18  : public CopyableProto<interface::AccountAssetResponse,
19  iroha::protocol::QueryResponse,
20  AccountAssetResponse> {
21  public:
22  template <typename QueryResponseType>
23  explicit AccountAssetResponse(QueryResponseType &&queryResponse);
24 
26 
28 
30  const override;
31 
32  private:
33  const iroha::protocol::AccountAssetResponse &account_asset_response_;
34 
35  const std::vector<AccountAsset> account_assets_;
36  };
37  } // namespace proto
38 } // namespace shared_model
39 
40 #endif // IROHA_SHARED_MODEL_PROTO_ACCOUNT_ASSET_RESPONSE_HPP
boost::any_range< AccountAsset, boost::random_access_traversal_tag, const AccountAsset & > AccountAssetCollectionType
Definition: range_types.hpp:33
const interface::types::AccountAssetCollectionType accountAssets() const override
Definition: proto_account_asset_response.cpp:33
Definition: proto_account_asset_response.hpp:17
AccountAssetResponse(QueryResponseType &&queryResponse)
Definition: proto_account_asset_response.cpp:12
Definition: command_executor.hpp:12
Definition: trivial_proto.hpp:45