Inheritance diagram for Exponent::Host::CFileInformation:

1.0.1 Added assignment operator
Definition at line 44 of file CFileInformation.hpp.
Attributes of the files.
Definition at line 60 of file CFileInformation.hpp.
| Exponent::Host::CFileInformation::CFileInformation | ( | ) |
Construction
| Exponent::Host::CFileInformation::CFileInformation | ( | const CFileInformation & | info | ) |
Copy Construction
| info | The info to copy |
| Exponent::Host::CFileInformation::CFileInformation | ( | WIN32_FIND_DATA & | fileInfo | ) |
Construction from a find data object
| fileInfo | The window file info |
| Exponent::Host::CFileInformation::CFileInformation | ( | dirent * | directoryEntry | ) |
Construction from a dirent structure
| directoryEntry | The unix dirent structure |
| virtual Exponent::Host::CFileInformation::~CFileInformation | ( | ) | [virtual] |
Destruction
| static int Exponent::Host::CFileInformation::compareFiles | ( | const CFileInformation ** | info1, | |
| const CFileInformation ** | info2 | |||
| ) | [static] |
Comparison for a qsort
| info1 | The first info | |
| info2 | The second info |
| <0 | info1 goes before info2 0 info1 == info2 >0 info1 goes after info2 |
| const CTime& Exponent::Host::CFileInformation::getCreationTime | ( | ) | const [inline] |
Get the creation time
| const | CTime& The creation time |
Definition at line 201 of file CFileInformation.hpp.
References m_creationTime.
| EFileAttribute Exponent::Host::CFileInformation::getFileAttribute | ( | ) | const [inline] |
| const CString& Exponent::Host::CFileInformation::getFilename | ( | ) | const [inline] |
Get the file name
| const | CString& The filename |
Definition at line 225 of file CFileInformation.hpp.
References m_filename.
| const CString& Exponent::Host::CFileInformation::getFoldername | ( | ) | const [inline] |
Get the folder name
| const | CString& The containing folder name |
Definition at line 237 of file CFileInformation.hpp.
References m_foldername.
| const CSystemString& Exponent::Host::CFileInformation::getFullPath | ( | ) | const [inline] |
Get the full path
| const | CSystemString& The full path to the file |
Definition at line 243 of file CFileInformation.hpp.
References m_fullPath.
| const CTime& Exponent::Host::CFileInformation::getLastAccessTime | ( | ) | const [inline] |
Get the last access time
| const | CTime& The last access time |
Definition at line 207 of file CFileInformation.hpp.
References m_accessTime.
| const CTime& Exponent::Host::CFileInformation::getLastWriteTime | ( | ) | const [inline] |
Get the last write time
| const | CTime& The last write time |
Definition at line 213 of file CFileInformation.hpp.
References m_writeTime.
| const CString& Exponent::Host::CFileInformation::getShortFilename | ( | ) | const [inline] |
Get the file name
| const | CString& The MSDOS style filename |
Definition at line 231 of file CFileInformation.hpp.
References m_shortFilename.
| double Exponent::Host::CFileInformation::getSizeInBytes | ( | ) | const [inline] |
Get the size of the file in bytes
| double | File size in bytes |
Definition at line 219 of file CFileInformation.hpp.
References m_fileSizeInBytes.
| bool Exponent::Host::CFileInformation::isDirectory | ( | ) | const [inline] |
Is this a directory
| bool | True if this points to a folder, false otherwise |
Definition at line 249 of file CFileInformation.hpp.
References e_directory, and m_attribute.
| virtual CFileInformation& Exponent::Host::CFileInformation::operator= | ( | const CFileInformation & | info | ) | [virtual] |
Assignment operator
| info | The info to copy |
| CFileInformation& | A reference to this |
| void Exponent::Host::CFileInformation::setCreationTime | ( | const CTime & | creationTime | ) |
Set the creation time
| creationTime | The creation time |
| void Exponent::Host::CFileInformation::setFileAttribute | ( | const EFileAttribute | attribute | ) |
Set the file attribute
| attribute | The file atributes |
| void Exponent::Host::CFileInformation::setFileInformationFromData | ( | WIN32_FIND_DATA & | fileInfo | ) |
Set from a find data object
| fileInfo | The window file info |
| void Exponent::Host::CFileInformation::setFilename | ( | const CString & | filename | ) |
Set the file name
| filename | the filename |
| void Exponent::Host::CFileInformation::setFoldername | ( | const CString & | foldername | ) |
Set the folders name
| foldername | The containing folders name |
| void Exponent::Host::CFileInformation::setLastAccessTime | ( | const CTime & | lastAccess | ) |
Set the last access time
| lastAccess | last access time |
| void Exponent::Host::CFileInformation::setLastWriteTime | ( | const CTime & | lastWrite | ) |
Set the last write time
| lastWrite | The last write time |
| void Exponent::Host::CFileInformation::setSizeInBytes | ( | const double | size | ) |
Set the size of the file in bytes
| size | The size in bytes |
CTime Exponent::Host::CFileInformation::m_accessTime [protected] |
Last access time
Definition at line 259 of file CFileInformation.hpp.
Referenced by getLastAccessTime().
File attribute
Definition at line 257 of file CFileInformation.hpp.
Referenced by getFileAttribute(), and isDirectory().
Time of creation
Definition at line 258 of file CFileInformation.hpp.
Referenced by getCreationTime().
CString Exponent::Host::CFileInformation::m_filename [protected] |
double Exponent::Host::CFileInformation::m_fileSizeInBytes [protected] |
File size in bytes
Definition at line 261 of file CFileInformation.hpp.
Referenced by getSizeInBytes().
Folder that contains it
Definition at line 264 of file CFileInformation.hpp.
Referenced by getFoldername().
Full path to the file
Definition at line 265 of file CFileInformation.hpp.
Referenced by getFullPath().
MS-DOS style filename
Definition at line 263 of file CFileInformation.hpp.
Referenced by getShortFilename().
CTime Exponent::Host::CFileInformation::m_writeTime [protected] |
Last write time
Definition at line 260 of file CFileInformation.hpp.
Referenced by getLastWriteTime().