hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
proto_set_account_detail.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_PROTO_SET_ACCOUNT_DETAIL_HPP
7 #define IROHA_PROTO_SET_ACCOUNT_DETAIL_HPP
8 
10 
11 #include "commands.pb.h"
12 
13 namespace shared_model {
14  namespace proto {
16  public:
17  explicit SetAccountDetail(iroha::protocol::Command &command);
18 
19  const interface::types::AccountIdType &accountId() const override;
20 
21  const interface::types::AccountDetailKeyType &key() const override;
22 
23  const interface::types::AccountDetailValueType &value() const override;
24 
25  private:
26  const iroha::protocol::SetAccountDetail &set_account_detail_;
27  };
28 
29  } // namespace proto
30 } // namespace shared_model
31 
32 #endif // IROHA_PROTO_SET_ACCOUNT_DETAIL_HPP
SetAccountDetail(iroha::protocol::Command &command)
Definition: proto_set_account_detail.cpp:11
std::string AccountDetailKeyType
Type of account detail key.
Definition: types.hpp:76
Definition: proto_set_account_detail.hpp:15
const interface::types::AccountDetailValueType & value() const override
Definition: proto_set_account_detail.cpp:23
std::string AccountIdType
Type of account id.
Definition: types.hpp:39
Definition: set_account_detail.hpp:19
const interface::types::AccountIdType & accountId() const override
Definition: proto_set_account_detail.cpp:14
std::string AccountDetailValueType
Type of account detail value.
Definition: types.hpp:78
Definition: command_executor.hpp:12
const interface::types::AccountDetailKeyType & key() const override
Definition: proto_set_account_detail.cpp:18