BOSS
7.1.2
BESIII Offline Software System
Loading...
Searching...
No Matches
DefaultStream.h
Go to the documentation of this file.
1
/*
2
* DefaultStream.cxx
3
* Test
4
*
5
* Created by Matthias Wiesmann on 21.01.05.
6
* Copyright 2005 CERN. All rights reserved.
7
*
8
*/
9
10
#include <ostream>
11
#include <sstream>
12
13
#include "
ers/Stream.h
"
14
15
namespace
ers
{
16
17
/** This class displas an Issue on the standard error stream
18
* This class is meant to be used as default stream for simple on screen display.
19
* More advanced streams are offered in the \c System package
20
* This stream only sends output to the standard error stream.
21
* To select this stream, simply use the \c default string key.
22
* You can get a verbose output by
23
* \author Matthias Wiesmann
24
* \version 1.0
25
* \brief Default Issue display
26
*/
27
28
class
DefaultStream
:
public
Stream
{
29
protected
:
30
bool
m_verbose
;
31
public
:
32
static
const
char
*
const
KEY
;
33
static
const
char
*
const
VERBOSE_KEY
;
34
DefaultStream
(
bool
verbose=
false
) ;
35
~DefaultStream
() ;
36
void
send
(
const
Issue
*ptr);
37
} ;
// DefaultStream
38
39
}
// namespace ers
40
Stream.h
ers::DefaultStream
Default Issue display.
Definition
DefaultStream.h:28
ers::DefaultStream::send
void send(const Issue *ptr)
Definition
DefaultStream.cxx:45
ers::DefaultStream::m_verbose
bool m_verbose
Definition
DefaultStream.h:30
ers::DefaultStream::~DefaultStream
~DefaultStream()
Definition
DefaultStream.cxx:37
ers::DefaultStream::VERBOSE_KEY
static const char *const VERBOSE_KEY
Definition
DefaultStream.h:33
ers::DefaultStream::KEY
static const char *const KEY
Definition
DefaultStream.h:32
ers::DefaultStream::DefaultStream
DefaultStream(bool verbose=false)
Definition
DefaultStream.cxx:32
ers::Issue
Root Issue class.
Definition
ers/ers-00-00-03/ers/Issue.h:40
ers::Stream
Root/Null issue stream.
Definition
Stream.h:35
ers
Definition
Event/ers/ers-00-00-03/ers/Assertion.h:20
7.1.2
Event
ers
ers-00-00-03
ers
DefaultStream.h
Generated by
1.12.0