hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
proto_get_account.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_PROTO_GET_ACCOUNT_H
7 #define IROHA_PROTO_GET_ACCOUNT_H
8 
10 
11 #include "queries.pb.h"
12 
13 namespace shared_model {
14  namespace proto {
15  class GetAccount final : public interface::GetAccount {
16  public:
17  explicit GetAccount(iroha::protocol::Query &query);
18 
19  const interface::types::AccountIdType &accountId() const override;
20 
21  private:
22  // ------------------------------| fields |-------------------------------
23  const iroha::protocol::GetAccount &account_;
24  };
25 
26  } // namespace proto
27 } // namespace shared_model
28 
29 #endif // IROHA_PROTO_GET_ACCOUNT_H
Definition: proto_get_account.hpp:15
std::string AccountIdType
Type of account id.
Definition: types.hpp:39
const interface::types::AccountIdType & accountId() const override
Definition: proto_get_account.cpp:14
Definition: get_account.hpp:14
GetAccount(iroha::protocol::Query &query)
Definition: proto_get_account.cpp:11
Definition: command_executor.hpp:12