Gaudi Framework, version v20r3

Generated: 24 Nov 2008

StreamBuffer::Ostream Class Reference

#include <StreamBuffer.h>

Inheritance diagram for StreamBuffer::Ostream:

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

Collaboration graph
[legend]

List of all members.


Detailed Description

Writer for standard output streams.

Definition at line 95 of file StreamBuffer.h.


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

Constructor & Destructor Documentation

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

Standard constructor: pass reference to stream object.

Definition at line 99 of file StreamBuffer.h.

00099                              : m_stream(&str)   {
00100     }

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

Standard Destructor.

Definition at line 102 of file StreamBuffer.h.

00102                         {
00103     }


Member Function Documentation

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

Output dumper.

Reimplemented from StreamBuffer::DataIO.

Definition at line 105 of file StreamBuffer.h.

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


Member Data Documentation

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

Definition at line 96 of file StreamBuffer.h.


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

Generated at Mon Nov 24 14:46:37 2008 for Gaudi Framework, version v20r3 by Doxygen version 1.5.6 written by Dimitri van Heesch, © 1997-2004