outputStreamStringAdapter Class Reference

An adapter class for string output. More...

Inheritance diagram for outputStreamStringAdapter:
Inheritance graph
[legend]
Collaboration diagram for outputStreamStringAdapter:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 outputStreamStringAdapter (string &buffer)
void write (const value_type *const data, const size_type count)
void flush ()
size_type getBlockSize ()

Detailed Description

An adapter class for string output.


Constructor & Destructor Documentation

outputStreamStringAdapter ( string buffer  ) 

Member Function Documentation

void flush (  )  [virtual]

Flush this output stream and forces any buffered output bytes to be written out to the stream.

Implements outputStream.

Referenced by charsetConverter::convert().

size_type getBlockSize (  )  [virtual]

Return the preferred maximum block size when reading from or writing to this stream.

Returns:
block size, in bytes

Reimplemented from stream.

void write ( const value_type *const   data,
const size_type  count 
) [virtual]

Write data to the stream.

Parameters:
data buffer containing data to write
count number of bytes to write

Implements outputStream.


The documentation for this class was generated from the following files:

Generated by  doxygen 1.6.2