#include <Options.h>
|
std::string | tmp () const |
|
std::string | temporaryPath (const std::string &base_name, bool remove=true) |
| this returns a path to be used as a temporary file or directory, and by default, deletes the file when the viewer exits... More...
|
|
| Options () |
|
| ~Options () |
|
|
typedef std::map< std::string,
std::pair< std::string, bool > > | path_map |
|
Definition at line 38 of file Options.h.
casa::viewer::Options::Options |
( |
| ) |
|
|
inline |
casa::viewer::Options::~Options |
( |
| ) |
|
|
inline |
casa::viewer::Options::Options |
( |
const Options & |
| ) |
|
|
inlineprivate |
std::string casa::viewer::Options::_temporary_path_ |
( |
const std::string & |
, |
|
|
bool |
|
|
) |
| |
|
private |
void casa::viewer::Options::finalize |
( |
| ) |
|
|
private |
void casa::viewer::Options::init |
( |
Kernel * |
k | ) |
|
|
inlineprivate |
std::string casa::viewer::Options::temporaryPath |
( |
const std::string & |
base_name, |
|
|
bool |
remove = true |
|
) |
| |
|
inline |
this returns a path to be used as a temporary file or directory, and by default, deletes the file when the viewer exits...
the "base_name" is just the name to be used as a starting point for finding a unique file name, an example would be "my_tmp_file"... but it could be anything (not including directories, i.e. "/")... this function guarantees that no two returned strings will be identical... and that all will be valid path names...
Definition at line 57 of file Options.h.
References _temporary_path_().
std::string casa::viewer::Options::tmp |
( |
| ) |
const |
|
inline |
Kernel* casa::viewer::Options::kernel |
|
private |
path_map* casa::viewer::Options::returned_paths |
|
private |
The documentation for this class was generated from the following file: