hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
data_model_id.hpp
Go to the documentation of this file.
1 
6 #ifndef DATA_SHARED_MODEL_COMMON_MODEL_ID_HPP
7 #define DATA_SHARED_MODEL_COMMON_MODEL_ID_HPP
8 
9 #include <cstddef>
10 #include <string>
11 
12 namespace shared_model::interface {
13 
14  struct DataModelId {
15  std::string name;
16  std::string version;
17 
18  bool operator==(DataModelId const &) const;
19  struct Hasher {
20  std::size_t operator()(DataModelId const &h) const;
21  };
22  };
23 
24 } // namespace shared_model::interface
25 
26 #endif
std::string name
Definition: data_model_id.hpp:15
Definition: data_model_id.hpp:14
std::string version
Definition: data_model_id.hpp:16
bool operator==(DataModelId const &) const
Definition: data_model_id.cpp:13
Definition: command_executor.hpp:13
Definition: data_model_id.hpp:19
std::size_t operator()(DataModelId const &h) const
Definition: data_model_id.cpp:17