#include <OW_TmpFile.hpp>
Inheritance diagram for OW_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 52 of file OW_TmpFile.hpp.
|
Definition at line 82 of file OW_TmpFile.cpp. References open(). |
|
Definition at line 89 of file OW_TmpFile.cpp. References OW_NAMESPACE::String::c_str(), OW_NAMESPACE::System::lastErrorMsg(), OW_NAMESPACE::String::length(), m_filename, m_hdl, open(), OW_INVALID_FILEHANDLE, and OW_THROW. |
|
Definition at line 113 of file OW_TmpFile.cpp. References close(). |
|
|
|
Definition at line 230 of file OW_TmpFile.cpp. References OW_NAMESPACE::closeFile(), m_hdl, and OW_INVALID_FILEHANDLE. Referenced by open(), and ~TmpFileImpl(). |
|
Definition at line 71 of file OW_TmpFile.hpp. |
|
Definition at line 161 of file OW_TmpFile.cpp. |
|
Definition at line 74 of file OW_TmpFile.hpp. |
|
Definition at line 208 of file OW_TmpFile.cpp. References OW_NAMESPACE::String::c_str(), close(), OW_NAMESPACE::String::length(), m_hdl, and OW_THROW_ERRNO_MSG. Referenced by TmpFileImpl(). |
|
|
|
Definition at line 249 of file OW_TmpFile.cpp. References m_hdl, OW_NAMESPACE::BinarySerialization::read(), and seek(). |
|
Definition at line 302 of file OW_TmpFile.cpp. References OW_NAMESPACE::closeFile(), m_hdl, OW_INVALID_FILEHANDLE, and OW_THROW_ERRNO_MSG. |
|
Definition at line 70 of file OW_TmpFile.hpp. References m_hdl. |
|
Definition at line 67 of file OW_TmpFile.hpp. References m_hdl. |
|
Definition at line 69 of file OW_TmpFile.hpp. References m_hdl. Referenced by getSize(). |
|
Definition at line 273 of file OW_TmpFile.cpp. |
|
Definition at line 82 of file OW_TmpFile.hpp. Referenced by TmpFileImpl(). |
|
Definition at line 84 of file OW_TmpFile.hpp. Referenced by close(), getSize(), open(), read(), releaseFile(), TmpFileImpl(), and write(). |