#include <OW_HTTPLenLimitIStream.hpp>
Inheritance diagram for OW_NAMESPACE::HTTPLengthLimitStreamBuffer:
Public Member Functions | |
HTTPLengthLimitStreamBuffer (std::istream &istr, UInt64 length) | |
virtual | ~HTTPLengthLimitStreamBuffer () |
void | resetLen (UInt64 len) |
sets the Len to a new value, sets m_pos to zero, and m_isEnd to false | |
Protected Member Functions | |
virtual int | buffer_from_device (char *c, int n) |
Fill the buffer from the "device". | |
Private Member Functions | |
HTTPLengthLimitStreamBuffer (const HTTPLengthLimitStreamBuffer &arg) | |
HTTPLengthLimitStreamBuffer & | operator= (const HTTPLengthLimitStreamBuffer &arg) |
Private Attributes | |
std::istream & | m_istr |
UInt64 | m_length |
UInt64 | m_pos |
bool | m_isEnd |
Definition at line 47 of file OW_HTTPLenLimitIStream.hpp.
|
|
|
Definition at line 52 of file OW_HTTPLenLimitIStream.cpp. |
|
|
|
Fill the buffer from the "device".
Reimplemented from OW_NAMESPACE::BaseStreamBuffer. Definition at line 57 of file OW_HTTPLenLimitIStream.cpp. |
|
|
|
sets the Len to a new value, sets m_pos to zero, and m_isEnd to false
Definition at line 77 of file OW_HTTPLenLimitIStream.cpp. References OW_NAMESPACE::BaseStreamBuffer::initGetBuffer(), m_isEnd, m_length, and m_pos. Referenced by OW_NAMESPACE::HTTPLenLimitIStream::resetLen(). |
|
Definition at line 67 of file OW_HTTPLenLimitIStream.hpp. Referenced by buffer_from_device(), and resetLen(). |
|
Definition at line 60 of file OW_HTTPLenLimitIStream.hpp. Referenced by buffer_from_device(). |
|
Definition at line 63 of file OW_HTTPLenLimitIStream.hpp. Referenced by buffer_from_device(), and resetLen(). |
|
Definition at line 65 of file OW_HTTPLenLimitIStream.hpp. Referenced by buffer_from_device(), and resetLen(). |