SAGA Adaptor CPI v.1.0
|
The SAGA permissions interface. More...
#include <permissions.hpp>
Public Member Functions | |
void | permissions_allow (std::string permission_id, int flag) |
Set a permission flag for this object instance. | |
void | permissions_deny (std::string permission_id, int flag) |
Remove a permission flag from this object instance. | |
bool | permissions_check (std::string permission_id, int flag) const |
Check this object instance for a permission flag. | |
std::string | get_owner () const |
Returns the owner of this object instance. | |
std::string | get_group () const |
Returns the group of the owner of this object instance. |
The SAGA permissions interface.
TODO .
Definition at line 68 of file detail/permissions.hpp.
void saga::detail::permissions< Derived >::permissions_allow | ( | std::string | permission_id, |
int | flag | ||
) | [inline] |
Set a permission flag for this object instance.
permission_id | The permission to set the flag for |
flag | The flag to set |
TODO .
Definition at line 113 of file detail/permissions.hpp.
void saga::detail::permissions< Derived >::permissions_deny | ( | std::string | permission_id, |
int | flag | ||
) | [inline] |
Remove a permission flag from this object instance.
permission_id | The permission to remove the flag from |
flag | The flag to remove |
TODO .
Definition at line 129 of file detail/permissions.hpp.
bool saga::detail::permissions< Derived >::permissions_check | ( | std::string | permission_id, |
int | flag | ||
) | const [inline] |
Check this object instance for a permission flag.
permission_id | The permission to check for a flag |
flag | The flag to check for |
TODO .
Definition at line 145 of file detail/permissions.hpp.
std::string saga::detail::permissions< Derived >::get_owner | ( | ) | const [inline] |
Returns the owner of this object instance.
TODO .
Definition at line 161 of file detail/permissions.hpp.
std::string saga::detail::permissions< Derived >::get_group | ( | ) | const [inline] |
Returns the group of the owner of this object instance.
TODO .
Definition at line 176 of file detail/permissions.hpp.