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 
12 
13 namespace shared_model {
14  namespace interface {
18  class RevokePermission : public ModelPrimitive<RevokePermission> {
19  public:
23  virtual const types::AccountIdType &accountId() const = 0;
24 
28  virtual permissions::Grantable permissionName() const = 0;
29 
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 
37 #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
string(REPLACE".""/"CMAKE_SWIG_OUTDIR ${SWIG_JAVA_PKG}) else() set(CMAKE_SWIG_FLAGS"") endif() myswig_add_library(irohajava LANGUAGE java SOURCES bindings.i) unset(CMAKE_SWIG_FLAGS) swig_link_libraries(irohajava $
Definition: CMakeLists.txt:54
std::string AccountIdType
Type of account id.
Definition: types.hpp:37
std::string toString() const override=0
Definition: revoke_permission.hpp:18
Definition: model_primitive.hpp:23
Definition: command_executor.hpp:12
virtual permissions::Grantable permissionName() const =0