messages.h File Reference

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

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

Include dependency graph for messages.h:

Go to the source code of this file.

Classes

class  Messages
 For global ARTS verbosity settings. 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>
Out0operator<< (Out0 &os, const T &t)
 Output operator for Out0.
template<class T>
Out1operator<< (Out1 &os, const T &t)
 Output operator For Out1.
template<class T>
Out2operator<< (Out2 &os, const T &t)
 Output operator For Out2.
template<class T>
Out3operator<< (Out3 &os, const T &t)
 Output operator For Out3.

Variables

bool in_main_agenda
 A thread private flag that says whether we are in the main agenda, or not.
Out0 out0
 Level 0 output stream.
Out1 out1
 Level 1 output stream.
Out2 out2
 Level 2 output stream.
Out3 out3
 Level 3 output stream.


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:

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

Author:
Stefan Buehler
Date:
2000-07-31

Definition in file messages.h.


Function Documentation

template<class T>
Out3& operator<< ( Out3 os,
const T &  t 
) [inline]

Output operator For Out3.

Definition at line 181 of file messages.h.

References arts_messages, and Messages::Print().

template<class T>
Out2& operator<< ( Out2 os,
const T &  t 
) [inline]

Output operator For Out2.

Definition at line 172 of file messages.h.

References arts_messages, and Messages::Print().

template<class T>
Out1& operator<< ( Out1 os,
const T &  t 
) [inline]

Output operator For Out1.

Definition at line 162 of file messages.h.

References arts_messages, and Messages::Print().

template<class T>
Out0& operator<< ( Out0 os,
const T &  t 
) [inline]

Output operator for Out0.

Definition at line 153 of file messages.h.

References arts_messages, and Messages::Print().


Variable Documentation

A thread private flag that says whether we are in the main agenda, or not.

If we are not, then agenda output is suppressed or enabled, according to the verbosity setting.

We initialize it to true, so that we also get output from before the execution of main.

Definition at line 39 of file messages.cc.

Referenced by Agenda::execute(), and Messages::Print().

Level 2 output stream.

See also:
OutStream

Definition at line 111 of file messages.cc.

Referenced by abs_cont_descriptionInit(), abs_fieldCalc(), abs_lines_per_speciesCreateFromLines(), abs_lineshape_per_tgDefine(), abs_lineshapeDefine(), abs_linesReadFromArts(), abs_linesReadFromArtsObsolete(), abs_linesReadFromHitran(), abs_linesReadFromHitran2004(), abs_linesReadFromJpl(), abs_linesReadFromMytran2(), abs_lookupCreate(), abs_lookupInit(), abs_lookupSetupBatch(), abs_lookupSetupWide(), abs_lookupTestAccuracy(), abs_speciesDefineAllInScenario(), abs_vecInit(), GasAbsLookup::Adapt(), AntennaOff(), AntennaSet1D(), AntennaSet2D(), AtmosphereSet1D(), AtmosphereSet2D(), AtmosphereSet3D(), chk_single_scattering_data(), choose_abs_nls(), choose_abs_nls_pert(), choose_abs_t_pert(), Cloudbox_ppathCalc(), complex_nWaterLiebe93(), doit_conv_flagAbs(), doit_conv_flagAbsBT(), doit_conv_flagLsq(), doit_i_fieldIterate(), doit_i_fieldSetClearsky(), doit_i_fieldSetConst(), doit_i_fieldUpdate1D(), doit_i_fieldUpdateSeq1D(), doit_i_fieldUpdateSeq1DPP(), doit_i_fieldUpdateSeq3D(), doit_scat_fieldCalc(), doit_scat_fieldCalcLimb(), DoitCloudboxFieldPut(), ext_matInit(), f_gridFromSensorHIRS(), jacobianAddAbsSpecies(), jacobianCalc(), jacobianCalcAbsSpecies(), jacobianCalcTemperature(), main(), MatrixPlanck(), MatrixUnitIntensity(), nc_read_from_file(), nc_write_to_file(), ParticleTypeAdd(), ParticleTypeAddAll(), ppath_calc(), ppath_start_stepping(), r_geoidSpherical(), r_geoidWGS84(), sensor_responseInit(), surfaceBlackbody(), surfaceFlatRefractiveIndex(), surfaceFlatVaryingEmissivity(), Tensor3FillWithVector(), Tensor3SetConstant(), Tensor4SetConstant(), Tensor5SetConstant(), Tensor6SetConstant(), Tensor7SetConstant(), VectorInsertGridPoints(), VectorLinSpace(), VectorLogSpace(), VectorNLinSpace(), VectorNLogSpace(), VectorSetConstant(), xml_read_arts_catalogue_from_file(), xml_read_from_file(), xml_write_to_file(), ybatchCalc(), and ybatchCalc_implementation().

Level 3 output stream.

See also:
OutStream

Definition at line 113 of file messages.cc.

