|
Safeheron-SGX-Native-Development-Framework v1.2.0
|
A class to store file type and permissions. More...
#include <ssgx_filesystem_t.h>
Public Member Functions | |
| FileStatus () noexcept | |
| Construct a FileStatus and initialize it. | |
| FileStatus (FileType ft, Perms prms=Perms::Unknown) noexcept | |
| Construct a FileStatus and initialize it. | |
| FileStatus (const FileStatus &) noexcept=default | |
| A copy constructor. | |
| FileStatus (FileStatus &&) noexcept=default | |
| A move constructor. | |
| ~FileStatus () | |
| Destruction. | |
| FileStatus & | operator= (const FileStatus &) noexcept=default |
| A copy assignment operator. | |
| FileStatus & | operator= (FileStatus &&) noexcept=default |
| A move assignment operator. | |
| FileType | Type () const noexcept |
| Return the file type of file. | |
| Perms | Permissions () const noexcept |
| Return the permissions of file. | |
| void | Type (FileType ft) noexcept |
| Modify the file type in FileStatus. | |
| void | Permissions (Perms p) noexcept |
| Modify the permissions in FileStatus. | |
A class to store file type and permissions.
|
inlinenoexcept |
Construct a FileStatus and initialize it.
|
inlineexplicitnoexcept |
Construct a FileStatus and initialize it.
|
defaultnoexcept |
A copy constructor.
|
defaultnoexcept |
A move constructor.
|
inline |
Destruction.
|
defaultnoexcept |
A copy assignment operator.
|
defaultnoexcept |
A move assignment operator.
|
inlinenoexcept |
Return the permissions of file.
|
inlinenoexcept |
Modify the permissions in FileStatus.
| [in] | p | Input permissions (Octal number) |
|
inlinenoexcept |
Return the file type of file.
|
inlinenoexcept |
Modify the file type in FileStatus.
| [in] | ft | Input file type |