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);
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.
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)
ArrayOfString mgin
Generic Workspace Input Names.
ArrayOfString mgout
Generic Workspace Output Names.
Implementation of Matrix, Vector, and such stuff.
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