Go to the documentation of this file.
35 #define NODEF "@@THIS_KEYWORD_HAS_NO_DEFAULT_VALUE@@"
67 const char description[],
78 bool set_method =
false,
79 bool agenda_method =
false,
80 bool uses_templates =
false,
81 bool pass_workspace =
false,
82 bool pass_wsv_names =
false);
129 ostream&
PrintTemplate(ostream& os,
bool show_description =
true)
const;
136 out0 <<
"MdRecord cannot be assigned!\n"
137 <<
"You tried to assign: " << m <<
"\n";
255 const size_t linelen,
256 const size_t offset = 0);
const ArrayOfString & GOut() const
bool UsesTemplates() 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.
Verbosity verbosity(Workspace &ws) noexcept
MdRecord()
Default constructor.
bool muses_templates
Flag, whether method implementation relies on templates.
ArrayOfIndex mgintype
Generic Workspace Input.
ostream & operator<<(ostream &os, const MdRecord &mdr)
Output operator for MdRecord.
const ArrayOfIndex & OutOnly() const
Implementation of Matrix, Vector, and such stuff.
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)
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.
MdRecord(MdRecord &&)=default
bool format_paragraph(String &s, const String &indent, const size_t linelen, const size_t offset=0)
const ArrayOfArrayOfIndex & GInSpecType() const
void subst_any_with_group(Index g)
Expand supergeneric record for given group.
MdRecord(const MdRecord &)=default
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.
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.