ARTS  1.0.222
Classes | Macros | Functions
methods.h File Reference

Declaration of the class MdRecord. More...

#include "token.h"
#include "make_array.h"

Go to the source code of this file.

Classes

class  MdRecord
 This class contains all information for one workspace method. More...
 

Macros

#define NAME(x)   x
 
#define DESCRIPTION(x)   x
 
#define OUTPUT   MakeArray<Index>
 
#define INPUT   MakeArray<Index>
 
#define GOUTPUT   MakeArray<Index>
 
#define GINPUT   MakeArray<Index>
 
#define KEYWORDS   MakeArray<String>
 
#define TYPES   MakeArray<TokValType>
 

Functions

void define_md_data ()
 Define the lookup data for the workspace methods. More...
 
void define_md_map ()
 Define MdMap. More...
 
ostream & operator<< (ostream &os, const MdRecord &mdr)
 Output operator for MdRecord. More...
 

Detailed Description

Declaration of the class MdRecord.

The class MdRecord contains all information for one workspace method.

Author
Stefan Buehler
Date
1999-07-27

Definition in file methods.h.

Macro Definition Documentation

◆ DESCRIPTION

#define DESCRIPTION (   x)    x

Definition at line 133 of file methods.h.

◆ GINPUT

#define GINPUT   MakeArray<Index>

Definition at line 137 of file methods.h.

◆ GOUTPUT

#define GOUTPUT   MakeArray<Index>

Definition at line 136 of file methods.h.

◆ INPUT

#define INPUT   MakeArray<Index>

Definition at line 135 of file methods.h.

◆ KEYWORDS

#define KEYWORDS   MakeArray<String>

Definition at line 138 of file methods.h.

◆ NAME

#define NAME (   x)    x

Definition at line 132 of file methods.h.

◆ OUTPUT

#define OUTPUT   MakeArray<Index>

Definition at line 134 of file methods.h.

◆ TYPES

#define TYPES   MakeArray<TokValType>

Definition at line 139 of file methods.h.

Function Documentation

◆ define_md_data()

void define_md_data ( )

Define the lookup data for the workspace methods.

The array md_data contains all that we need to know about each method. The lookup table is a global variable. It can be made visible anywhere with an extern declaration.

Definition at line 42 of file methods.cc.

◆ define_md_map()

void define_md_map ( )

Define MdMap.

MdMap can be used to find method data by method name.

Definition at line 37 of file methods_aux.cc.

◆ operator<<()

ostream& operator<< ( ostream &  os,
const MdRecord mdr 
)

Output operator for MdRecord.

Author
Stefan Buehler

Definition at line 110 of file methods_aux.cc.