Self destructive temporary file at the current directory. More...
Public Member Functions | |
void | set (const std::string &content) |
Set file to content and close the file. More... | |
~tmp_file () | |
Public Attributes | |
const bfs::path | path = bfs::unique_path("%%%%-%%%%-%%%%-%%%%-%%%%-%%%%.tmp.out") |
Path to the temporary file. More... | |
Private Attributes | |
bfs::ofstream | stream |
Self destructive temporary file at the current directory.
Definition at line 27 of file wml_equivalence.cpp.
|
inline |
Definition at line 43 of file wml_equivalence.cpp.
References image::exists(), path, and gui2::dialogs::tip::remove().
|
inline |
Set file to content
and close the file.
Definition at line 31 of file wml_equivalence.cpp.
Referenced by preprocess_and_parse().
const bfs::path tmp_file::path = bfs::unique_path("%%%%-%%%%-%%%%-%%%%-%%%%-%%%%.tmp.out") |
Path to the temporary file.
Definition at line 51 of file wml_equivalence.cpp.
Referenced by preprocess_and_parse(), set(), and ~tmp_file().
|
private |
Definition at line 54 of file wml_equivalence.cpp.
Referenced by set().