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 uses_templates =
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);
INDEX Index
The type to use for all integer numbers and indices.
void define_md_map()
Define MdMap.
ostream & PrintTemplate(ostream &os, bool show_description=true) const
Print method template for the control file.
String mname
The name of this method.
void arts_exit(int status)
This is the exit function of ARTS.
Explicit construction of Arrays.
Declarations having to do with the four output streams.
bool AgendaMethod() const
ArrayOfIndex mgouttype
Generic Workspace Output Type.
MdRecord()
Default constructor.
ArrayOfIndex minput
Workspace Input.
ArrayOfString mauthors
Author(s) of this method.
ostream & operator<<(ostream &os, const MdRecord &mdr)
Output operator for MdRecord.
bool muses_templates
Flag, whether method implementation relies on templates.
const ArrayOfIndex & Out() const
bool PassWsvNames() const
const Array< String > & GInDescription() const
All information for one workspace method.
bool Supergeneric() const
const String & Name() const
ArrayOfArrayOfIndex mgoutspectype
Generic Workspace Output Types (Contains the valid types if the method.
ArrayOfString mgoutdesc
Generic Workspace Output Description.
const ArrayOfString & GOut() const
const Array< String > & GInDefault() const
void expand_md_data_raw_to_md_data()
Expand supergeneric methods.
String mdescription
A text string describing this method.
void define_md_data_raw()
const String & ActualGroups() const
const ArrayOfIndex & OutOnly() const
bool mpass_workspace
Flag, whether a workspace reference should be passed to the WSM.
void subst_any_with_specific_group(Index g)
Expand supergeneric record for given Index in GOutSpecType and GInSpecType.
ArrayOfIndex minout
Indexes of Input-Output variables.
const ArrayOfIndex & In() const
MdRecord & operator=(const MdRecord &m)
To override the default assignment operator.
ArrayOfString mgindesc
Generic Workspace Input Description.
const ArrayOfArrayOfIndex & GInSpecType() const
String mactual_groups
The actual groups of a supergeneric method.
const ArrayOfString & Authors() const
bool format_paragraph(String &s, const String &indent, const size_t linelen, const size_t offset=0)
Implements the class MakeArray, which is a derived class of Array, allowing explicit initialization...
ArrayOfString mgin
Generic Workspace Input Names.
ArrayOfString mgout
Generic Workspace Output Names.
bool magenda_method
Flag, whether this is an agenda method.
const ArrayOfIndex & InOut() const
void define_md_raw_map()
Define MdRawMap.
const ArrayOfIndex & InOnly() const
const ArrayOfIndex & GOutType() const
ArrayOfIndex moutput
Workspace Output.
void get_short_wsv_description(String &s, const String &desc)
bool mset_method
Flag, whether this is a set method.
ArrayOfIndex moutonly
Indexes of Output-only variables.
ArrayOfString mgindefault
Generic Workspace Input Defaults.
const Array< String > & GOutDescription() const
const ArrayOfArrayOfIndex & GOutSpecType() const
bool mpass_wsv_names
Flag, whether WSV names should be passed to the WSM.
const String & Description() const
const ArrayOfIndex & GInType() const
void subst_any_with_group(Index g)
Expand supergeneric record for given group.
ArrayOfIndex mgintype
Generic Workspace Input.
bool msupergeneric
Flag, whether this method is supergeneric.
const ArrayOfString & GIn() const
ArrayOfArrayOfIndex mginspectype
Generic Workspace Input Types (Contains the valid types if the method.
ArrayOfIndex minonly
Indexes of Input-only variables.
bool UsesTemplates() const
bool PassWorkspace() const