#include <FileDir.h>
Public Member Functions | |
| CTempFileW () | |
| ~CTempFileW () | |
| void | DisableDeleting () |
| UINT | Create (LPCWSTR dirPath, LPCWSTR prefix, UString &resultPath) |
| bool | Create (LPCWSTR prefix, UString &resultPath) |
| bool | Remove () |
Private Attributes | |
| bool | _mustBeDeleted |
| UString | _fileName |
Definition at line 131 of file FileDir.h.
| NWindows::NFile::NDirectory::CTempFileW::CTempFileW | ( | ) | [inline] |
| NWindows::NFile::NDirectory::CTempFileW::~CTempFileW | ( | ) | [inline] |
| void NWindows::NFile::NDirectory::CTempFileW::DisableDeleting | ( | ) | [inline] |
| UINT NWindows::NFile::NDirectory::CTempFileW::Create | ( | LPCWSTR | dirPath, | |
| LPCWSTR | prefix, | |||
| UString & | resultPath | |||
| ) |
Definition at line 536 of file FileDir.cpp.
References _fileName, _mustBeDeleted, NWindows::NFile::NDirectory::MyGetTempFileName(), and Remove().
Referenced by Create(), and NWindows::NFile::NDirectory::CreateTempDirectory().
Definition at line 548 of file FileDir.cpp.
References Create(), NWindows::NFile::NDirectory::MyGetTempPath(), and NWindows::NFile::NDirectory::MyGetWindowsDirectory().
| bool NWindows::NFile::NDirectory::CTempFileW::Remove | ( | ) |
Definition at line 560 of file FileDir.cpp.
References _fileName, _mustBeDeleted, and NWindows::NFile::NDirectory::DeleteFileAlways().
Referenced by Create(), and ~CTempFileW().
1.5.6