hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
proto_set_setting_value.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_PROTO_SET_SETTING_VALUE_HPP
7 #define IROHA_PROTO_SET_SETTING_VALUE_HPP
8 
9 #include "commands.pb.h"
11 
12 namespace shared_model {
13  namespace proto {
15  public:
16  explicit SetSettingValue(iroha::protocol::Command &command);
17 
18  const interface::types::SettingKeyType &key() const override;
19 
20  const interface::types::SettingValueType &value() const override;
21 
22  private:
23  const iroha::protocol::SetSettingValue &set_setting_value_;
24  };
25 
26  } // namespace proto
27 } // namespace shared_model
28 
29 #endif // IROHA_PROTO_SET_SETTING_VALUE_HPP
const interface::types::SettingKeyType & key() const override
Definition: proto_set_setting_value.cpp:14
std::string SettingKeyType
Type of setting key.
Definition: types.hpp:85
const interface::types::SettingValueType & value() const override
Definition: proto_set_setting_value.cpp:18
Definition: set_setting_value.hpp:19
Definition: proto_set_setting_value.hpp:14
std::string SettingValueType
Type of setting value.
Definition: types.hpp:87
Definition: command_executor.hpp:12
SetSettingValue(iroha::protocol::Command &command)
Definition: proto_set_setting_value.cpp:11