Go to the documentation of this file.
53 const char description[],
94 ostream&
PrintTemplate(ostream& os,
bool show_description=
true)
const;
99 cout <<
"MdRecord cannot be assigned!\n";
133 #define DESCRIPTION(x) x
134 #define OUTPUT MakeArray<Index>
135 #define INPUT MakeArray<Index>
136 #define GOUTPUT MakeArray<Index>
137 #define GINPUT MakeArray<Index>
138 #define KEYWORDS MakeArray<String>
139 #define TYPES MakeArray<TokValType>
MdRecord operator=(const MdRecord &)
To override the default assignment operator.
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.
const Array< TokValType > & Types() const
ArrayOfIndex mgoutput
Generic Workspace Output.
MdRecord()
Default constructor.
const ArrayOfIndex & Output() const
ostream & operator<<(ostream &os, const MdRecord &mdr)
Output operator for MdRecord.
Array< TokValType > mtypes
Types associated with keywords.
const Array< String > & Keywords() const
const ArrayOfIndex & Input() const
ArrayOfIndex mginput
Generic Workspace Input.
String mname
The name of this method.
ArrayOfIndex minput
Workspace Input.
String mdescription
A text string describing this method.
Implements the class MakeArray, which is a derived class of Array, allowing explicit initialization.
const String & Name() const
void define_md_data()
Define the lookup data for the workspace methods.
const ArrayOfIndex & GInput() const
ArrayOfString mkeywords
Keywords.
const ArrayOfIndex & GOutput() const
This class contains all information for one workspace method.
ostream & PrintTemplate(ostream &os, bool show_description=true) const
Print method template for the control file.
Explicit construction of Arrays.
void define_md_map()
Define MdMap.
ArrayOfIndex moutput
Workspace Output.
const String & Description() const
Index nelem() const
Number of elements.