libqi-api
2.8.7.4
|
#include <path.hpp>
Public Member Functions | |
ScopedDir (qi::Path path=qi::Path()) | |
~ScopedDir () | |
Remove the directory. More... | |
operator qi::Path () const | |
Implicit conversion operator to qi::Path. More... | |
const qi::Path & | path () const |
Get the full path to the directory created. More... | |
Create a temporary directory that will be removed once you quit the scope
Give a path to the constructor to specifed where you want the directory to be created Otherwise qi::os::mktmpdir will be used to create the directory
qi::path::ScopedDir::~ScopedDir | ( | ) |
Remove the directory.
const qi::Path& qi::path::ScopedDir::path | ( | ) | const |
Get the full path to the directory created.