ARTS 2.5.4 (git: 31ce4f0e)
arts.h
Go to the documentation of this file.
1/* Copyright (C) 2000-2012
2 Stefan Buehler <sbuehler@ltu.se>
3 Patrick Eriksson <Patrick.Eriksson@chalmers.se>
4 Oliver Lemke <olemke@core-dump.info>
5
6 This program is free software; you can redistribute it and/or modify it
7 under the terms of the GNU General Public License as published by the
8 Free Software Foundation; either version 2, or (at your option) any
9 later version.
10
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
19 USA. */
20
96#ifndef arts_h
97#define arts_h
98
99#include <cstddef>
100#include <cstdlib>
101#include "debug.h"
102#include "mystring.h"
103
104//----------< First of all, include the configuration header >----------
105#include "config.h"
106
107#ifdef HAVE_NAMESPACES
108// We need those to support ansi-compliant compilers (gcc-3x)
109namespace std {}
110using namespace std;
111#endif
112
113//---------------< Global variable declarations >---------------
114// See global_data.h
115
116//---------------< Global function declarations: >---------------
117// Documentations are with function definitions.
118// FIXME: OLE: These should be moved to a separate header file.
119class ArtsOut;
120
121void define_wsv_groups();
123
124void arts_exit(int status = EXIT_FAILURE);
126std::string_view arts_get_version_string();
127
128//
129// Physical constants are now in constants.cc
130//
131
132//---------------< Global macro definitions: >---------------
133
134#endif // arts_h
void arts_exit_with_error_message(const String &m, ArtsOut &os)
Print error message and exit.
Definition: arts.cc:64
void arts_exit(int status=EXIT_FAILURE)
This is the exit function of ARTS.
Definition: arts.cc:42
bool is_valid_keyword_group(const Index name)
void define_wsv_groups()
Define the array of workspace variable group names.
Definition: groups.cc:66
std::string_view arts_get_version_string()
Definition: auto_version.cc:4
Helper macros for debugging.
INDEX Index
The type to use for all integer numbers and indices.
Definition: matpack.h:39
This file contains the definition of String, the ARTS string class.
VectorView std(VectorView std, const Vector &y, const ArrayOfVector &ys, const Index start, const Index end_tmp)
Compute the standard deviation of the ranged ys.
Definition: raw.cc:205