Elements 6.3.3
A C++ base framework for the Euclid Software.
Loading...
Searching...
No Matches
Elements::TempPath Class Reference

#include <Temporary.h>

Inheritance diagram for Elements::TempPath:
Collaboration diagram for Elements::TempPath:

Public Member Functions

 TempPath (const std::string &motif=DEFAULT_TMP_MOTIF, const std::string &keep_var=DEFAULT_TMP_KEEP_VAR)
virtual ~TempPath ()
Path::Item path () const
std::string motif () const

Private Attributes

const std::string m_motif
Path::Item m_path
const std::string m_keep_var

Detailed Description

Definition at line 42 of file Temporary.h.

Constructor & Destructor Documentation

◆ TempPath()

Elements::TempPath::TempPath ( const std::string & motif = DEFAULT_TMP_MOTIF,
const std::string & keep_var = DEFAULT_TMP_KEEP_VAR )
explicit

Definition at line 43 of file Temporary.cpp.

References m_keep_var, m_motif, and m_path.

Referenced by Elements::TempDir::TempDir(), and Elements::TempFile::TempFile().

◆ ~TempPath()

Elements::TempPath::~TempPath ( )
virtual

Definition at line 62 of file Temporary.cpp.

References Elements::Environment::hasKey(), m_keep_var, m_path, and path().

Here is the call graph for this function:

Member Function Documentation

◆ motif()

string Elements::TempPath::motif ( ) const

Definition at line 79 of file Temporary.cpp.

References m_motif.

◆ path()

Path::Item Elements::TempPath::path ( ) const

Definition at line 75 of file Temporary.cpp.

References m_path.

Referenced by Elements::TempDir::TempDir(), Elements::TempFile::TempFile(), and ~TempPath().

Member Data Documentation

◆ m_keep_var

const std::string Elements::TempPath::m_keep_var
private

Definition at line 52 of file Temporary.h.

Referenced by TempPath(), and ~TempPath().

◆ m_motif

const std::string Elements::TempPath::m_motif
private

Definition at line 50 of file Temporary.h.

Referenced by motif(), and TempPath().

◆ m_path

Path::Item Elements::TempPath::m_path
private

Definition at line 51 of file Temporary.h.

Referenced by path(), TempPath(), and ~TempPath().


The documentation for this class was generated from the following files: