hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
set_setting_value.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_SHARED_MODEL_SET_SETTING_VALUE_HPP
7 #define IROHA_SHARED_MODEL_SET_SETTING_VALUE_HPP
8 
10 
12 
13 namespace shared_model {
14  namespace interface {
15 
19  class SetSettingValue : public ModelPrimitive<SetSettingValue> {
20  public:
24  virtual const types::SettingKeyType &key() const = 0;
25 
29  virtual const types::SettingValueType &value() const = 0;
30 
31  std::string toString() const override;
32 
33  bool operator==(const ModelType &rhs) const override;
34  };
35  } // namespace interface
36 } // namespace shared_model
37 
38 #endif // IROHA_SHARED_MODEL_SET_SETTING_VALUE_HPP
std::string SettingKeyType
Type of setting key.
Definition: types.hpp:85
Definition: set_setting_value.hpp:19
virtual const types::SettingValueType & value() const =0
std::string toString() const override
Definition: set_setting_value.cpp:11
virtual const types::SettingKeyType & key() const =0
std::string SettingValueType
Type of setting value.
Definition: types.hpp:87
bool operator==(const ModelType &rhs) const override
Definition: set_setting_value.cpp:19
Definition: model_primitive.hpp:22
Definition: command_executor.hpp:12