ARTS 2.5.11 (git: 725533f0)
messages.h File Reference

Declarations having to do with the four output streams. More...

#include <fstream>
#include <iostream>
#include "arts.h"
#include "arts_omp.h"

Go to the source code of this file.


class  Verbosity
class  ArtsOut
class  ArtsOut0
class  ArtsOut1
class  ArtsOut2
class  ArtsOut3


#define CREATE_OUT0   ArtsOut0 out0(verbosity)
#define CREATE_OUT1   ArtsOut1 out1(verbosity)
#define CREATE_OUT2   ArtsOut2 out2(verbosity)
#define CREATE_OUT3   ArtsOut3 out3(verbosity)


template<class T >
ArtsOutoperator<< (ArtsOut &aos, const T &t)
 Output operator for ArtsOut.

Detailed Description

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:

  • out0: Error messages.
  • out1: Output of the 'engine'.
  • out2: Important workspace method output.
  • out3: Unimportant workspace method output.

The classes associated with the four output stream variables have the same name, but start with a capital letter: Out0, Out1, Out2, and Out3.

Stefan Buehler

Definition in file messages.h.

Macro Definition Documentation


#define CREATE_OUT0   ArtsOut0 out0(verbosity)

Definition at line 186 of file messages.h.


#define CREATE_OUT1   ArtsOut1 out1(verbosity)

Definition at line 187 of file messages.h.


#define CREATE_OUT2   ArtsOut2 out2(verbosity)

Definition at line 188 of file messages.h.


#define CREATE_OUT3   ArtsOut3 out3(verbosity)

Definition at line 189 of file messages.h.


ArtsOut0 out0(verbosity); \
ArtsOut1 out1(verbosity); \
ArtsOut2 out2(verbosity); \
ArtsOut3 out3(verbosity)

Definition at line 191 of file messages.h.

Function Documentation

◆ operator<<()

template<class T >
ArtsOut & operator<< ( ArtsOut aos,
const T &  t