Garfield++
v1r0
A toolkit for the detailed simulation of particle detectors based on ionisation measurement in gases and semiconductors
Loading...
Searching...
No Matches
prstream.cpp
Go to the documentation of this file.
1
#include "
wcpplib/stream/prstream.h
"
2
/*
3
Copyright (c) 2001 I. B. Smirnov
4
5
Permission to use, copy, modify, distribute and sell this file
6
and its documentation for any purpose is hereby granted without fee,
7
provided that the above copyright notice, this permission notice,
8
and notices about any modifications of the original text
9
appear in all copies and in supporting documentation.
10
It is provided "as is" without express or implied warranty.
11
*/
12
13
indentation
indn
;
14
15
std::ostream&
noindent
(std::ostream& f) {
16
indn
.
s_not
= 1;
17
return
f;
18
}
19
std::ostream&
yesindent
(std::ostream& f) {
20
indn
.
s_not
= 0;
21
return
f;
22
}
23
int
s_short_output
= 0;
24
25
#ifndef USE_DEFAULT_STREAMS
26
27
long
HelperForMcout::count = 0;
28
29
#endif
indentation
Definition:
prstream.h:185
indentation::s_not
int s_not
Definition:
prstream.h:188
indn
indentation indn
Definition:
prstream.cpp:13
yesindent
std::ostream & yesindent(std::ostream &f)
Definition:
prstream.cpp:19
noindent
std::ostream & noindent(std::ostream &f)
Definition:
prstream.cpp:15
s_short_output
int s_short_output
Definition:
prstream.cpp:23
prstream.h
garfieldpp-v1r0
Heed
wcpplib
stream
prstream.cpp
Generated by
1.9.6