|
nux-0.9.46
|
#include <NuxCore/FileManager/NFileManagerGNU.h>
Public Member Functions | |
| virtual NSerializer * | CreateFileReader (const TCHAR *Filename, DWORD Flags, LogOutputDevice &Error=GNullDevice) |
| virtual NSerializer * | CreateFileWriter (const TCHAR *Filename, DWORD Flags, LogOutputDevice &Error=GNullDevice) |
| t_s64 | FileSize (const TCHAR *Filename) |
| bool | FileExist (const TCHAR *Filename) |
| int | Copy (const TCHAR *DestFile, const TCHAR *SrcFile, bool OverWriteExisting, bool OverWriteReadOnly, NFileTransferMonitor *Monitor) |
| bool | Move (const TCHAR *Dest, const TCHAR *Src, bool OverWriteExisting=true, bool OverWriteReadOnly=false, NFileTransferMonitor *Monitor=NULL) |
| bool | Delete (const TCHAR *Filename, bool OverWriteReadOnly=false) |
| bool | IsReadOnly (const TCHAR *Filename) |
| bool | IsDirectory (const TCHAR *DirectoryName) |
| bool | IsHidden (const TCHAR *Filename) |
| bool | GetFileAttribute (const TCHAR *Filename, bool &isDirectory, bool &isReadOnly, bool &isHidden, t_s64 &Size) |
| bool | MakeDirectory (const TCHAR *Path, bool CreateCompletePath=false) |
| bool | DeleteDirectory (const TCHAR *Path, bool DeleteContentFirst=false) |
| Delete directory. | |
| void | FindFiles (std::vector< NString > &Result, const TCHAR *Filename, bool Files, bool Directories) |
| void | ListFilesInDirectory (std::vector< NString > &Result, const TCHAR *DirName) |
| double | GetFileAgeSeconds (const TCHAR *Filename) |
| time_t | GetFileLastModified (const TCHAR *Filename) |
| bool | SetDefaultDirectory () |
| NString | GetCurrentDirectory () |
| bool | GetTimeStamp (const TCHAR *Filename, FileTimeStamp &Timestamp) |
| int nux::NFileManagerGNU::Copy | ( | const TCHAR * | DestFile, |
| const TCHAR * | SrcFile, | ||
| bool | OverWriteExisting, | ||
| bool | OverWriteReadOnly, | ||
| NFileTransferMonitor * | Monitor | ||
| ) | [virtual] |
Reimplemented from nux::NFileManagerGeneric.
| virtual NSerializer* nux::NFileManagerGNU::CreateFileReader | ( | const TCHAR * | Filename, |
| DWORD | Flags, | ||
| LogOutputDevice & | Error = GNullDevice |
||
| ) | [virtual] |
Implements nux::NFileManager.
| virtual NSerializer* nux::NFileManagerGNU::CreateFileWriter | ( | const TCHAR * | Filename, |
| DWORD | Flags, | ||
| LogOutputDevice & | Error = GNullDevice |
||
| ) | [virtual] |
Implements nux::NFileManager.
| bool nux::NFileManagerGNU::Delete | ( | const TCHAR * | Filename, |
| bool | OverWriteReadOnly = false |
||
| ) | [virtual] |
Implements nux::NFileManager.
| bool nux::NFileManagerGNU::DeleteDirectory | ( | const TCHAR * | Path, |
| bool | DeleteContentFirst = false |
||
| ) | [virtual] |
Delete directory.
Delete a Directory. If DeleteContent is true, The content of the directory is deleted before the directory itself;
| Path | Path of the directory |
| DeleteContentFirst | Delete the content of the directory before deleting the directory itself. |
Reimplemented from nux::NFileManagerGeneric.
| bool nux::NFileManagerGNU::FileExist | ( | const TCHAR * | Filename | ) | [virtual] |
Implements nux::NFileManager.
Implements nux::NFileManager.
| void nux::NFileManagerGNU::FindFiles | ( | std::vector< NString > & | Result, |
| const TCHAR * | Filename, | ||
| bool | Files, | ||
| bool | Directories | ||
| ) | [inline, virtual] |
Implements nux::NFileManager.
| NString nux::NFileManagerGNU::GetCurrentDirectory | ( | ) | [inline, virtual] |
Implements nux::NFileManager.
| double nux::NFileManagerGNU::GetFileAgeSeconds | ( | const TCHAR * | Filename | ) | [inline, virtual] |
Implements nux::NFileManager.
| bool nux::NFileManagerGNU::GetFileAttribute | ( | const TCHAR * | Filename, |
| bool & | isDirectory, | ||
| bool & | isReadOnly, | ||
| bool & | isHidden, | ||
| t_s64 & | Size | ||
| ) | [virtual] |
Implements nux::NFileManager.
| time_t nux::NFileManagerGNU::GetFileLastModified | ( | const TCHAR * | Filename | ) | [inline, virtual] |
Implements nux::NFileManager.
| bool nux::NFileManagerGNU::GetTimeStamp | ( | const TCHAR * | Filename, |
| FileTimeStamp & | Timestamp | ||
| ) | [inline, virtual] |
Implements nux::NFileManager.
| bool nux::NFileManagerGNU::IsDirectory | ( | const TCHAR * | DirectoryName | ) | [virtual] |
Implements nux::NFileManager.
| bool nux::NFileManagerGNU::IsHidden | ( | const TCHAR * | Filename | ) | [virtual] |
Implements nux::NFileManager.
| bool nux::NFileManagerGNU::IsReadOnly | ( | const TCHAR * | Filename | ) | [virtual] |
Implements nux::NFileManager.
| void nux::NFileManagerGNU::ListFilesInDirectory | ( | std::vector< NString > & | Result, |
| const TCHAR * | DirName | ||
| ) | [inline, virtual] |
Implements nux::NFileManager.
| bool nux::NFileManagerGNU::MakeDirectory | ( | const TCHAR * | Path, |
| bool | CreateCompletePath = false |
||
| ) | [virtual] |
Reimplemented from nux::NFileManagerGeneric.
| bool nux::NFileManagerGNU::Move | ( | const TCHAR * | Dest, |
| const TCHAR * | Src, | ||
| bool | OverWriteExisting = true, |
||
| bool | OverWriteReadOnly = false, |
||
| NFileTransferMonitor * | Monitor = NULL |
||
| ) | [virtual] |
Reimplemented from nux::NFileManagerGeneric.
| bool nux::NFileManagerGNU::SetDefaultDirectory | ( | ) | [inline, virtual] |
Implements nux::NFileManager.