OW_NAMESPACE::HTTPLenLimitIStream Class Reference

#include <OW_HTTPLenLimitIStream.hpp>

Inheritance diagram for OW_NAMESPACE::HTTPLenLimitIStream:

Inheritance graph
Collaboration diagram for OW_NAMESPACE::HTTPLenLimitIStream:

Collaboration graph
List of all members.

Public Member Functions

 HTTPLenLimitIStream (std::istream &istr, UInt64 len)
 Convert a stream to a LenLimit istream.
void resetLen (UInt64 len)
 Clear the EOF bit, and set the new length to len.

Private Member Functions

 HTTPLenLimitIStream (const HTTPLenLimitIStream &arg)
HTTPLenLimitIStreamoperator= (const HTTPLenLimitIStream &arg)

Private Attributes

std::istream & m_istr

Detailed Description

Definition at line 83 of file OW_HTTPLenLimitIStream.hpp.

Constructor & Destructor Documentation

OW_NAMESPACE::HTTPLenLimitIStream::HTTPLenLimitIStream std::istream &  istr,
UInt64  len

Convert a stream to a LenLimit istream.

This is used for HTTP entities whose size are determined by a Content-Length header. Once len bytes are read, EOF will be set.

istr the original istream
len the number of bytes to read before setting EOF.

OW_NAMESPACE::HTTPLenLimitIStream::HTTPLenLimitIStream const HTTPLenLimitIStream arg  )  [private]

Member Function Documentation

HTTPLenLimitIStream& OW_NAMESPACE::HTTPLenLimitIStream::operator= const HTTPLenLimitIStream arg  )  [private]

void OW_NAMESPACE::HTTPLenLimitIStream::resetLen UInt64  len  ) 

Clear the EOF bit, and set the new length to len.

len the new length to read before (re)setting EOF

Definition at line 86 of file OW_HTTPLenLimitIStream.cpp.

References OW_NAMESPACE::HTTPLenLimitIStreamBase::m_strbuf, and OW_NAMESPACE::HTTPLengthLimitStreamBuffer::resetLen().

Member Data Documentation

std::istream& OW_NAMESPACE::HTTPLenLimitIStream::m_istr [private]

Definition at line 101 of file OW_HTTPLenLimitIStream.hpp.

The documentation for this class was generated from the following files:
Generated on Thu Feb 9 09:15:06 2006 for openwbem by  doxygen 1.4.6