Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | Related Pages

streamlog::logbuffer Class Reference

Helper class that adds a prefix to every new line that is written to its std::ostream. More...

#include <logbuffer.h>

List of all members.

Public Member Functions

 logbuffer (std::streambuf *sbuf, logstream *logstream)
virtual int overflow (int c=EOF)
 This is where the logstream's current prefix is added to every new line written to the std::ostream that has this logbuffer.


Detailed Description

Helper class that adds a prefix to every new line that is written to its std::ostream.

Author:
F. Gaede, DESY
Version:
Id
logbuffer.h,v 1.1.1.1 2007/07/12 17:14:48 gaede Exp


Member Function Documentation

virtual int streamlog::logbuffer::overflow int  c = EOF  )  [inline, virtual]
 

This is where the logstream's current prefix is added to every new line written to the std::ostream that has this logbuffer.

Idea taken from J.Samson, DESY.


The documentation for this class was generated from the following file:
Generated on Mon Jan 12 09:48:59 2009 for Marlin by doxygen 1.3.5