![]() |
CernVM-FS
2.13.0
|
#include <raii_temp_dir.h>
Public Member Functions | |
std::string | dir () const |
~RaiiTempDir () | |
Static Public Member Functions | |
static RaiiTempDir * | Create (const std::string &prefix) |
Private Member Functions | |
RaiiTempDir (const std::string &prefix) | |
Private Attributes | |
std::string | dir_ |
This file is part of the CernVM File System. RAII based temporary directory helper class
Instances of the class create a temporary directory which is then deleted by the destructor of the class.
The temporary directory is created using the given prefix string ("prefix.<UNIQUE_SUFFIX>")
Definition at line 21 of file raii_temp_dir.h.
RaiiTempDir::~RaiiTempDir | ( | ) |
|
explicitprivate |
Definition at line 19 of file raii_temp_dir.cc.
Referenced by Create().
|
static |
This file is part of the CernVM File System.
Definition at line 9 of file raii_temp_dir.cc.
Referenced by CatalogDiffTool< RoCatalogMgr >::Init(), receiver::PayloadProcessor::Initialize(), receiver::CommitProcessor::Process(), and receiver::CatalogMergeTool< RwCatalogMgr, RoCatalogMgr >::Run().
|
inline |
Definition at line 25 of file raii_temp_dir.h.
Referenced by Create().
|
private |
Definition at line 32 of file raii_temp_dir.h.
Referenced by ~RaiiTempDir().