hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
proto_get_signatories.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_PROTO_GET_SIGNATORIES_H
7 #define IROHA_PROTO_GET_SIGNATORIES_H
8 
11 #include "queries.pb.h"
12 
13 namespace shared_model {
14  namespace proto {
15  class GetSignatories final : public CopyableProto<interface::GetSignatories,
16  iroha::protocol::Query,
17  GetSignatories> {
18  public:
19  template <typename QueryType>
20  explicit GetSignatories(QueryType &&query);
21 
23 
24  GetSignatories(GetSignatories &&o) noexcept;
25 
26  const interface::types::AccountIdType &accountId() const override;
27 
28  private:
29  // ------------------------------| fields |-------------------------------
30 
31  const iroha::protocol::GetSignatories &account_signatories_;
32  };
33 
34  } // namespace proto
35 } // namespace shared_model
36 
37 #endif // IROHA_PROTO_GET_SIGNATORIES_H
GetSignatories(QueryType &&query)
Definition: proto_get_signatories.cpp:12
const interface::types::AccountIdType & accountId() const override
Definition: proto_get_signatories.cpp:27
std::string AccountIdType
Type of account id.
Definition: types.hpp:37
Definition: command_executor.hpp:12
Definition: proto_get_signatories.hpp:15
Definition: trivial_proto.hpp:45