Kodi Development  19.0
for Binary and Script based Add-Ons
FileStatus

Inherits CStructHdl< FileStatus, STAT_STRUCTURE >.

Public Member Functions

time_t GetAccessTime () const
 Get time of last access. More...
 
uint32_t GetDeviceId () const
 Get ID of device containing file. More...
 
uint64_t GetFileSerialNumber () const
 Get the file serial number, which distinguishes this file from all other files on the same device. More...
 
bool GetIsBlock () const
 Get stat url is a block special. More...
 
bool GetIsCharacter () const
 Get stat url is a character special. More...
 
bool GetIsDirectory () const
 The stat url is a directory if returns true. More...
 
bool GetIsFifo () const
 Get stat url is a FIFO special. More...
 
bool GetIsRegular () const
 Get stat url is a regular. More...
 
bool GetIsSocket () const
 Get stat url is a regular. More...
 
bool GetIsSymLink () const
 Get stat url is a symbolic link. More...
 
time_t GetModificationTime () const
 Get time of last modification. More...
 
uint64_t GetSize () const
 Get total size, in bytes. More...
 
time_t GetStatusTime () const
 Get time of last status change. More...
 
void SetAccessTime (time_t accessTime)
 Set time of last access. More...
 
void SetDeviceId (uint32_t deviceId)
 Set ID of device containing file. More...
 
void SetFileSerialNumber (uint64_t fileSerialNumber)
 Set the file serial number, which distinguishes this file from all other files on the same device. More...
 
void SetIsBlock (bool isBlock)
 Set stat url as a block special. More...
 
void SetIsCharacter (bool isCharacter)
 Set stat url as a character special. More...
 
void SetIsDirectory (bool isDirectory)
 Set the stat url is a directory. More...
 
void SetIsFifo (bool isFifo)
 Set stat url as a FIFO special. More...
 
void SetIsRegular (bool isRegular)
 Set stat url as a regular. More...
 
void SetIsSocket (bool isSocket)
 Set stat url is a socket. More...
 
void SetIsSymLink (bool isSymLink)
 Set stat url as a symbolic link. More...
 
void SetModificationTime (time_t modificationTime)
 Set time of last modification. More...
 
void SetSize (uint64_t size)
 Set total size, in bytes. More...
 
void SetStatusTime (time_t statusTime)
 Set time of last status change. More...
 
- Public Member Functions inherited from CStructHdl< FileStatus, STAT_STRUCTURE >
 CStructHdl (const FileStatus &cppClass)
 
 CStructHdl (const STAT_STRUCTURE *cStructure)
 
 CStructHdl (STAT_STRUCTURE *cStructure)
 
const STAT_STRUCTUREGetCStructure () const
 
 operator const STAT_STRUCTURE * () const
 
 operator STAT_STRUCTURE * ()
 
const CStructHdloperator= (const CStructHdl &right)
 
const CStructHdloperator= (const STAT_STRUCTURE &right)
 

Additional Inherited Members

- Protected Attributes inherited from CStructHdl< FileStatus, STAT_STRUCTURE >
STAT_STRUCTUREm_cStructure
 

Member Function Documentation

◆ SetDeviceId()

void SetDeviceId ( uint32_t  deviceId)
inline

Set ID of device containing file.

◆ GetDeviceId()

uint32_t GetDeviceId ( ) const
inline

Get ID of device containing file.

◆ SetFileSerialNumber()

void SetFileSerialNumber ( uint64_t  fileSerialNumber)
inline

Set the file serial number, which distinguishes this file from all other files on the same device.

◆ GetFileSerialNumber()

uint64_t GetFileSerialNumber ( ) const
inline

Get the file serial number, which distinguishes this file from all other files on the same device.

◆ SetSize()

void SetSize ( uint64_t  size)
inline

Set total size, in bytes.

◆ GetSize()

uint64_t GetSize ( ) const
inline

Get total size, in bytes.

◆ SetAccessTime()

void SetAccessTime ( time_t  accessTime)
inline

Set time of last access.

◆ GetAccessTime()

time_t GetAccessTime ( ) const
inline

Get time of last access.

◆ SetModificationTime()

void SetModificationTime ( time_t  modificationTime)
inline

Set time of last modification.

◆ GetModificationTime()

time_t GetModificationTime ( ) const
inline

Get time of last modification.

◆ SetStatusTime()

void SetStatusTime ( time_t  statusTime)
inline

Set time of last status change.

◆ GetStatusTime()

time_t GetStatusTime ( ) const
inline

Get time of last status change.

◆ SetIsDirectory()

void SetIsDirectory ( bool  isDirectory)
inline

Set the stat url is a directory.

◆ GetIsDirectory()

bool GetIsDirectory ( ) const
inline

The stat url is a directory if returns true.

◆ SetIsSymLink()

void SetIsSymLink ( bool  isSymLink)
inline

Set stat url as a symbolic link.

◆ GetIsSymLink()

bool GetIsSymLink ( ) const
inline

Get stat url is a symbolic link.

◆ SetIsBlock()

void SetIsBlock ( bool  isBlock)
inline

Set stat url as a block special.

◆ GetIsBlock()

bool GetIsBlock ( ) const
inline

Get stat url is a block special.

◆ SetIsCharacter()

void SetIsCharacter ( bool  isCharacter)
inline

Set stat url as a character special.

◆ GetIsCharacter()

bool GetIsCharacter ( ) const
inline

Get stat url is a character special.

◆ SetIsFifo()

void SetIsFifo ( bool  isFifo)
inline

Set stat url as a FIFO special.

◆ GetIsFifo()

bool GetIsFifo ( ) const
inline

Get stat url is a FIFO special.

◆ SetIsRegular()

void SetIsRegular ( bool  isRegular)
inline

Set stat url as a regular.

◆ GetIsRegular()

bool GetIsRegular ( ) const
inline

Get stat url is a regular.

◆ SetIsSocket()

void SetIsSocket ( bool  isSocket)
inline

Set stat url is a socket.

◆ GetIsSocket()

bool GetIsSocket ( ) const
inline

Get stat url is a regular.


The documentation for this class was generated from the following file: