hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
proto_get_asset_info.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_PROTO_GET_ASSET_INFO_H
7 #define IROHA_PROTO_GET_ASSET_INFO_H
8 
10 
11 #include "queries.pb.h"
12 
13 namespace shared_model {
14  namespace proto {
15  class GetAssetInfo final : public interface::GetAssetInfo {
16  public:
17  explicit GetAssetInfo(iroha::protocol::Query &query);
18 
19  const interface::types::AssetIdType &assetId() const override;
20 
21  private:
22  // ------------------------------| fields |-------------------------------
23  const iroha::protocol::GetAssetInfo &asset_info_;
24  };
25 
26  } // namespace proto
27 } // namespace shared_model
28 
29 #endif // IROHA_PROTO_GET_ASSET_INFO_H
Definition: get_asset_info.hpp:17
GetAssetInfo(iroha::protocol::Query &query)
Definition: proto_get_asset_info.cpp:11
const interface::types::AssetIdType & assetId() const override
Definition: proto_get_asset_info.cpp:14
Definition: command_executor.hpp:12
Definition: proto_get_asset_info.hpp:15
std::string AssetIdType
Type of asset id.
Definition: types.hpp:55