hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
get_account.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_SHARED_MODEL_GET_ACCOUNT_HPP
7 #define IROHA_SHARED_MODEL_GET_ACCOUNT_HPP
8 
11 
12 namespace shared_model {
13  namespace interface {
14  class GetAccount : public ModelPrimitive<GetAccount> {
15  public:
19  virtual const types::AccountIdType &accountId() const = 0;
20 
21  std::string toString() const override;
22 
23  bool operator==(const ModelType &rhs) const override;
24  };
25  } // namespace interface
26 } // namespace shared_model
27 #endif // IROHA_SHARED_MODEL_GET_ACCOUNT_HPP
virtual const types::AccountIdType & accountId() const =0
std::string toString() const override
Definition: get_account.cpp:11
std::string AccountIdType
Type of account id.
Definition: types.hpp:39
bool operator==(const ModelType &rhs) const override
Definition: get_account.cpp:18
Definition: get_account.hpp:14
Definition: model_primitive.hpp:22
Definition: command_executor.hpp:12