The permissions class represents permissions to be set to shared memory or files, that can be constructed form usual permission representations: a SECURITY_ATTRIBUTES pointer in windows or ORed rwx chmod integer in UNIX.
More...
#include <permissions.hpp>
|
| permissions (os_permissions_type type) |
| Constructs a permissions object from a user provided os-dependent permissions. More...
|
|
| permissions () |
| Constructs a default permissions object: A null security attributes pointer for windows or 0644 for UNIX. More...
|
|
void | set_default () |
| Sets permissions to default values: A null security attributes pointer for windows or 0644 for UNIX. More...
|
|
void | set_unrestricted () |
| Sets permissions to unrestricted access: A null DACL for windows or 0666 for UNIX. More...
|
|
void | set_permissions (os_permissions_type perm) |
| Sets permissions from a user provided os-dependent permissions. More...
|
|
os_permissions_type | get_permissions () const |
| Returns stored os-dependent permissions. More...
|
|
The permissions class represents permissions to be set to shared memory or files, that can be constructed form usual permission representations: a SECURITY_ATTRIBUTES pointer in windows or ORed rwx chmod integer in UNIX.
boost::interprocess::permissions::permissions |
( |
os_permissions_type |
type | ) |
|
|
inline |
Constructs a permissions object from a user provided os-dependent permissions.
boost::interprocess::permissions::permissions |
( |
| ) |
|
|
inline |
Constructs a default permissions object: A null security attributes pointer for windows or 0644 for UNIX.
References set_default().
os_permissions_type boost::interprocess::permissions::get_permissions |
( |
| ) |
const |
|
inline |
void boost::interprocess::permissions::set_default |
( |
| ) |
|
|
inline |
Sets permissions to default values: A null security attributes pointer for windows or 0644 for UNIX.
Referenced by permissions().
void boost::interprocess::permissions::set_permissions |
( |
os_permissions_type |
perm | ) |
|
|
inline |
Sets permissions from a user provided os-dependent permissions.
void boost::interprocess::permissions::set_unrestricted |
( |
| ) |
|
|
inline |
Sets permissions to unrestricted access: A null DACL for windows or 0666 for UNIX.
The documentation for this class was generated from the following file: