| # Gaudi Framework, version v22r0 |

Home |  | Generated: 9 Feb 2011

# StreamBuffer::Ostream Class Reference

Writer for standard output streams. More...

`#include <StreamBuffer.h>`

Inheritance diagram for StreamBuffer::Ostream:
[legend]
Collaboration diagram for StreamBuffer::Ostream:
[legend]

List of all members.

## Public Member Functions
| Ostream (std::ostream &str)
| Standard constructor: pass reference to stream object.
virtual | ~Ostream ()
| Standard Destructor.
virtual void | dump (StreamBuffer &stream)
| Output dumper.
## Private Attributes
std::ostream * | m_stream

## Detailed Description

Writer for standard output streams.

Definition at line 96 of file StreamBuffer.h.

## Constructor & Destructor Documentation

StreamBuffer::Ostream::Ostream | ( | std::ostream & | str | ) | `[inline]`

Standard constructor: pass reference to stream object.

Definition at line 100 of file StreamBuffer.h.

    00100                              : m_stream(&str)   {
    00101     }

virtual StreamBuffer::Ostream::~Ostream | ( |  | ) | `[inline, virtual]`

Standard Destructor.

Definition at line 103 of file StreamBuffer.h.

    00103                         {
    00104     }

## Member Function Documentation

virtual void StreamBuffer::Ostream::dump | ( | StreamBuffer & | stream | ) | `[inline, virtual]`

Output dumper.

Reimplemented from StreamBuffer::DataIO.

Definition at line 106 of file StreamBuffer.h.

    00106                                               {
    00107       // Generic implementation for ostreams:
    00108       (*m_stream) << stream.buffPointer();
    00109       m_stream->write(stream.data(), stream.buffPointer());
    00110     }

## Member Data Documentation

std::ostream* StreamBuffer::Ostream::m_stream`[private]`

Definition at line 97 of file StreamBuffer.h.

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

- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v22r0/GaudiKernel/GaudiKernel/StreamBuffer.h

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines