71  explicit operator auto() 
const noexcept {
return xtd::enum_collection<xtd::io::file_permissions> {{
xtd::io::file_permissions::none, 
"none"}, {
xtd::io::file_permissions::owner_read, 
"owner_read"}, {
xtd::io::file_permissions::owner_write, 
"owner_write"}, {
xtd::io::file_permissions::owner_execute, 
"owner_execute"}, {
xtd::io::file_permissions::group_read, 
"group_read"}, {
xtd::io::file_permissions::group_write, 
"group_write"}, {
xtd::io::file_permissions::group_execute, 
"group_execute"}, {
xtd::io::file_permissions::others_read, 
"others_read"}, {
xtd::io::file_permissions::others_write, 
"others_write"}, {
xtd::io::file_permissions::others_execute, 
"others_execute"}, {
xtd::io::file_permissions::set_uid, 
"set_uid"}, {
xtd::io::file_permissions::set_gid, 
"set_gid"}, {
xtd::io::file_permissions::sticky_bit, 
"sticky_bit"}, {
xtd::io::file_permissions::unknown, 
"unknown"}};}
 
@ unknown
The type of drive is unknown.
 
#define flags_attribute_(namespace_name, enum_type)
Provides the set attribute struct for enumerations helper.
Definition flags_attribute.hpp:34
 
file_permissions
Provides permissions for files and directories.
Definition file_permissions.hpp:24
 
std::vector< xtd::collections::generic::key_value_pair< enum_t, xtd::string > > enum_collection
Represents a pair of an enum_t value and a string of an enum of type enum_t.
Definition enum_collection.hpp:22
 
@ owner_write
File owner has write permission.
 
@ owner_read
File owner has read permission.
 
@ set_uid
Set user ID to file owner user ID on execution.
 
@ group_read
The file's ueer group has read permission.
 
@ others_execute
Other ueers has execute/search permission.
 
@ none
No permission bits are set.
 
@ sticky_bit
Implementation-defined meaning, but POSIX XSI specifies that when set on a directory,...
 
@ owner_all
File owner has read, write and execute/search permission. Equivalent to xtd::io::file_permissions::ow...
 
@ others_all
Other ueers has read, write and execute/search permission. Equivalent to xtd::io::file_permissions::o...
 
@ group_execute
The file's ueer group has execute/search permission.
 
@ owner_execute
File owner has execute/search permission.
 
@ all
All users have read, write, and execute/search permissions. Equivalent to xtd::io::file_permissions::...
 
@ unknown
Unknown permissions (e.g. when file or directory is created without permissions).
 
@ group_write
The file's ueer group has write permission.
 
@ group_all
The file's ueer group has read, write and execute/search permission. Equivalent to xtd::io::file_perm...
 
@ others_read
Other ueers has read permission.
 
@ set_gid
Set group ID to file's user group ID on execution.
 
@ mask
All valid permission bits. Equivalent to xtd::io::file_permissions::all | xtd::io::file_permissions::...
 
@ others_write
Other ueers has write permission.
 
The xtd::io namespace contains types that allow reading and writing to files and data streams,...
Definition binary_reader.hpp:16
 
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10
 
Provides the registration struct for enumerations.
Definition enum_register.hpp:38