21 #ifndef __EDELIB_TEMPFILE_H__
22 #define __EDELIB_TEMPFILE_H__
67 bool create(
const char* prefix,
int mode = 0600);
72 operator bool(
void)
const {
return (errno_err == 0); }
102 const char*
name(
void)
const {
return (filename.empty() ? NULL : filename.c_str()); }
112 int status(
void)
const {
return errno_err; }
void set_no_close(bool n)
Definition: TempFile.h:92
const char * name(void) const
Definition: TempFile.h:102
void set_auto_delete(bool v)
Definition: TempFile.h:87
int handle(void) const
Definition: TempFile.h:107
Temporary file class.
Definition: TempFile.h:41
#define E_DISABLE_CLASS_COPY(klass)
Definition: edelib-global.h:161
int status(void) const
Definition: TempFile.h:112
A (relatively simple) string implementation.
Definition: String.h:82