ARTS  2.2.66
m_basic_types.h File Reference

Functions for straightforward operations on variables of basic types. More...

#include "array.h"
#include "arts.h"
#include "exceptions.h"
#include "matpackII.h"
#include "matpackVII.h"
#include "gridded_fields.h"
#include "mystring.h"
#include "messages.h"
#include "workspace_ng.h"
#include "agenda_class.h"
#include "sstream.h"
Include dependency graph for m_basic_types.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define TMPL_NGET_GENERIC(what)
 
#define TMPL_NGET_AGENDA(what)
 
#define NGET_GENERIC(what, type)
 

Detailed Description

Functions for straightforward operations on variables of basic types.

Author
Oliver Lemke olemk.nosp@m.e@co.nosp@m.re-du.nosp@m.mp.i.nosp@m.nfo
Date
2004-09-20

Definition in file m_basic_types.h.

Macro Definition Documentation

◆ NGET_GENERIC

#define NGET_GENERIC (   what,
  type 
)
Value:
void what##Get(Index& what, \
const type& x, \
const Verbosity&) \
{ \
what = x.what (); \
}
INDEX Index
The type to use for all integer numbers and indices.
Definition: matpack.h:35

Definition at line 110 of file m_basic_types.h.

◆ TMPL_NGET_AGENDA

#define TMPL_NGET_AGENDA (   what)
Value:
void what##Get( Workspace& ws _U_, \
Index&, \
const Agenda&, \
const Verbosity&) \
{ \
ostringstream os; \
os << "The variable has no such attribute.\n"; \
throw runtime_error(os.str()); \
}
INDEX Index
The type to use for all integer numbers and indices.
Definition: matpack.h:35
The Agenda class.
Definition: agenda_class.h:44
Workspace class.
Definition: workspace_ng.h:47
#define _U_
Definition: config.h:167

Definition at line 81 of file m_basic_types.h.

◆ TMPL_NGET_GENERIC

#define TMPL_NGET_GENERIC (   what)
Value:
template <typename T> \
void what##Get( Index&, \
const T&, \
const Verbosity&) \
{ \
ostringstream os; \
os << "The variable has no such attribute.\n"; \
throw runtime_error(os.str()); \
}
INDEX Index
The type to use for all integer numbers and indices.
Definition: matpack.h:35

Definition at line 58 of file m_basic_types.h.