#include <FileDir.h>
Public Member Functions | |
| CTempFile () | |
| ~CTempFile () | |
| void | DisableDeleting () |
| UINT | Create (LPCTSTR dirPath, LPCTSTR prefix, CSysString &resultPath) |
| bool | Create (LPCTSTR prefix, CSysString &resultPath) |
| bool | Remove () |
Private Attributes | |
| bool | _mustBeDeleted |
| CSysString | _fileName |
Definition at line 115 of file FileDir.h.
| NWindows::NFile::NDirectory::CTempFile::CTempFile | ( | ) | [inline] |
| NWindows::NFile::NDirectory::CTempFile::~CTempFile | ( | ) | [inline] |
| void NWindows::NFile::NDirectory::CTempFile::DisableDeleting | ( | ) | [inline] |
| UINT NWindows::NFile::NDirectory::CTempFile::Create | ( | LPCTSTR | dirPath, | |
| LPCTSTR | prefix, | |||
| CSysString & | resultPath | |||
| ) |
Definition at line 502 of file FileDir.cpp.
References _fileName, _mustBeDeleted, NWindows::NFile::NDirectory::MyGetTempFileName(), and Remove().
Referenced by Create(), and NWindows::NFile::NDirectory::CreateTempDirectory().
| bool NWindows::NFile::NDirectory::CTempFile::Create | ( | LPCTSTR | prefix, | |
| CSysString & | resultPath | |||
| ) |
Definition at line 514 of file FileDir.cpp.
References Create(), NWindows::NFile::NDirectory::MyGetTempPath(), and NWindows::NFile::NDirectory::MyGetWindowsDirectory().
| bool NWindows::NFile::NDirectory::CTempFile::Remove | ( | ) |
Definition at line 526 of file FileDir.cpp.
References _fileName, _mustBeDeleted, and NWindows::NFile::NDirectory::DeleteFileAlways().
Referenced by Create(), and ~CTempFile().
1.5.6