#include <TempFileStream.hpp>
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 71 of file TempFileStream.hpp.
|
Definition at line 54 of file TempFileStream.cpp. References initPutBuffer(). |
|
Definition at line 66 of file TempFileStream.cpp. References initGetBuffer(), m_tempFile, m_writePos, BLOCXX_NAMESPACE::TmpFile::rewind(), BLOCXX_NAMESPACE::TmpFile::seek(), and BLOCXX_NAMESPACE::TmpFile::tell(). |
|
Definition at line 100 of file TempFileStream.cpp. References m_buffer, and m_tempFile. |
|
|
|
Definition at line 237 of file TempFileStream.cpp. References m_tempFile, and BLOCXX_NAMESPACE::TmpFile::read(). Referenced by buffer_in(). |
|
Definition at line 210 of file TempFileStream.cpp. References buffer_from_device(), m_buffer, m_bufSize, and m_isEOF. Referenced by underflow(). |
|
Definition at line 107 of file TempFileStream.cpp. References buffer_to_device(), initPutBuffer(), and m_buffer. Referenced by overflow(), releaseFile(), rewind(), and underflow(). |
|
Definition at line 227 of file TempFileStream.cpp. References m_tempFile, and BLOCXX_NAMESPACE::TmpFile::write(). Referenced by buffer_out(). |
|
Definition at line 250 of file TempFileStream.cpp. References BLOCXX_NAMESPACE::TmpFile::getSize(), m_tempFile, and m_writePos. |
|
Definition at line 82 of file TempFileStream.cpp. References initGetBuffer(), and initPutBuffer(). |
|
Definition at line 95 of file TempFileStream.cpp. References m_buffer. Referenced by initBuffers(), rewind(), and TempFileBuffer(). |
|
Definition at line 89 of file TempFileStream.cpp. References m_buffer, and m_bufSize. Referenced by buffer_out(), initBuffers(), overflow(), reset(), and TempFileBuffer(). |
|
|
|
Definition at line 116 of file TempFileStream.cpp. References buffer_out(), initPutBuffer(), m_readPos, m_tempFile, m_writePos, BLOCXX_NAMESPACE::TmpFile::seek(), and BLOCXX_NAMESPACE::TmpFile::tell(). |
|
Definition at line 310 of file TempFileStream.cpp. References buffer_out(), m_tempFile, BLOCXX_NAMESPACE::TmpFile::releaseFile(), and reset(). |
|
Definition at line 299 of file TempFileStream.cpp. References initPutBuffer(), m_isEOF, m_readPos, m_tempFile, and m_writePos. Referenced by releaseFile(). |
|
Definition at line 269 of file TempFileStream.cpp. References buffer_out(), initGetBuffer(), m_buffer, m_isEOF, m_readPos, m_tempFile, m_writePos, and BLOCXX_NAMESPACE::TmpFile::seek(). |
|
Definition at line 174 of file TempFileStream.cpp. References buffer_in(), buffer_out(), m_buffer, m_isEOF, m_readPos, m_tempFile, m_writePos, BLOCXX_NAMESPACE::TmpFile::seek(), and BLOCXX_NAMESPACE::TmpFile::tell(). |
|
Definition at line 320 of file TempFileStream.cpp. References m_tempFile. |
|
Definition at line 152 of file TempFileStream.cpp. References i. |
|
Definition at line 96 of file TempFileStream.hpp. Referenced by buffer_in(), buffer_out(), initGetBuffer(), initPutBuffer(), rewind(), underflow(), and ~TempFileBuffer(). |
|
Definition at line 95 of file TempFileStream.hpp. Referenced by buffer_in(), and initPutBuffer(). |
|
Definition at line 100 of file TempFileStream.hpp. Referenced by buffer_in(), reset(), rewind(), and underflow(). |
|
Definition at line 98 of file TempFileStream.hpp. Referenced by overflow(), reset(), rewind(), and underflow(). |
|
Definition at line 97 of file TempFileStream.hpp. Referenced by buffer_from_device(), buffer_to_device(), getSize(), overflow(), releaseFile(), reset(), rewind(), TempFileBuffer(), underflow(), usingTempFile(), and ~TempFileBuffer(). |
|
Definition at line 99 of file TempFileStream.hpp. Referenced by getSize(), overflow(), reset(), rewind(), TempFileBuffer(), and underflow(). |