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 
10 
13 
14 namespace shared_model {
15  namespace interface {
20  : public ModelPrimitive<RolePermissionsResponse> {
21  public:
25  virtual const RolePermissionSet &rolePermissions() const = 0;
26 
31  std::string toString() const override = 0;
32 
33  bool operator==(const ModelType &rhs) const override;
34  };
35  } // namespace interface
36 } // namespace shared_model
37 #endif // IROHA_SHARED_MODEL_ROLE_PERMISSIONS_RESPONSE_HPP
RolePermissionsResponse ModelType
Definition: model_primitive.hpp:27
Definition: permissions.hpp:103
Definition: role_permissions.hpp:19
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:22
Definition: command_executor.hpp:13