Implementation of the CGUIDirInfo for *NIX systems.
More...
#include <GUIDirInfoPOSIX.h>
Implementation of the CGUIDirInfo for *NIX systems.
◆ ~CGUIDirInfoPOSIX()
CGUIDirInfoPOSIX::~CGUIDirInfoPOSIX |
( |
| ) |
|
|
inline |
◆ CheckExist()
virtual eC_Bool CGUIDirInfoPOSIX::CheckExist |
( |
| ) |
const |
|
virtual |
Check whether the file does exist in the file system.
- Returns
- True if the file does exist, otherwise False.
Implements CGUIDirInfo.
◆ GetGroupID()
virtual eC_UInt CGUIDirInfoPOSIX::GetGroupID |
( |
| ) |
const |
|
virtual |
Get the group ID of this file.
- Returns
- The group ID of this file.
Implements CGUIDirInfo.
◆ GetGroupName()
virtual eC_String CGUIDirInfoPOSIX::GetGroupName |
( |
| ) |
const |
|
virtual |
Get the group name of this file.
- Returns
- The group name of this file.
Implements CGUIDirInfo.
◆ GetOwnerID()
virtual eC_UInt CGUIDirInfoPOSIX::GetOwnerID |
( |
| ) |
const |
|
virtual |
Get the owner ID of the file.
- Returns
- the owner ID of the file.
Implements CGUIDirInfo.
◆ GetOwnerName()
virtual eC_String CGUIDirInfoPOSIX::GetOwnerName |
( |
| ) |
const |
|
virtual |
Get the owner name of the file.
- Returns
- The owner name of the file.
Implements CGUIDirInfo.
◆ GetSize()
virtual long long int CGUIDirInfoPOSIX::GetSize |
( |
| ) |
const |
|
virtual |
Get the size of the file.
- Returns
- The size of the file.
Implements CGUIDirInfo.
◆ GetTime()
Get the time according to the given file time type.
- Parameters
-
eFileTime | The file time type, i.e. Created, LatestModifed or LatestRead. |
- Returns
- Time obtained.
Implements CGUIDirInfo.
◆ GetTimeCreated()
Get the time when the file was created.
- Returns
- The time when the file was created.
Implements CGUIDirInfo.
◆ GetTimeLatestModified()
virtual GUIFileTime_t CGUIDirInfoPOSIX::GetTimeLatestModified |
( |
| ) |
const |
|
virtual |
Get the time when the file was modified last time.
- Returns
- The time when the file was modified last time.
Implements CGUIDirInfo.
◆ GetTimeLatestRead()
virtual GUIFileTime_t CGUIDirInfoPOSIX::GetTimeLatestRead |
( |
| ) |
const |
|
virtual |
Get the time when the file was read last time.
- Returns
- The time when the file was read last time.
Implements CGUIDirInfo.
◆ IsDir()
virtual eC_Bool CGUIDirInfoPOSIX::IsDir |
( |
| ) |
const |
|
virtual |
Check whether the file is a directory.
- Returns
- True if it is a directory, otherwise False.
Implements CGUIDirInfo.
◆ IsExecutable()
virtual eC_Bool CGUIDirInfoPOSIX::IsExecutable |
( |
| ) |
const |
|
virtual |
Check whether the file is executable or not.
- Returns
- True if the file is excutable, otherwise False.
Implements CGUIDirInfo.
◆ IsFile()
virtual eC_Bool CGUIDirInfoPOSIX::IsFile |
( |
| ) |
const |
|
virtual |
Check whether the file is a file (not a directory).
- Returns
- True if it is a file, otherwise False.
Implements CGUIDirInfo.
◆ IsHidden()
virtual eC_Bool CGUIDirInfoPOSIX::IsHidden |
( |
| ) |
const |
|
virtual |
Check whether the file is a hidden file.
- Returns
- True if it is a hidden file, otherwise False.
Implements CGUIDirInfo.
◆ IsReadable()
virtual eC_Bool CGUIDirInfoPOSIX::IsReadable |
( |
| ) |
const |
|
virtual |
Check whether the file is readable or not.
- Returns
- True if the file is readable, otherwise False.
Implements CGUIDirInfo.
◆ IsRoot()
virtual eC_Bool CGUIDirInfoPOSIX::IsRoot |
( |
| ) |
const |
|
virtual |
Check whether the given file is a root directory or not.
- Returns
- True if the directory is the root directory; otherwise False.
Implements CGUIDirInfo.
◆ IsSymLink()
virtual eC_Bool CGUIDirInfoPOSIX::IsSymLink |
( |
| ) |
const |
|
virtual |
Check whether the file is a symlink.
- Returns
- True if it is a symlink, otherwise False.
Implements CGUIDirInfo.
◆ IsSystem()
virtual eC_Bool CGUIDirInfoPOSIX::IsSystem |
( |
| ) |
const |
|
virtual |
Check whether the file is a system file. Means that the file is a FIFO, socket or device file.
- Returns
- True if it is a hidden file, otherwise False.
Implements CGUIDirInfo.
◆ IsWritable()
virtual eC_Bool CGUIDirInfoPOSIX::IsWritable |
( |
| ) |
const |
|
virtual |
Check whether the file is writable or not.
- Returns
- True if the file is writable, otherwise False.
Implements CGUIDirInfo.
◆ ReadLink()
virtual eC_String CGUIDirInfoPOSIX::ReadLink |
( |
| ) |
const |
|
virtual |
Get the name a symlink points to, or a an empty string if the object isn't a symbolic link.
- Returns
- The file name that the symlink points to.
Implements CGUIDirInfo.
The documentation for this class was generated from the following file: