hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
signatories_response.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_SHARED_MODEL_SIGNATORIES_RESPONSE_HPP
7 #define IROHA_SHARED_MODEL_SIGNATORIES_RESPONSE_HPP
8 
10 
12 
13 namespace shared_model {
14  namespace interface {
18  class SignatoriesResponse : public ModelPrimitive<SignatoriesResponse> {
19  public:
23  virtual const types::PublicKeyCollectionType &keys() const = 0;
24 
25  std::string toString() const override;
26 
27  bool operator==(const ModelType &rhs) const override;
28  };
29  } // namespace interface
30 } // namespace shared_model
31 #endif // IROHA_SHARED_MODEL_SIGNATORIES_RESPONSE_HPP
SignatoriesResponse ModelType
Definition: model_primitive.hpp:27
std::string toString() const override
Definition: signatories_response.cpp:14
virtual const types::PublicKeyCollectionType & keys() const =0
std::vector< PubkeyType > PublicKeyCollectionType
Type of public keys&#39; collection.
Definition: types.hpp:49
Definition: model_primitive.hpp:22
Definition: signatories_response.hpp:18
Definition: command_executor.hpp:12
bool operator==(const ModelType &rhs) const override
Definition: signatories_response.cpp:21