libqi-api
2.8.7.4
|
#include <path.hpp>
Public Member Functions | |
ScopedFile (qi::Path filePath=qi::Path()) | |
~ScopedFile () | |
const qi::Path & | path () const |
Get the full path to the directory created. More... | |
Create a temporary path to a file that will be removed once you quit the scope. Becareful it's only a path it's your call to open it to create it
Give a path to the constructor to specifed where you want the file to be created. Otherwise the path to the file is construct with qi::os::mktmpdir / "tmpfile" If it already exists it will be remove.
qi::path::ScopedFile::~ScopedFile | ( | ) |
const qi::Path& qi::path::ScopedFile::path | ( | ) | const |
Get the full path to the directory created.