KiCad PCB EDA Suite
|
A temporary directory that will be deleted when it goes out of scope. More...
Public Member Functions | |
TEMPORARY_DIRECTORY (const std::string &aNamePrefix, const std::string aSuffix) | |
Create a temporary directory with a given prefix and suffix. | |
~TEMPORARY_DIRECTORY () | |
const std::filesystem::path & | GetPath () const |
Private Attributes | |
std::filesystem::path | m_path |
A temporary directory that will be deleted when it goes out of scope.
Definition at line 133 of file board_test_utils.cpp.
|
inline |
Create a temporary directory with a given prefix and suffix.
The directory will be created in the system temporary directory, and will not be pre-existing.
Definition at line 140 of file board_test_utils.cpp.
References m_path.
|
inline |
Definition at line 160 of file board_test_utils.cpp.
References m_path.
|
inline |
Definition at line 162 of file board_test_utils.cpp.
References m_path.
Referenced by KI_TEST::LoadAndTestBoardFile(), and KI_TEST::LoadAndTestFootprintFile().
|
private |
Definition at line 165 of file board_test_utils.cpp.
Referenced by GetPath(), TEMPORARY_DIRECTORY(), and ~TEMPORARY_DIRECTORY().