Elements  6.2
A C++ base framework for the Euclid Software.
Public Member Functions | Private Attributes | List of all members
Elements::TempPath Class Reference

#include <Temporary.h>

Inheritance diagram for Elements::TempPath:
Inheritance graph
[legend]
Collaboration diagram for Elements::TempPath:
Collaboration graph
[legend]

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 Elements::DEFAULT_TMP_MOTIF, std::string::find(), Elements::Examples::log, m_motif, and m_path.

Here is the call graph for this function:

◆ ~TempPath()

Elements::TempPath::~TempPath ( )
virtual

Definition at line 62 of file Temporary.cpp.

References Elements::Environment::hasKey(), Elements::Examples::log, 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().

◆ 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: