helper class to create a temporary folder; the folder will be removed on the object's destruction More...
#include <MRUniqueTemporaryFolder.h>
Public Member Functions | |
MRMESH_API | UniqueTemporaryFolder (FolderCallback onPreTempFolderDelete) |
creates new folder in temp directory | |
MRMESH_API | ~UniqueTemporaryFolder () |
removes folder with all its content | |
operator bool () const | |
std::filesystem::path | operator/ (const std::filesystem::path &child) const |
helper class to create a temporary folder; the folder will be removed on the object's destruction
MRMESH_API MR::UniqueTemporaryFolder::UniqueTemporaryFolder | ( | FolderCallback | onPreTempFolderDelete | ) |
creates new folder in temp directory
MRMESH_API MR::UniqueTemporaryFolder::~UniqueTemporaryFolder | ( | ) |
removes folder with all its content
|
inlineexplicit |
|
inline |