OpenMS
2.8.0
|
Class representing a temporary directory. More...
#include <OpenMS/SYSTEM/File.h>
Public Member Functions | |
TempDir (bool keep_dir=false) | |
~TempDir () | |
Destroy temporary folder (can be prohibited in Constructor) More... | |
TempDir (const TempDir &)=delete | |
delete all means to copy or move a TempDir More... | |
TempDir & | operator= (const TempDir &)=delete |
TempDir (TempDir &&)=delete | |
TempDir & | operator= (TempDir &&)=delete |
const String & | getPath () const |
Return path to temporary folder. More... | |
Private Attributes | |
String | temp_dir_ |
bool | keep_dir_ |
Class representing a temporary directory.
TempDir | ( | bool | keep_dir = false | ) |
Construct temporary folder If keep_dir is set to true, the folder will not be deleted on destruction of the object.
~TempDir | ( | ) |
Destroy temporary folder (can be prohibited in Constructor)
const String& getPath | ( | ) | const |
Return path to temporary folder.
|
private |
|
private |