13#error This is a C++ include file and cannot be used from plain C
65 int Copy(
const char *fileName);
68 size_t Copy(
void *buffer,
size_t max, off_t offset = 0L);
77 int Copy_(FILE *
fd,
char *erms)
const;
virtual ~ngcbTMPFILE()
Destructor.
Definition ngcbTMPFILE.cpp:47
void Clear()
Rewind back to the beginning of file and truncate.
Definition ngcbTMPFILE.cpp:89
void Rewind()
Rewind back to the beginning of file.
Definition ngcbTMPFILE.cpp:75
int Copy(FILE *fd)
Copy all content to stream.
Definition ngcbTMPFILE.cpp:99
const char * ErrMsg()
Return error message.
Definition ngcbTMPFILE.cpp:49
ngcbTMPFILE & operator=(const ngcbTMPFILE &other)
Operator =.
Definition ngcbTMPFILE.cpp:26
size_t Size()
Return actual size of temporary file.
Definition ngcbTMPFILE.cpp:51
ngcbTMPFILE(const ngcbTMPFILE &other)
Copy constructor.
Definition ngcbTMPFILE.cpp:32
void Append()
Jump to end of file.
Definition ngcbTMPFILE.cpp:84
void Remove()
Remove temporary file.
Definition ngcbTMPFILE.cpp:67
ngcbTMPFILE()
Constructor.
Definition ngcbTMPFILE.cpp:40
FILE * fd
File pointer.
Definition ngcbTMPFILE.hpp:29