hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
set_account_detail.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_SHARED_MODEL_SET_ACCOUNT_DETAIL_HPP
7 #define IROHA_SHARED_MODEL_SET_ACCOUNT_DETAIL_HPP
8 
10 
12 
13 namespace shared_model {
14  namespace interface {
15 
20  : public NonCopyableModelPrimitive<SetAccountDetail> {
21  public:
25  virtual const types::AccountIdType &accountId() const = 0;
26 
30  virtual const types::AccountDetailKeyType &key() const = 0;
31 
35  virtual const types::AccountDetailValueType &value() const = 0;
36 
37  std::string toString() const override;
38 
39  bool operator==(const ModelType &rhs) const override;
40  };
41  } // namespace interface
42 } // namespace shared_model
43 
44 #endif // IROHA_SHARED_MODEL_SET_ACCOUNT_DETAIL_HPP
std::string toString() const override
Definition: set_account_detail.cpp:11
std::string AccountDetailKeyType
Type of account detail key.
Definition: types.hpp:76
std::string AccountIdType
Type of account id.
Definition: types.hpp:39
virtual const types::AccountDetailValueType & value() const =0
Definition: set_account_detail.hpp:19
virtual const types::AccountDetailKeyType & key() const =0
virtual const types::AccountIdType & accountId() const =0
Definition: noncopyable_model_primitive.hpp:20
std::string AccountDetailValueType
Type of account detail value.
Definition: types.hpp:78
Definition: command_executor.hpp:12
bool operator==(const ModelType &rhs) const override
Definition: set_account_detail.cpp:20