12#error This is a C++ include file and cannot be used from plain C
64 int Copy(
const char *fileName);
67 size_t Copy(
void *buffer,
size_t max, off_t offset = 0L);
76 int Copy_(FILE *
fd,
char *erms)
const;
virtual ~ngcbTMPFILE()
Destructor.
Definition ngcbTMPFILE.cpp:46
void Clear()
Rewind back to the beginning of file and truncate.
Definition ngcbTMPFILE.cpp:88
void Rewind()
Rewind back to the beginning of file.
Definition ngcbTMPFILE.cpp:74
int Copy(FILE *fd)
Copy all content to stream.
Definition ngcbTMPFILE.cpp:98
const char * ErrMsg()
Return error message.
Definition ngcbTMPFILE.cpp:48
ngcbTMPFILE & operator=(const ngcbTMPFILE &other)
Operator =.
Definition ngcbTMPFILE.cpp:25
size_t Size()
Return actual size of temporary file.
Definition ngcbTMPFILE.cpp:50
ngcbTMPFILE(const ngcbTMPFILE &other)
Copy constructor.
Definition ngcbTMPFILE.cpp:31
void Append()
Jump to end of file.
Definition ngcbTMPFILE.cpp:83
void Remove()
Remove temporary file.
Definition ngcbTMPFILE.cpp:66
ngcbTMPFILE()
Constructor.
Definition ngcbTMPFILE.cpp:39
FILE * fd
File pointer.
Definition ngcbTMPFILE.hpp:28