BOSS
7.1.3
BESIII Offline Software System
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Functions
a
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
v
w
x
z
Typedefs
c
d
e
g
h
i
l
m
n
o
p
r
s
t
Enumerations
Enumerator
a
b
c
d
e
f
i
k
l
m
n
o
p
r
s
t
u
w
x
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
v
w
Enumerations
b
c
d
e
f
g
h
i
k
l
m
n
p
r
s
t
v
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Related Symbols
:
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
v
w
x
Files
File List
File Members
All
!
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
!
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
!
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
h
i
j
k
l
m
n
p
r
s
t
u
v
w
z
Enumerations
Enumerator
a
b
c
d
e
f
g
h
i
k
m
n
o
p
r
s
t
u
w
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
HumanStream.h
Go to the documentation of this file.
1
/*
2
* HumanStream.h
3
* ers
4
*
5
* Created by Matthias Wiesmann on 01.11.04.
6
* Copyright 2004 CERN. All rights reserved.
7
*
8
*/
9
10
11
#include <ostream>
12
#include <sstream>
13
14
#include "
ers/Stream.h
"
15
16
namespace
ers
{
17
18
/** This class streams an issue into an human readable string.
19
* It is uses by the issue class to display itself.
20
* This stream can be specified for other uses, but the user is then responsible
21
* for reading data from the stream and clearing it.
22
* \author Matthias Wiesmann
23
* \version 1.0
24
* \brief Single line, human readable format stream.
25
*/
26
27
class
HumanStream
:
public
Stream
{
28
protected
:
29
std::ostringstream
m_out_stream
;
30
public
:
31
static
std::string
to_string
(
const
Issue
*issue)
throw
() ;
32
static
const
char
*
const
KEY
;
33
HumanStream
() ;
34
HumanStream
(
const
HumanStream
&other);
35
~HumanStream
() ;
36
std::string
to_string
() ;
37
void
clear
() ;
38
virtual
void
send
(
const
Issue
*ptr);
39
virtual
void
print_to
(std::ostream& stream)
const
;
40
41
} ;
// human_stream
27
class
HumanStream
:
public
Stream
{
…
};
42
43
}
// namespace ers
44
Stream.h
ers::HumanStream::send
virtual void send(const Issue *ptr)
Sends an issue into the stream.
Definition
HumanStream.cxx:69
ers::HumanStream::to_string
std::string to_string()
Definition
HumanStream.cxx:54
ers::HumanStream::HumanStream
HumanStream()
Definition
HumanStream.cxx:47
ers::HumanStream::clear
void clear()
Definition
HumanStream.cxx:61
ers::HumanStream::~HumanStream
~HumanStream()
Definition
HumanStream.cxx:49
ers::HumanStream::KEY
static const char *const KEY
Definition
HumanStream.h:32
ers::HumanStream::m_out_stream
std::ostringstream m_out_stream
Definition
HumanStream.h:29
ers::HumanStream::print_to
virtual void print_to(std::ostream &stream) const
Definition
HumanStream.cxx:65
ers::Stream::Stream
Stream()
Definition
Stream.cxx:31
ers::Stream::Issue
friend class Issue
Definition
Stream.h:36
ers
Definition
Event/ers/ers-00-00-03/ers/Assertion.h:20
7.1.3
Event
ers
ers-00-00-03
ers
HumanStream.h
Generated by
1.13.2