#include <iostream>
#include <fstream>
#include "arts.h"
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. | |
| template<class T> | |
| Out0 & | operator<< (Out0 &os, const T &t) |
| Output operator for Out0. | |
| template<class T> | |
| Out1 & | operator<< (Out1 &os, const T &t) |
| Output operator For Out1. | |
| template<class T> | |
| Out2 & | operator<< (Out2 &os, const T &t) |
| Output operator For Out2. | |
| template<class T> | |
| Out3 & | operator<< (Out3 &os, const T &t) |
| Output operator For Out3. | |
Variables | |
| Out0 | out0 |
| Level 0 output stream. | |
| Out1 | out1 |
| Level 1 output stream. | |
| Out2 | out2 |
| Level 2 output stream. | |
| Out3 | out3 |
| Level 3 output stream. | |
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:
Definition in file messages.h.
| void MessagePrint | ( | ostream & | os, | |
| Index | priority, | |||
| const T & | t | |||
| ) | [inline] |
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.
1.5.6