Gromacs
2016.6
|
Private implementation class for TestFileManager.
Public Types | |
typedef std::set< std::string > | FileNameList |
Container type for names of temporary files. | |
Public Member Functions | |
Impl (const char *path) | |
Constructor. More... | |
void | removeFiles () |
Try to remove all temporary files. More... | |
Public Attributes | |
FileNameList | files_ |
List of unique paths returned by getTemporaryFilePath(). | |
std::string | outputTempDirectory_ |
Temporary output directory local to the current test, set by a test with setOutputTempDirectory() if the global default is inappropriate. | |
Static Public Attributes | |
static std::string | s_inputDirectory |
Global test input data path set with setDataInputDirectory(). | |
static const char * | s_globalOutputTempDirectory = NULL |
Global temporary output directory for tests, set with setGlobalOutputTempDirectory(). | |
|
inlineexplicit |
Constructor.
path | Value for the outputTempDirectory, typically set by default from s_globalOutputTempDirectory |
void gmx::test::TestFileManager::Impl::removeFiles | ( | ) |
Try to remove all temporary files.
Does not throw; errors (e.g., missing files) are silently ignored.