10 #ifndef CORAL_UTIL_FILESYSTEM_HPP 11 #define CORAL_UTIL_FILESYSTEM_HPP 13 #include <boost/filesystem.hpp> 14 #include <coral/config.h> 45 const boost::filesystem::path& parent = boost::filesystem::path());
67 const boost::filesystem::path&
Path()
const;
70 void DeleteNoexcept() CORAL_NOEXCEPT;
72 boost::filesystem::path m_path;
77 #endif // header guard An RAII object that creates a unique directory on construction and recursively deletes it again on de...
Definition: filesystem.hpp:27
TempDir(const boost::filesystem::path &parent=boost::filesystem::path())
Creates a new temporary directory.
~TempDir() CORAL_NOEXCEPT
Destructor. Recursively deletes the directory.
Definition: variable_io.hpp:28
const boost::filesystem::path & Path() const
Returns the path to the directory.