SourceXtractorPlusPlus
0.8
Please provide a description of the project.
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
SEFramework
SEFramework
Filesystem
TemporaryFile.h
Go to the documentation of this file.
1
17
/*
18
* TemporaryFile.h
19
*
20
* Created on: May 23, 2018
21
* Author: aalvarez
22
*/
23
24
#ifndef _SEFRAMEWORK_FILESYSTEM_TEMPORARYFILE_H
25
#define _SEFRAMEWORK_FILESYSTEM_TEMPORARYFILE_H
26
27
#include <string>
28
29
namespace
SourceXtractor {
30
31
class
TemporaryFile
{
32
public
:
33
TemporaryFile
(
bool
autoremove =
true
);
34
TemporaryFile
(
const
std::string
&pattern,
bool
autoremove =
true
);
35
TemporaryFile
(
const
std::string
&dir,
const
std::string
&pattern,
bool
autoremove =
true
);
36
37
~TemporaryFile
();
38
40
const
std::string
&
getPath
()
const
;
41
42
private
:
43
std::string
m_path
;
44
bool
m_autoremove
;
45
};
46
47
}
48
49
#endif //_SEFRAMEWORK_FILESYSTEM_TEMPORARYFILE_H
SourceXtractor::TemporaryFile::m_autoremove
bool m_autoremove
Definition:
TemporaryFile.h:44
std::string
STL class.
SourceXtractor::TemporaryFile::getPath
const std::string & getPath() const
Return the full path of the temporary file.
Definition:
TemporaryFile.cpp:69
SourceXtractor::TemporaryFile
Definition:
TemporaryFile.h:31
SourceXtractor::TemporaryFile::~TemporaryFile
~TemporaryFile()
Definition:
TemporaryFile.cpp:63
SourceXtractor::TemporaryFile::m_path
std::string m_path
Definition:
TemporaryFile.h:43
SourceXtractor::TemporaryFile::TemporaryFile
TemporaryFile(bool autoremove=true)
Definition:
TemporaryFile.cpp:50
Generated by
1.8.5