hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
get_asset_info.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_SHARED_MODEL_GET_ASSET_INFO_HPP
7 #define IROHA_SHARED_MODEL_GET_ASSET_INFO_HPP
8 
11 
12 namespace shared_model {
13  namespace interface {
17  class GetAssetInfo : public ModelPrimitive<GetAssetInfo> {
18  public:
22  virtual const types::AssetIdType &assetId() const = 0;
23 
24  std::string toString() const override;
25 
26  bool operator==(const ModelType &rhs) const override;
27  };
28  } // namespace interface
29 } // namespace shared_model
30 
31 #endif // IROHA_SHARED_MODEL_GET_ASSET_INFO_HPP
Definition: get_asset_info.hpp:17
std::string toString() const override
Definition: get_asset_info.cpp:11
virtual const types::AssetIdType & assetId() const =0
bool operator==(const ModelType &rhs) const override
Definition: get_asset_info.cpp:18
Definition: model_primitive.hpp:22
Definition: command_executor.hpp:12
std::string AssetIdType
Type of asset id.
Definition: types.hpp:55