HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FS_Stat Class Reference

Helper class for encapsulating file information. More...

#include <FS_Info.h>

Public Member Functions

 FS_Stat (time_t f_mtime=0, int64 fsize=0, bool is_dir=false, bool is_shortcut=false)
 
 FS_Stat (const FS_Stat &src)=default
 
void updateSequenceStat (const FS_Stat &entry)
 
FS_Statoperator= (const FS_Stat &s)=default
 
bool operator== (const FS_Stat &s)
 
time_t modTime () const
 
int64 size () const
 
bool isDirectory () const
 
bool isShortcut () const
 

Public Attributes

time_t myModTime
 
int64 mySize
 
bool myDirectory:1
 
bool myShortcut:1
 

Detailed Description

Helper class for encapsulating file information.

Definition at line 55 of file FS_Info.h.

Constructor & Destructor Documentation

FS_Stat::FS_Stat ( time_t  f_mtime = 0,
int64  fsize = 0,
bool  is_dir = false,
bool  is_shortcut = false 
)
inline

Definition at line 58 of file FS_Info.h.

FS_Stat::FS_Stat ( const FS_Stat src)
default

Member Function Documentation

bool FS_Stat::isDirectory ( ) const
inline

Definition at line 88 of file FS_Info.h.

bool FS_Stat::isShortcut ( ) const
inline

Definition at line 89 of file FS_Info.h.

time_t FS_Stat::modTime ( ) const
inline

Definition at line 86 of file FS_Info.h.

FS_Stat& FS_Stat::operator= ( const FS_Stat s)
default
bool FS_Stat::operator== ( const FS_Stat s)
inline

Definition at line 78 of file FS_Info.h.

int64 FS_Stat::size ( void  ) const
inline

Definition at line 87 of file FS_Info.h.

void FS_Stat::updateSequenceStat ( const FS_Stat entry)
inline

Definition at line 66 of file FS_Info.h.

Member Data Documentation

bool FS_Stat::myDirectory

Definition at line 93 of file FS_Info.h.

time_t FS_Stat::myModTime

Definition at line 91 of file FS_Info.h.

bool FS_Stat::myShortcut

Definition at line 93 of file FS_Info.h.

int64 FS_Stat::mySize

Definition at line 92 of file FS_Info.h.


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