![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
![]() |
#include <FXStat.h>
Public Member Functions | |
FXuint | mode () const |
FXlong | size () const |
FXuint | user () const |
FXuint | group () const |
FXTime | modified () const |
FXTime | accessed () const |
FXTime | created () const |
FXTime | touched () const |
bool | isHidden () const |
bool | isFile () const |
bool | isLink () const |
bool | isCharacter () const |
bool | isBlock () const |
bool | isSocket () const |
bool | isFifo () const |
bool | isDirectory () const |
bool | isReadable () const |
bool | isWritable () const |
bool | isExecutable () const |
bool | isOwnerReadWriteExecute () const |
bool | isOwnerReadable () const |
bool | isOwnerWritable () const |
bool | isOwnerExecutable () const |
bool | isGroupReadWriteExecute () const |
bool | isGroupReadable () const |
bool | isGroupWritable () const |
bool | isGroupExecutable () const |
bool | isOtherReadWriteExecute () const |
bool | isOtherReadable () const |
bool | isOtherWritable () const |
bool | isOtherExecutable () const |
bool | isSetUid () const |
bool | isSetGid () const |
bool | isSetSticky () const |
Static Public Member Functions | |
static bool | statFile (const FXString &file, FXStat &info) |
static bool | statLink (const FXString &file, FXStat &info) |
static bool | stat (const FXFile &file, FXStat &info) |
static FXuint | mode (const FXString &file) |
static bool | mode (const FXString &file, FXuint perm) |
static bool | exists (const FXString &file) |
static FXlong | size (const FXString &file) |
static FXTime | modified (const FXString &file) |
static FXTime | accessed (const FXString &file) |
static FXTime | created (const FXString &file) |
static FXTime | touched (const FXString &file) |
static bool | isHidden (const FXString &file) |
static bool | isFile (const FXString &file) |
static bool | isLink (const FXString &file) |
static bool | isDirectory (const FXString &file) |
static bool | isReadable (const FXString &file) |
static bool | isWritable (const FXString &file) |
static bool | isExecutable (const FXString &file) |
static bool | isOwnerReadWriteExecute (const FXString &file) |
static bool | isOwnerReadable (const FXString &file) |
static bool | isOwnerWritable (const FXString &file) |
static bool | isOwnerExecutable (const FXString &file) |
static bool | isGroupReadWriteExecute (const FXString &file) |
static bool | isGroupReadable (const FXString &file) |
static bool | isGroupWritable (const FXString &file) |
static bool | isGroupExecutable (const FXString &file) |
static bool | isOtherReadWriteExecute (const FXString &file) |
static bool | isOtherReadable (const FXString &file) |
static bool | isOtherWritable (const FXString &file) |
static bool | isOtherExecutable (const FXString &file) |
static bool | isSetUid (const FXString &file) |
static bool | isSetGid (const FXString &file) |
static bool | isSetSticky (const FXString &file) |
Friends | |
class | FXFile |
Statistics about a file or directory.
Get statistics of the file into the stat buffer info.
Get statistice of the link into the stat buffer info.
Get statistics of already open file into stat buffer info.
|
inline |
Return the mode flags for this file.
|
inline |
Return file size in bytes.
|
inline |
Return user number.
|
inline |
Return group number.
|
inline |
Return time when last modified.
|
inline |
Return time when last accessed.
|
inline |
Return time when file was created.
FXTime FX::FXStat::touched | ( | ) | const |
Return time anything was changed.
bool FX::FXStat::isHidden | ( | ) | const |
Return true if it is a hidden file (Windows-only)
bool FX::FXStat::isFile | ( | ) | const |
Return true if it is a regular file.
bool FX::FXStat::isLink | ( | ) | const |
Return true if it is a link.
bool FX::FXStat::isCharacter | ( | ) | const |
Return true if character device.
bool FX::FXStat::isBlock | ( | ) | const |
Return true if block device.
bool FX::FXStat::isSocket | ( | ) | const |
Return true if socket device.
bool FX::FXStat::isFifo | ( | ) | const |
Return true if fifo (pipe) device.
bool FX::FXStat::isDirectory | ( | ) | const |
Return true if input path is a directory.
bool FX::FXStat::isReadable | ( | ) | const |
Return true if file is readable.
bool FX::FXStat::isWritable | ( | ) | const |
Return true if file is writable.
bool FX::FXStat::isExecutable | ( | ) | const |
Return true if file is executable.
bool FX::FXStat::isOwnerReadWriteExecute | ( | ) | const |
Return true if owner has read-write-execute permissions.
bool FX::FXStat::isOwnerReadable | ( | ) | const |
Return true if owner has read permissions.
bool FX::FXStat::isOwnerWritable | ( | ) | const |
Return true if owner has write permissions.
bool FX::FXStat::isOwnerExecutable | ( | ) | const |
Return true if owner has execute permissions.
bool FX::FXStat::isGroupReadWriteExecute | ( | ) | const |
Return true if group has read-write-execute permissions.
bool FX::FXStat::isGroupReadable | ( | ) | const |
Return true if group has read permissions.
bool FX::FXStat::isGroupWritable | ( | ) | const |
Return true if group has write permissions.
bool FX::FXStat::isGroupExecutable | ( | ) | const |
Return true if group has execute permissions.
bool FX::FXStat::isOtherReadWriteExecute | ( | ) | const |
Return true if others have read-write-execute permissions.
bool FX::FXStat::isOtherReadable | ( | ) | const |
Return true if others have read permissions.
bool FX::FXStat::isOtherWritable | ( | ) | const |
Return true if others have write permissions.
bool FX::FXStat::isOtherExecutable | ( | ) | const |
Return true if others have execute permissions.
bool FX::FXStat::isSetUid | ( | ) | const |
Return true if the file sets the user id on execution.
bool FX::FXStat::isSetGid | ( | ) | const |
Return true if the file sets the group id on execution.
bool FX::FXStat::isSetSticky | ( | ) | const |
Return true if the file has the sticky bit set.
Change the mode flags for this file.
|
static |
Return true if file exists.
|
static |
Return file size in bytes.
Return last modified time for this file, on filesystems where this is supported.
This is the time when any data in the file was last modified.
Return last accessed time for this file, on filesystems where this is supported.
Return created time for this file, on filesystems where this is supported.
This is also the time when ownership, permissions, links, and other meta-data may have changed.
Return touched time for this file, on filesystems where this is supported.
This is the time when anything at all, either contents or meta-data, about the file was changed.
|
static |
Return true if file is hidden.
|
static |
Return true if input path is a file name.
|
static |
Return true if input path is a link.
|
static |
Return true if input path is a directory.
|
static |
Return true if file is readable.
|
static |
Return true if file is writable.
|
static |
Return true if file is executable.
|
static |
Return true if owner has read-write-execute permissions.
|
static |
Return true if owner has read permissions.
|
static |
Return true if owner has write permissions.
|
static |
Return true if owner has execute permissions.
|
static |
Return true if group has read-write-execute permissions.
|
static |
Return true if group has read permissions.
|
static |
Return true if group has write permissions.
|
static |
Return true if group has execute permissions.
|
static |
Return true if others have read-write-execute permissions.
|
static |
Return true if others have read permissions.
|
static |
Return true if others have write permissions.
|
static |
Return true if others have execute permissions.
|
static |
Return true if the file sets the user id on execution.
|
static |
Return true if the file sets the group id on execution.
|
static |
Return true if the file has the sticky bit set.
|
friend |
![]() |