CernVM-FS
2.12.0
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
raii_temp_dir.h
Go to the documentation of this file.
1
5
#ifndef CVMFS_UTIL_RAII_TEMP_DIR_H_
6
#define CVMFS_UTIL_RAII_TEMP_DIR_H_
7
8
#include <string>
9
10
#include "
util/export.h
"
11
21
class
CVMFS_EXPORT
RaiiTempDir
{
22
public
:
23
static
RaiiTempDir
*
Create
(
const
std::string& prefix);
24
25
std::string
dir
()
const
{
return
dir_; }
26
27
~
RaiiTempDir
();
28
29
private
:
30
explicit
RaiiTempDir
(
const
std::string& prefix);
31
32
std::string
dir_
;
33
};
34
35
#endif // CVMFS_UTIL_RAII_TEMP_DIR_H_
publish::Create
static Publisher * Create(const SettingsPublisher &settings)
export.h
CVMFS_EXPORT
#define CVMFS_EXPORT
Definition:
export.h:11
RaiiTempDir::dir_
std::string dir_
Definition:
raii_temp_dir.h:32
RaiiTempDir::dir
std::string dir() const
Definition:
raii_temp_dir.h:25
RaiiTempDir
Definition:
raii_temp_dir.h:21
cvmfs
cvmfs
util
raii_temp_dir.h
Generated on Sun Nov 10 2024 01:18:13 for CernVM-FS by
1.8.5