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"

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 (); \
}

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()); \
}

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()); \
}

Definition at line 58 of file m_basic_types.h.

Agenda
The Agenda class.
Definition: agenda_class.h:44
_U_
#define _U_
Definition: config.h:167
Verbosity
Definition: messages.h:50
Workspace
Workspace class.
Definition: workspace_ng.h:47
Index
INDEX Index
The type to use for all integer numbers and indices.
Definition: matpack.h:35