hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
revoke_permission.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_SHARED_MODEL_REVOKE_PERMISSION_HPP
7 #define IROHA_SHARED_MODEL_REVOKE_PERMISSION_HPP
8 
10 
13 
14 namespace shared_model {
15  namespace interface {
20  : public NonCopyableModelPrimitive<RevokePermission> {
21  public:
25  virtual const types::AccountIdType &accountId() const = 0;
26 
30  virtual permissions::Grantable permissionName() const = 0;
31 
32  std::string toString() const override = 0;
33 
34  bool operator==(const ModelType &rhs) const override;
35  };
36  } // namespace interface
37 } // namespace shared_model
38 
39 #endif // IROHA_SHARED_MODEL_REVOKE_PERMISSION_HPP
virtual const types::AccountIdType & accountId() const =0
Grantable
Definition: permissions.hpp:66
bool operator==(const ModelType &rhs) const override
Definition: revoke_permission.cpp:11
std::string AccountIdType
Type of account id.
Definition: types.hpp:37
std::string toString() const override=0
Definition: revoke_permission.hpp:19
Definition: noncopyable_model_primitive.hpp:20
Definition: command_executor.hpp:12
virtual permissions::Grantable permissionName() const =0