#include <sttemp.h>
Inheritance diagram for StTemp:
Public Member Functions | |
StTemp () | |
~StTemp () | |
bool | create (const StString &prefix, const StString &path=ST_DEFAULT_TEMP, unsigned attempts=ST_FILE_CREATE_LIMIT) |
void | clear () |
StString | get () |
Private Attributes | |
bool | clearOnDestruct |
Friends | |
StTemp & | stTemp () |
StTemp::StTemp | ( | ) | [inline] |
StTemp::~StTemp | ( | ) | [inline] |
void StTemp::clear | ( | ) |
Delete the temporary directory
bool StTemp::create | ( | const StString & | prefix, | |
const StString & | path = ST_DEFAULT_TEMP , |
|||
unsigned | attempts = ST_FILE_CREATE_LIMIT | |||
) |
StString StTemp::get | ( | ) | [inline] |
Get path to temporary directory
StTemp& stTemp | ( | ) | [friend] |
bool StTemp::clearOnDestruct [private] |