Referenced by abs_coefCalcFromXsec(), abs_coefCalcSaveMemory(), abs_fieldCalc(), abs_lines_per_speciesCreateFromLines(), abs_lines_per_speciesReadFromCatalogues(), abs_lookupCreate(), abs_lookupSetupBatch(), abs_speciesAdd(), abs_speciesAdd2(), abs_xsec_per_speciesAddConts(), abs_xsec_per_speciesAddLines(), abs_xsec_per_speciesInit(), GasAbsLookup::Adapt(), AgendaExecute(), AntennaSet1D(), AntennaSet2D(), AtmosphereSet1D(), AtmosphereSet2D(), AtmosphereSet3D(), AtmRawRead(), BF86_CIA_N2(), chk_pnd_data(), chk_pnd_raw_data(), choose_abs_nls_pert(), choose_abs_t_pert(), CKD24_H20(), CKD_222_foreign_h2o(), CKD_222_self_h2o(), CKD_241_co2(), CKD_242_foreign_h2o(), CKD_242_self_h2o(), CKD_mt_100_foreign_h2o(), CKD_mt_100_self_h2o(), CKD_mt_CIAfun_n2(), CKD_mt_CIAfun_o2(), CKD_mt_CIArot_n2(), CKD_mt_co2(), CKD_mt_v0v0_o2(), CKD_mt_v1v0_o2(), cloud_fieldsCalc(), cloud_ppath_update1D_planeparallel(), cloud_ppath_update3D(), cloud_RT_no_background(), Cloudbox_ppathCalc(), complex_nWaterLiebe93(), CP98H2OAbsModel(), doit_i_fieldSetConst(), doit_i_fieldUpdate1D(), doit_i_fieldUpdateSeq1D(), doit_i_fieldUpdateSeq1DPP(), doit_i_fieldUpdateSeq3D(), doit_scat_fieldCalc(), doit_scat_fieldCalcLimb(), Agenda::execute(), f_gridFromSensorAMSU(), f_gridFromSensorHIRS(), find_new_grid_in_old_grid(), find_nonlinear_continua(), get_radiative_background(), interp_cloud_coeff1D(), InterpAtmFieldToRteGps(), InterpSurfaceEmissivityFieldIncLatLon(), InterpSurfaceFieldToRteGps(), iy_interp_cloudbox_field(), jacobianAddAbsSpecies(), jacobianAddTemperature(), main(), MaTipping_H2O_foreign_continuum(), MPM02H2OAbsModel(), MPM85O2AbsModel(), MPM87H2OAbsModel(), MPM87O2AbsModel(), MPM89H2OAbsModel(), MPM89O2AbsModel(), MPM92O2AbsModel(), MPM93_H2O_continuum(), MPM93_N2_continuum(), MPM93_O2_continuum(), MPM93H2OAbsModel(), MPM93IceCrystalAbs(), MPM93O2AbsModel(), MPM93RainExt(), MPM93WaterDropletAbs(), Pardo_ATM_H2O_ForeignContinuum(), Pardo_ATM_N2_dry_continuum(), ArtsParser::parse_agenda(), ArtsParser::parse_main(), ArtsParser::parse_method(), pha_mat_sptFromData(), pha_mat_sptFromMonoData(), ppath_calc(), ppath_end_1d(), ppath_end_2d(), ppath_end_3d(), ppath_start_1d(), ppath_start_2d(), ppath_start_3d(), ppath_step_geom_1d(), ppath_step_geom_2d(), ppath_step_geom_3d(), ppath_step_refr_1d(), ppath_step_refr_2d(), ppath_step_refr_3d(), PWR93O2AbsModel(), PWR98H2OAbsModel(), r_geoidSpherical(), r_geoidWGS84(), ArtsXMLTag::read_from_stream(), LineRecord::ReadFromArtsStream(), LineRecord::ReadFromHitran2004Stream(), LineRecord::ReadFromHitranStream(), LineRecord::ReadFromJplStream(), LineRecord::ReadFromMytran2Stream(), Rosenkranz_CO2_foreign_continuum(), Rosenkranz_CO2_self_continuum(), Rosenkranz_N2_self_continuum(), Rosenkranz_O2_continuum(), sensor_responseAntenna(), sensor_responseBackend(), sensor_responseBeamSwitching(), sensor_responseInit(), sensor_responseMixer(), Agenda::set_outputs_to_push_and_dup(), SpeciesSet(), Standard_H2O_foreign_continuum(), Standard_H2O_self_continuum(), Standard_N2_self_continuum(), Standard_O2_continuum(), surfaceFlatRefractiveIndex(), surfaceFlatVaryingEmissivity(), Tensor3FillWithVector(), Tensor3SetConstant(), Tensor4SetConstant(), Tensor5SetConstant(), Tensor6SetConstant(), Tensor7SetConstant(), VectorInsertGridPoints(), VectorLinSpace(), VectorLogSpace(), VectorNLinSpace(), VectorNLogSpace(), VectorSetConstant(), xml_open_input_file(), and xsec_continuum_tag().


Generated on Mon Mar 23 14:06:46 2009 for ARTS by  doxygen 1.5.6