ARTS
1.0.222
|
This class contains all information for one workspace method. More...
#include <methods.h>
Public Member Functions | |
MdRecord () | |
Default constructor. More... | |
MdRecord (const char name[], const char description[], const MakeArray< Index > &output, const MakeArray< Index > &input, const MakeArray< Index > &goutput, const MakeArray< Index > &ginput, const MakeArray< String > &keywords, const MakeArray< TokValType > &types) | |
The only non-trivial constructor, which sets all the fields. More... | |
const String & | Name () const |
const String & | Description () const |
const ArrayOfIndex & | Output () const |
const ArrayOfIndex & | Input () const |
const ArrayOfIndex & | GOutput () const |
const ArrayOfIndex & | GInput () const |
const Array< String > & | Keywords () const |
const Array< TokValType > & | Types () const |
ostream & | PrintTemplate (ostream &os, bool show_description=true) const |
Print method template for the control file. More... | |
MdRecord | operator= (const MdRecord &) |
To override the default assignment operator. More... | |
Private Attributes | |
String | mname |
The name of this method. More... | |
String | mdescription |
A text string describing this method. More... | |
ArrayOfIndex | moutput |
Workspace Output. More... | |
ArrayOfIndex | minput |
Workspace Input. More... | |
ArrayOfIndex | mgoutput |
Generic Workspace Output. More... | |
ArrayOfIndex | mginput |
Generic Workspace Input. More... | |
ArrayOfString | mkeywords |
Keywords. More... | |
Array< TokValType > | mtypes |
Types associated with keywords. More... | |
This class contains all information for one workspace method.
|
inline |
|
inline |
|
inline |
|
inline |
ostream & MdRecord::PrintTemplate | ( | ostream & | os, |
bool | show_description = true |
||
) | const |
Print method template for the control file.
This prints the method data exactly in the same way how it can be included in the control file. The description string is also printed as a comment, but this can be turned off by setting show_comment to false.
show_description | Should the description string also be printed? |
Definition at line 49 of file methods_aux.cc.
|
inline |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |