HDK
|
#include <UT_FileStat.h>
Public Types | |
enum | FileType { REGULAR, EXECUTABLE, DIRECTORY, SHORTCUT, SOCKET, CHAR_DEVICE, BLOCK_DEVICE, SPECIAL } |
typedef int | PermissionType |
Public Member Functions | |
UT_FileStat (FileType ftype=REGULAR, int64 fsize=0, time_t f_atime=0, time_t f_ctime=0, time_t f_mtime=0, PermissionType f_permissions=0777) | |
void | fixInvalidTimestamps () |
bool | isFile () const |
bool | isDirectory () const |
Public Attributes | |
FileType | myFileType |
int64 | mySize |
time_t | myAccessTime |
time_t | myCreateTime |
time_t | myModTime |
PermissionType | myPermissions |
Definition at line 18 of file UT_FileStat.h.
typedef int UT_FileStat::PermissionType |
Definition at line 35 of file UT_FileStat.h.
Enumerator | |
---|---|
REGULAR | |
EXECUTABLE | |
DIRECTORY | |
SHORTCUT | |
SOCKET | |
CHAR_DEVICE | |
BLOCK_DEVICE | |
SPECIAL |
Definition at line 21 of file UT_FileStat.h.
|
inline |
Definition at line 37 of file UT_FileStat.h.
|
inline |
Definition at line 53 of file UT_FileStat.h.
|
inline |
Definition at line 69 of file UT_FileStat.h.
|
inline |
Definition at line 67 of file UT_FileStat.h.
time_t UT_FileStat::myAccessTime |
Definition at line 74 of file UT_FileStat.h.
time_t UT_FileStat::myCreateTime |
Definition at line 75 of file UT_FileStat.h.
FileType UT_FileStat::myFileType |
Definition at line 72 of file UT_FileStat.h.
time_t UT_FileStat::myModTime |
Definition at line 76 of file UT_FileStat.h.
PermissionType UT_FileStat::myPermissions |
Definition at line 77 of file UT_FileStat.h.
int64 UT_FileStat::mySize |
Definition at line 73 of file UT_FileStat.h.