OW_NAMESPACE::HTTPChunkedOStreamBuffer Class Reference

#include <OW_HTTPChunkedOStream.hpp>

Inheritance diagram for OW_NAMESPACE::HTTPChunkedOStreamBuffer:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 HTTPChunkedOStreamBuffer (std::ostream &ostr)
virtual ~HTTPChunkedOStreamBuffer ()

Protected Member Functions

virtual int sync ()

Private Member Functions

virtual int buffer_to_device (const char *c, int n)
 Writes the buffer to the "device".
 HTTPChunkedOStreamBuffer (const HTTPChunkedOStreamBuffer &)
HTTPChunkedOStreamBufferoperator= (const HTTPChunkedOStreamBuffer &)

Private Attributes

std::ostream & m_ostr

Friends

class HTTPChunkedOStream

Detailed Description

Definition at line 54 of file OW_HTTPChunkedOStream.hpp.


Constructor & Destructor Documentation

OW_NAMESPACE::HTTPChunkedOStreamBuffer::HTTPChunkedOStreamBuffer std::ostream &  ostr  ) 
 

OW_NAMESPACE::HTTPChunkedOStreamBuffer::~HTTPChunkedOStreamBuffer  )  [virtual]
 

Definition at line 49 of file OW_HTTPChunkedOStream.cpp.

References sync().

OW_NAMESPACE::HTTPChunkedOStreamBuffer::HTTPChunkedOStreamBuffer const HTTPChunkedOStreamBuffer  )  [private]
 


Member Function Documentation

int OW_NAMESPACE::HTTPChunkedOStreamBuffer::buffer_to_device const char *  c,
int  n
[private, virtual]
 

Writes the buffer to the "device".

Parameters:
c A pointer to the start of the buffer
n the number of bytes to write
Returns:
-1 if error, 0 if the entire buffer was written.

Reimplemented from OW_NAMESPACE::BaseStreamBuffer.

Definition at line 70 of file OW_HTTPChunkedOStream.cpp.

References m_ostr.

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

int OW_NAMESPACE::HTTPChunkedOStreamBuffer::sync  )  [protected, virtual]
 

Reimplemented from OW_NAMESPACE::BaseStreamBuffer.

Definition at line 62 of file OW_HTTPChunkedOStream.cpp.

References m_ostr, and OW_NAMESPACE::BaseStreamBuffer::sync().

Referenced by ~HTTPChunkedOStreamBuffer().


Friends And Related Function Documentation

friend class HTTPChunkedOStream [friend]
 

Definition at line 69 of file OW_HTTPChunkedOStream.hpp.


Member Data Documentation

std::ostream& OW_NAMESPACE::HTTPChunkedOStreamBuffer::m_ostr [private]
 

Definition at line 63 of file OW_HTTPChunkedOStream.hpp.

Referenced by buffer_to_device(), and sync().


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