This struct provides a namespace for file-system permission bits.
Declared in <bdls_filepermissions.h>
struct FilePermissions;
This struct provides a namespace for a std::filesystem::perms-style enumeration of file-system permission bits, and a pair of predicates for validating an int bit mask against that enumeration.
| Name | Description |
|---|---|
Enum | Enumerated file-system permission bits. |
| Name | Description |
|---|---|
isValid | Return true if permissions uses only bits defined in Enum. |
isValidBaseBits | Return true if permissions uses only the base nine rwx bits. |
print | Write the octal representation of value to the specified stream. |