#include <OW_TempFileStream.hpp>
Collaboration diagram for OW_NAMESPACE::TempFileBuffer:
Public Member Functions | |
TempFileBuffer (size_t bufSize) | |
TempFileBuffer (String const &filename, size_t bufSize) | |
~TempFileBuffer () | |
std::streamsize | getSize () |
void | rewind () |
void | reset () |
String | releaseFile () |
bool | usingTempFile () const |
Protected Member Functions | |
int | underflow () |
std::streamsize | xsputn (const char *s, std::streamsize n) |
virtual int | overflow (int c) |
void | initBuffers () |
void | initGetBuffer () |
void | initPutBuffer () |
int | buffer_to_device (const char *c, int n) |
int | buffer_from_device (char *c, int n) |
Private Member Functions | |
int | buffer_in () |
int | buffer_out () |
TempFileBuffer (const TempFileBuffer &arg) | |
TempFileBuffer & | operator= (const TempFileBuffer &arg) |
Private Attributes | |
size_t | m_bufSize |
char * | m_buffer |
TmpFile * | m_tempFile |
std::streamsize | m_readPos |
std::streamsize | m_writePos |
bool | m_isEOF |
Definition at line 69 of file OW_TempFileStream.hpp.
|
Definition at line 52 of file OW_TempFileStream.cpp. References initPutBuffer(). |
|
Definition at line 64 of file OW_TempFileStream.cpp. References initGetBuffer(), m_tempFile, m_writePos, OW_NAMESPACE::TmpFile::rewind(), OW_NAMESPACE::TmpFile::seek(), and OW_NAMESPACE::TmpFile::tell(). |
|
Definition at line 98 of file OW_TempFileStream.cpp. References m_buffer, and m_tempFile. |
|
|
|
Definition at line 235 of file OW_TempFileStream.cpp. References m_tempFile, and OW_NAMESPACE::TmpFile::read(). Referenced by buffer_in(). |
|
Definition at line 208 of file OW_TempFileStream.cpp. References buffer_from_device(), m_buffer, m_bufSize, and m_isEOF. Referenced by underflow(). |
|
Definition at line 105 of file OW_TempFileStream.cpp. References buffer_to_device(), initPutBuffer(), and m_buffer. Referenced by overflow(), releaseFile(), rewind(), and underflow(). |
|
Definition at line 225 of file OW_TempFileStream.cpp. References m_tempFile, and OW_NAMESPACE::TmpFile::write(). Referenced by buffer_out(). |
|
Definition at line 248 of file OW_TempFileStream.cpp. References OW_NAMESPACE::TmpFile::getSize(), m_tempFile, and m_writePos. |
|
Definition at line 80 of file OW_TempFileStream.cpp. References initGetBuffer(), and initPutBuffer(). |
|
Definition at line 93 of file OW_TempFileStream.cpp. References m_buffer. Referenced by initBuffers(), rewind(), and TempFileBuffer(). |
|
Definition at line 87 of file OW_TempFileStream.cpp. References m_buffer, and m_bufSize. Referenced by buffer_out(), initBuffers(), overflow(), reset(), and TempFileBuffer(). |
|
|
|
Definition at line 114 of file OW_TempFileStream.cpp. References buffer_out(), initPutBuffer(), m_readPos, m_tempFile, m_writePos, OW_NAMESPACE::TmpFile::seek(), and OW_NAMESPACE::TmpFile::tell(). |
|
Definition at line 308 of file OW_TempFileStream.cpp. References buffer_out(), m_tempFile, OW_NAMESPACE::TmpFile::releaseFile(), and reset(). |
|
Definition at line 297 of file OW_TempFileStream.cpp. References initPutBuffer(), m_isEOF, m_readPos, m_tempFile, and m_writePos. Referenced by releaseFile(). |
|
Definition at line 267 of file OW_TempFileStream.cpp. References buffer_out(), initGetBuffer(), m_buffer, m_isEOF, m_readPos, m_tempFile, m_writePos, and OW_NAMESPACE::TmpFile::seek(). |
|
Definition at line 172 of file OW_TempFileStream.cpp. References buffer_in(), buffer_out(), m_buffer, m_isEOF, m_readPos, m_tempFile, m_writePos, OW_NAMESPACE::TmpFile::seek(), and OW_NAMESPACE::TmpFile::tell(). |
|
Definition at line 318 of file OW_TempFileStream.cpp. References m_tempFile. |
|
Definition at line 150 of file OW_TempFileStream.cpp. References i. |
|
Definition at line 94 of file OW_TempFileStream.hpp. Referenced by buffer_in(), buffer_out(), initGetBuffer(), initPutBuffer(), rewind(), underflow(), and ~TempFileBuffer(). |
|
Definition at line 93 of file OW_TempFileStream.hpp. Referenced by buffer_in(), and initPutBuffer(). |
|
Definition at line 98 of file OW_TempFileStream.hpp. Referenced by buffer_in(), reset(), rewind(), and underflow(). |
|
Definition at line 96 of file OW_TempFileStream.hpp. Referenced by overflow(), reset(), rewind(), and underflow(). |
|
Definition at line 95 of file OW_TempFileStream.hpp. Referenced by buffer_from_device(), buffer_to_device(), getSize(), overflow(), releaseFile(), reset(), rewind(), TempFileBuffer(), underflow(), usingTempFile(), and ~TempFileBuffer(). |
|
Definition at line 97 of file OW_TempFileStream.hpp. Referenced by getSize(), overflow(), reset(), rewind(), TempFileBuffer(), and underflow(). |