hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
role_permissions.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_SHARED_MODEL_ROLE_PERMISSIONS_RESPONSE_HPP
7 #define IROHA_SHARED_MODEL_ROLE_PERMISSIONS_RESPONSE_HPP
8 
12 
13 namespace shared_model {
14  namespace interface {
19  : public ModelPrimitive<RolePermissionsResponse> {
20  public:
24  virtual const RolePermissionSet &rolePermissions() const = 0;
25 
30  std::string toString() const override = 0;
31 
32  bool operator==(const ModelType &rhs) const override;
33  };
34  } // namespace interface
35 } // namespace shared_model
36 #endif // IROHA_SHARED_MODEL_ROLE_PERMISSIONS_RESPONSE_HPP
Definition: permissions.hpp:92
Definition: role_permissions.hpp:18
virtual const RolePermissionSet & rolePermissions() const =0
std::string toString() const override=0
bool operator==(const ModelType &rhs) const override
Definition: role_permissions.cpp:12
Definition: model_primitive.hpp:23
Definition: command_executor.hpp:12