#include <TmpFile.hpp>
Inheritance diagram for BLOCXX_NAMESPACE::TmpFileImpl:
Public Member Functions | |
TmpFileImpl () | |
TmpFileImpl (String const &filename) | |
~TmpFileImpl () | |
size_t | read (void *bfr, size_t numberOfBytes, long offset=-1L) |
size_t | write (const void *bfr, size_t numberOfBytes, long offset=-1L) |
int | seek (long offset, int whence=SEEK_SET) |
long | tell () |
void | rewind () |
int | flush () |
void | newFile () |
long | getSize () |
String | releaseFile () |
Private Member Functions | |
void | open () |
int | close () |
TmpFileImpl (const TmpFileImpl &arg) | |
TmpFileImpl & | operator= (const TmpFileImpl &arg) |
Private Attributes | |
char * | m_filename |
int | m_hdl |
Definition at line 54 of file TmpFile.hpp.
|
Definition at line 84 of file TmpFile.cpp. References open(). |
|
Definition at line 91 of file TmpFile.cpp. References BLOCXX_INVALID_FILEHANDLE, BLOCXX_THROW, BLOCXX_NAMESPACE::String::c_str(), BLOCXX_NAMESPACE::System::lastErrorMsg(), BLOCXX_NAMESPACE::String::length(), m_filename, m_hdl, and open(). |
|
Definition at line 115 of file TmpFile.cpp. References close(). |
|
|
|
Definition at line 232 of file TmpFile.cpp. References BLOCXX_INVALID_FILEHANDLE, BLOCXX_NAMESPACE::closeFile(), and m_hdl. Referenced by open(), and ~TmpFileImpl(). |
|
Definition at line 73 of file TmpFile.hpp. |
|
Definition at line 163 of file TmpFile.cpp. |
|
Definition at line 76 of file TmpFile.hpp. |
|
Definition at line 210 of file TmpFile.cpp. References BLOCXX_THROW_ERRNO_MSG, BLOCXX_NAMESPACE::String::c_str(), close(), BLOCXX_NAMESPACE::String::length(), and m_hdl. Referenced by TmpFileImpl(). |
|
|
|
Definition at line 251 of file TmpFile.cpp. References m_hdl, BLOCXX_NAMESPACE::BinarySerialization::read(), and seek(). |
|
Definition at line 304 of file TmpFile.cpp. References BLOCXX_INVALID_FILEHANDLE, BLOCXX_THROW_ERRNO_MSG, BLOCXX_NAMESPACE::closeFile(), and m_hdl. |
|
Definition at line 72 of file TmpFile.hpp. |
|
Definition at line 69 of file TmpFile.hpp. |
|
Definition at line 71 of file TmpFile.hpp. Referenced by getSize(). |
|
Definition at line 275 of file TmpFile.cpp. |
|
Definition at line 84 of file TmpFile.hpp. Referenced by TmpFileImpl(). |
|
Definition at line 86 of file TmpFile.hpp. Referenced by close(), getSize(), open(), read(), releaseFile(), TmpFileImpl(), and write(). |