![]() |
LINE Solver (C++)
Templated C++ port of the LINE queueing solver
|
#include <line/util/tempdir.h>
Public Member Functions | |
| TempDir (const std::string &prefix, bool mountable=false) | |
| ~TempDir () | |
| TempDir (const TempDir &)=delete | |
| TempDir & | operator= (const TempDir &)=delete |
| const std::string & | path () const |
| The directory itself, with no trailing separator. | |
| std::string | file (const std::string &name) const |
| A file inside it. | |
| void | keep () |
| Leave the directory in place, for a caller that wants to inspect it. | |
|
inlineexplicit |
| prefix | a short tag naming the caller, as lineTempName('qns') does |
| mountable | root it where a confined Docker daemon can bind-mount it |
Definition at line 113 of file tempdir.h.
References line::util::make_temp_dir().
Referenced by operator=(), and TempDir().
|
delete |
References TempDir().
|
inline |
A file inside it.
Definition at line 127 of file tempdir.h.
Referenced by line::ldes::solver_ldes_text(), and line::qns::solver_qns_run_analyzer().
|
inline |
Leave the directory in place, for a caller that wants to inspect it.
Definition at line 130 of file tempdir.h.
Referenced by line::jmt::jmt_get_cdf_resp_t(), line::jmt::jmt_sample_aggr(), line::jmt::jmt_sample_sys_aggr(), line::jmt::solver_jmt_run_analyzer(), and line::qns::solver_qns_run_analyzer().
|
inline |
The directory itself, with no trailing separator.
Definition at line 124 of file tempdir.h.
Referenced by line::jmt::jmt_get_cdf_resp_t(), line::jmt::jmt_run_docker(), line::jmt::jmt_sample_aggr(), line::jmt::jmt_sample_sys_aggr(), and line::jmt::solver_jmt_run_analyzer().