Gromacs  2021-beta2-UNCHECKED
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Public Attributes | Static Public Attributes
gmx::test::TestFileManager::Impl Class Reference


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 std::string s_simulationDatabaseDirectory
 Global path to simulation input database set with setTestSimulationDataBaseDirectory().
static const char * s_globalOutputTempDirectory = nullptr
 Global temporary output directory for tests, set with setGlobalOutputTempDirectory().

Constructor & Destructor Documentation

gmx::test::TestFileManager::Impl::Impl ( const char *  path)


pathValue for the outputTempDirectory, typically set by default from s_globalOutputTempDirectory

Member Function Documentation

void gmx::test::TestFileManager::Impl::removeFiles ( )

Try to remove all temporary files.

Does not throw; errors (e.g., missing files) are silently ignored.

The documentation for this class was generated from the following file: