OW_NAMESPACE::HTTPChunkedIStreamBuffer Class Reference

#include <OW_HTTPChunkedIStream.hpp>

Inheritance diagram for OW_NAMESPACE::HTTPChunkedIStreamBuffer:

Inheritance graph
[legend]
Collaboration diagram for OW_NAMESPACE::HTTPChunkedIStreamBuffer:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 HTTPChunkedIStreamBuffer (std::istream &istr, HTTPChunkedIStream *chunkedIstr)
void resetInput ()
 ~HTTPChunkedIStreamBuffer ()

Private Member Functions

virtual int buffer_from_device (char *c, int n)
 Fill the buffer from the "device".
 HTTPChunkedIStreamBuffer (const HTTPChunkedIStreamBuffer &)
HTTPChunkedIStreamBufferoperator= (const HTTPChunkedIStreamBuffer &)

Private Attributes

std::istream & m_istr
unsigned int m_inLen
unsigned int m_inPos
bool m_isEOF
HTTPChunkedIStreamm_pChunker

Detailed Description

Definition at line 50 of file OW_HTTPChunkedIStream.hpp.


Constructor & Destructor Documentation

OW_NAMESPACE::HTTPChunkedIStreamBuffer::HTTPChunkedIStreamBuffer std::istream &  istr,
HTTPChunkedIStream chunkedIstr
 

OW_NAMESPACE::HTTPChunkedIStreamBuffer::~HTTPChunkedIStreamBuffer  ) 
 

Definition at line 55 of file OW_HTTPChunkedIStream.cpp.

OW_NAMESPACE::HTTPChunkedIStreamBuffer::HTTPChunkedIStreamBuffer const HTTPChunkedIStreamBuffer  )  [private]
 


Member Function Documentation

int OW_NAMESPACE::HTTPChunkedIStreamBuffer::buffer_from_device char *  c,
int  n
[private, virtual]
 

Fill the buffer from the "device".

Parameters:
c A pointer to the beginning of the buffer
n The number of bytes to be read into the buffer.
Returns:
-1 if no bytes are able to be read from the "device" (for instance, end of input stream). Otherwise, return the number of bytes read into the buffer.

Reimplemented from OW_NAMESPACE::BaseStreamBuffer.

Definition at line 60 of file OW_HTTPChunkedIStream.cpp.

References OW_NAMESPACE::HTTPChunkedIStream::buildTrailerMap(), m_inLen, m_inPos, m_isEOF, m_istr, and m_pChunker.

HTTPChunkedIStreamBuffer& OW_NAMESPACE::HTTPChunkedIStreamBuffer::operator= const HTTPChunkedIStreamBuffer  )  [private]
 

void OW_NAMESPACE::HTTPChunkedIStreamBuffer::resetInput  ) 
 

Definition at line 118 of file OW_HTTPChunkedIStream.cpp.

References OW_NAMESPACE::BaseStreamBuffer::initGetBuffer(), m_inLen, m_inPos, and m_isEOF.

Referenced by OW_NAMESPACE::HTTPChunkedIStream::resetInput().


Member Data Documentation

unsigned int OW_NAMESPACE::HTTPChunkedIStreamBuffer::m_inLen [private]
 

Definition at line 59 of file OW_HTTPChunkedIStream.hpp.

Referenced by buffer_from_device(), and resetInput().

unsigned int OW_NAMESPACE::HTTPChunkedIStreamBuffer::m_inPos [private]
 

Definition at line 60 of file OW_HTTPChunkedIStream.hpp.

Referenced by buffer_from_device(), and resetInput().

bool OW_NAMESPACE::HTTPChunkedIStreamBuffer::m_isEOF [private]
 

Definition at line 61 of file OW_HTTPChunkedIStream.hpp.

Referenced by buffer_from_device(), and resetInput().

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

Definition at line 58 of file OW_HTTPChunkedIStream.hpp.

Referenced by buffer_from_device().

HTTPChunkedIStream* OW_NAMESPACE::HTTPChunkedIStreamBuffer::m_pChunker [private]
 

Definition at line 63 of file OW_HTTPChunkedIStream.hpp.

Referenced by buffer_from_device().


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