ADTF
|
File attribute class. More...
Public Types | |
enum | FileAttributeFlag { ATTRIBUTE_READONLY = 1 , ATTRIBUTE_FOLDER = 2 , ATTRIBUTE_HIDDEN = 4 , ATTRIBUTE_SYSTEM = 8 , ATTRIBUTE_ARCHIVE = 16 , ATTRIBUTE_COMPRESSED = 32 , ATTRIBUTE_ENCRYPTED = 64 , ATTRIBUTE_OFFLINE = 128 , ATTRIBUTE_SYMLINK = 256 , ATTRIBUTE_PIPE = 512 , ATTRIBUTE_BLOCKDEVICE = 1024 , ATTRIBUTE_CHARDEVICE = 2048 , ATTRIBUTE_INVALID = 0xFFFFFFFF } |
Enumeration of file attributes. | |
Public Member Functions | |
cFileAttributes () | |
Default constructor. More... | |
cFileAttributes (tUInt32 nAttributes) | |
Constructor for settings attributes through a bitmask. More... | |
tBool | Set (tUInt32 nAttributes) |
Set attributes through a bitmask. More... | |
tUInt32 | GetAttributes (tUInt32 &nAttributes) const |
Returns the attributes as a bitmask. More... | |
Public Attributes | |
tBool | bValid |
tBool | bReadOnly |
Is readonly. | |
tBool | bFolder |
Is a folder. | |
tBool | bHidden |
is a hidden file/directory,... | |
tBool | bSystem |
is a system file/directory,... | |
tBool | bArchive |
is archived | |
tBool | bCompressed |
is compressed | |
tBool | bEncrypted |
is encrypted | |
tBool | bOffline |
tBool | bSymLink |
is a symbolic link | |
tBool | bPipe |
is a pipe | |
tBool | bBlockDevice |
is a block device | |
tBool | bCharDevice |
is a character device | |
Private Member Functions | |
void | Init () |
File attribute class.
Definition at line 18 of file builds/digitalwerk/solutions/adtf_content/adtf_base/adtf_core/src/libraries/a_utils/include/a_utils/core/filesystem.h.
|
inline |
Default constructor.
Definition at line 69 of file builds/digitalwerk/solutions/adtf_content/adtf_base/adtf_core/src/libraries/a_utils/include/a_utils/core/filesystem.h.
|
inline |
Constructor for settings attributes through a bitmask.
nAttributes | [in] The attributes. |
Definition at line 79 of file builds/digitalwerk/solutions/adtf_content/adtf_base/adtf_core/src/libraries/a_utils/include/a_utils/core/filesystem.h.
Returns the attributes as a bitmask.
nAttributes | [out] This parameter will be filled with the bitmask. |
Definition at line 132 of file builds/digitalwerk/solutions/adtf_content/adtf_base/adtf_core/src/libraries/a_utils/include/a_utils/core/filesystem.h.
Set attributes through a bitmask.
nAttributes | [in] The attributes. |
Definition at line 94 of file builds/digitalwerk/solutions/adtf_content/adtf_base/adtf_core/src/libraries/a_utils/include/a_utils/core/filesystem.h.
tBool bOffline |
tBool bValid |