ARTS  2.2.66
messages.cc
Go to the documentation of this file.
1 /* Copyright (C) 2000-2012 Stefan Buehler <sbuehler@ltu.se>
2 
3  This program is free software; you can redistribute it and/or modify it
4  under the terms of the GNU General Public License as published by the
5  Free Software Foundation; either version 2, or (at your option) any
6  later version.
7 
8  This program is distributed in the hope that it will be useful,
9  but WITHOUT ANY WARRANTY; without even the implied warranty of
10  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  GNU General Public License for more details.
12 
13  You should have received a copy of the GNU General Public License
14  along with this program; if not, write to the Free Software
15  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
16  USA. */
17 
28 #include "arts.h"
29 #include "mystring.h"
30 #include "array.h"
31 #include "messages.h"
32 
33 // The global message verbosity settings:
35 
38 
43 
45 ofstream report_file;
46 
47 
48 ostream& operator<<(ostream& os, const Verbosity& v)
49 {
50  os << "Agenda Verbosity: " << v.get_agenda_verbosity() << "\n";
51  os << "Screen Verbosity: " << v.get_screen_verbosity() << "\n";
52  os << "File Verbosity : " << v.get_file_verbosity() << "\n";
53 
54  return os;
55 }
56 
operator<<
ostream & operator<<(ostream &os, const Verbosity &v)
Definition: messages.cc:48
array.h
This file contains the definition of Array.
messages.h
Declarations having to do with the four output streams.
verbosity_at_launch
Verbosity verbosity_at_launch
Definition: messages.cc:34
my_basic_string
The implementation for String, the ARTS string class.
Definition: mystring.h:64
report_file
ofstream report_file
The report file.
Definition: messages.cc:45
Verbosity
Definition: messages.h:50
Verbosity::get_agenda_verbosity
Index get_agenda_verbosity() const
Definition: messages.h:64
out_basename
String out_basename
The basename for the report file and for all other output files.
Definition: messages.cc:42
Verbosity::get_screen_verbosity
Index get_screen_verbosity() const
Definition: messages.h:65
Verbosity::get_file_verbosity
Index get_file_verbosity() const
Definition: messages.h:66
out_path
String out_path
The output path.
Definition: messages.cc:37
mystring.h
This file contains the definition of String, the ARTS string class.
arts.h
The global header file for ARTS.