Go to the documentation of this file.
36 #define NODEF "@@THIS_KEYWORD_HAS_NO_DEFAULT_VALUE@@"
70 const char description[],
81 bool set_method =
false,
82 bool agenda_method =
false,
83 bool suppress_header =
false,
84 bool pass_workspace =
false,
85 bool pass_wsv_names =
false
130 ostream&
PrintTemplate(ostream& os,
bool show_description=
true)
const;
137 out0 <<
"MdRecord cannot be assigned!\n"
138 <<
"You tried to assign: " << m <<
"\n";
256 const size_t offset = 0);
const ArrayOfString & GOut() const
bool Supergeneric() const
const ArrayOfArrayOfIndex & GOutSpecType() const
const ArrayOfIndex & GOutType() const
ArrayOfIndex mgouttype
Generic Workspace Output Type.
friend void subst_any_with_group(MdRecord &mdd, Index g)
const ArrayOfIndex & GInType() const
bool PassWsvNames() const
bool mpass_workspace
Flag, whether a workspace reference should be passed to the WSM.
ArrayOfArrayOfIndex mgoutspectype
Generic Workspace Output Types (Contains the valid types if the method.
ArrayOfString mauthors
Author(s) of this method.
MdRecord()
Default constructor.
ArrayOfIndex mgintype
Generic Workspace Input.
bool SuppressHeader() const
ostream & operator<<(ostream &os, const MdRecord &mdr)
Output operator for MdRecord.
const ArrayOfIndex & OutOnly() const
ArrayOfIndex minout
Indexes of Input-Output variables.
String mname
The name of this method.
const String & ActualGroups() const
bool mset_method
Flag, whether this is a set method.
ArrayOfString mgoutdesc
Generic Workspace Output Description.
ArrayOfIndex minput
Workspace Input.
MdRecord & operator=(const MdRecord &m)
To override the default assignment operator.
String mdescription
A text string describing this method.
Declarations having to do with the four output streams.
const Array< String > & GInDescription() const
bool AgendaMethod() const
void expand_md_data_raw_to_md_data()
Expand supergeneric methods.
void get_short_wsv_description(String &s, const String &desc)
Implements the class MakeArray, which is a derived class of Array, allowing explicit initialization.
bool magenda_method
Flag, whether this is an agenda method.
const String & Name() const
void define_md_data_raw()
const ArrayOfIndex & In() const
ArrayOfString mgindesc
Generic Workspace Input Description.
const ArrayOfIndex & InOnly() const
ArrayOfString mgin
Generic Workspace Input Names.
const Array< String > & GOutDescription() const
const Array< String > & GInDefault() const
const ArrayOfIndex & InOut() const
ArrayOfString mgout
Generic Workspace Output Names.
ArrayOfString mgindefault
Generic Workspace Input Defaults.
const ArrayOfString & GIn() const
void define_md_raw_map()
Define MdRawMap.
All information for one workspace method.
void subst_any_with_specific_group(Index g)
Expand supergeneric record for given Index in GOutSpecType and GInSpecType.
bool format_paragraph(String &s, const String &indent, const size_t linelen, const size_t offset=0)
const ArrayOfArrayOfIndex & GInSpecType() const
bool msuppress_header
Flag, whether method header should be suppressed.
void subst_any_with_group(Index g)
Expand supergeneric record for given group.
ostream & PrintTemplate(ostream &os, bool show_description=true) const
Print method template for the control file.
ArrayOfArrayOfIndex mginspectype
Generic Workspace Input Types (Contains the valid types if the method.
Explicit construction of Arrays.
String mactual_groups
The actual groups of a supergeneric method.
bool msupergeneric
Flag, whether this method is supergeneric.
INDEX Index
The type to use for all integer numbers and indices.
const ArrayOfIndex & Out() const
void arts_exit(int status)
This is the exit function of ARTS.
void define_md_map()
Define MdMap.
ArrayOfIndex minonly
Indexes of Input-only variables.
ArrayOfIndex moutput
Workspace Output.
const String & Description() const
bool PassWorkspace() const
bool mpass_wsv_names
Flag, whether WSV names should be passed to the WSM.
const ArrayOfString & Authors() const
ArrayOfIndex moutonly
Indexes of Output-only variables.