Elements  5.8
A C++ base framework for the Euclid Software.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
Elements::TempPath Class Reference

#include <Temporary.h>

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

Public Member Functions

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

Private Attributes

const std::string m_motif
 
boost::filesystem::path m_path
 
const std::string m_keep_var
 

Detailed Description

Definition at line 42 of file Temporary.h.

Constructor & Destructor Documentation

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

Definition at line 41 of file Temporary.cpp.

References std::string::find(), m_motif, and m_path.

Here is the call graph for this function:

Elements::TempPath::~TempPath ( )
virtual

Definition at line 58 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

string Elements::TempPath::motif ( ) const

Definition at line 77 of file Temporary.cpp.

References m_motif.

boost::filesystem::path Elements::TempPath::path ( ) const

Definition at line 73 of file Temporary.cpp.

References m_path.

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

Member Data Documentation

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

Definition at line 52 of file Temporary.h.

Referenced by ~TempPath().

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

Definition at line 50 of file Temporary.h.

Referenced by motif(), and TempPath().

boost::filesystem::path 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: