hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
get_role_permissions.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_SHARED_MODEL_GET_ROLE_PERMISSIONS_HPP
7 #define IROHA_SHARED_MODEL_GET_ROLE_PERMISSIONS_HPP
8 
11 
12 namespace shared_model {
13  namespace interface {
14 
18  class GetRolePermissions : public ModelPrimitive<GetRolePermissions> {
19  public:
23  virtual const types::RoleIdType &roleId() 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 
32 #endif // IROHA_SHARED_MODEL_GET_ROLES_HPP
virtual const types::RoleIdType & roleId() const =0
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
bool operator==(const ModelType &rhs) const override
Definition: get_role_permissions.cpp:18
std::string toString() const override
Definition: get_role_permissions.cpp:11
Definition: model_primitive.hpp:23
Definition: get_role_permissions.hpp:18
Definition: command_executor.hpp:12
std::string RoleIdType
Type of role (i.e admin, user)
Definition: types.hpp:49