Public Types | |
enum | Flags { UseProcessId = 0x01, UseTime = 0x02, DefaultName = UseProcessId | UseTime, AllowShared = 0x10, RequireUnique = 0x00, Default = DefaultName | RequireUnique } |
Public Member Functions | |
CTempDirectory (DWORD flags=Flags::Default) | |
Create a temporary directory with the prefix "JETBYTE_TEMP". | |
CTempDirectory (const Core::_tstring &prefix, DWORD flags=Flags::Default) | |
Create a temporary directory with the specified prefix. | |
CTempDirectory (const CTempDirectory &rhs) | |
~CTempDirectory () | |
Remove the contents of the directory and remove the directory. | |
CTempDirectory & | operator= (const CTempDirectory &rhs) |
const Core::_tstring & | GetDirectoryName () const |
Return the directory name. | |
void | RemoveContents () const |
Empty the directory. |
enum Flags |
CTempDirectory | ( | DWORD | flags = Flags::Default |
) | [explicit] |
Create a temporary directory with the prefix "JETBYTE_TEMP".
CTempDirectory | ( | const Core::_tstring & | prefix, | |
DWORD | flags = Flags::Default | |||
) | [explicit] |
Create a temporary directory with the specified prefix.
CTempDirectory | ( | const CTempDirectory & | rhs | ) |
~CTempDirectory | ( | ) |
Remove the contents of the directory and remove the directory.
CTempDirectory& operator= | ( | const CTempDirectory & | rhs | ) |
const _tstring & GetDirectoryName | ( | ) | const |
Return the directory name.
void RemoveContents | ( | ) | const |
Empty the directory.