ARTS 2.5.11 (git: 6827797f)
arts.h
Go to the documentation of this file.
1
76#ifndef arts_h
77#define arts_h
78
79#include <cstddef>
80#include <cstdlib>
81#include "debug.h"
82#include "mystring.h"
83
84//----------< First of all, include the configuration header >----------
85#include "config.h"
86
87#ifdef HAVE_NAMESPACES
88// We need those to support ansi-compliant compilers (gcc-3x)
89namespace std {}
90using namespace std;
91#endif
92
93//---------------< Global variable declarations >---------------
94// See global_data.h
95
96//---------------< Global function declarations: >---------------
97// Documentations are with function definitions.
98// FIXME: OLE: These should be moved to a separate header file.
99class ArtsOut;
100
101void define_wsv_groups();
102bool is_valid_keyword_group(const Index name);
103
104void arts_exit(int status = EXIT_FAILURE);
106std::string_view arts_get_version_string();
107
108//
109// Physical constants are now in constants.cc
110//
111
112//---------------< Global macro definitions: >---------------
113
114#endif // arts_h
void arts_exit_with_error_message(const String &m, ArtsOut &os)
Print error message and exit.
Definition: arts.cc:47
void arts_exit(int status=EXIT_FAILURE)
This is the exit function of ARTS.
Definition: arts.cc:25
bool is_valid_keyword_group(const Index name)
void define_wsv_groups()
Define the array of workspace variable group names.
Definition: groups.cc:47
std::string_view arts_get_version_string()
Helper macros for debugging.
This file contains the definition of String, the ARTS string class.
Definition: mystring.h:246