ARTS
1.0.222
|
Declarations having to do with the four output streams. More...
Go to the source code of this file.
Classes | |
class | Messages |
The verbosity level for screen and file output. More... | |
class | Out0 |
Highest priority output stream. More... | |
class | Out1 |
Engine output stream. More... | |
class | Out2 |
Medium priority output stream. More... | |
class | Out3 |
Lowest priority output stream. More... | |
Functions | |
template<class T > | |
void | MessagePrint (ostream &os, Index priority, const T &t) |
Print a message to stream and report file. More... | |
template<class T > | |
Out0 & | operator<< (Out0 &os, const T &t) |
Output operator for Out0. More... | |
template<class T > | |
Out1 & | operator<< (Out1 &os, const T &t) |
Output operator For Out1. More... | |
template<class T > | |
Out2 & | operator<< (Out2 &os, const T &t) |
Output operator For Out2. More... | |
template<class T > | |
Out3 & | operator<< (Out3 &os, const T &t) |
Output operator For Out3. More... | |
Variables | |
Out0 | out0 |
Level 0 output stream. More... | |
Out1 | out1 |
Level 1 output stream. More... | |
Out2 | out2 |
Level 2 output stream. More... | |
Out3 | out3 |
Level 3 output stream. More... | |
Declarations having to do with the four output streams.
ARTS uses four output streams: out0 to out3, where out0 has the highest priority, out3 the lowest. These are global variables. They are intended to be used as follows:
The classes associated with the four output stream variables have the same name, but start with a capital letter: Out0, Out1, Out2, and Out3.
Definition in file messages.h.
void MessagePrint | ( | ostream & | os, |
Index | priority, | ||
const T & | t | ||
) |
Print a message to stream and report file.
The message is printed only if the priority is higher than specified in messages.
os | Stream to print to (cout or cerr). |
priority | Priority of this message (0-3, 0=highest). |
t | The stuff to print (can be of any type). |
Definition at line 85 of file messages.h.
Output operator for Out0.
Definition at line 145 of file messages.h.
Output operator For Out1.
Definition at line 153 of file messages.h.
Output operator For Out2.
Definition at line 162 of file messages.h.
Output operator For Out3.
Definition at line 170 of file messages.h.
|
extern |
|
extern |
|
extern |
|
extern |