Go to the documentation of this file.
26 #ifndef agenda_class_h
27 #define agenda_class_h
79 void print( ostream& os,
80 const String& indent )
const;
196 for (ArrayOfIndex::const_iterator j=
moutput.begin(); j<
moutput.end(); ++j)
197 for (ArrayOfIndex::iterator k=ginonly.begin(); k<ginonly.end(); ++k)
201 k = ginonly.erase(k) - 1;
210 void print( ostream& os,
211 const String& indent )
const;
const ArrayOfIndex & Out() const
This stores arbitrary token values and remembers the type.
void set_outputs_to_push_and_dup(const Verbosity &verbosity)
Retrieve indexes of all input and output WSVs.
Agenda mtasks
An agenda, which can be given in the controlfile instead of keywords.
void execute(Workspace &ws) const
Execute an agenda.
Index nelem() const
Return the number of agenda elements.
void set_methods(const Array< MRecord > &ml)
MRecord(const MRecord &x)
const ArrayOfIndex & get_output2dup() const
bool is_output(Index var) const
Check if given variable is agenda output.
void print(ostream &os, const String &indent) const
Print an agenda.
const Agenda & Tasks() const
ArrayOfIndex moutput_push
void append(const String &methodname, const TokVal &keywordvalue)
Appends methods to an agenda.
const ArrayOfIndex & In() const
Declarations having to do with the four output streams.
The implementation for String, the ARTS string class.
ArrayOfIndex minput
Input workspace variables.
const TokVal & SetValue() const
String name() const
Agenda name.
void find_unused_variables()
void print(ostream &os, const String &indent) const
Print an MRecord.
bool is_main_agenda() const
bool main_agenda
Is set to true if this is the main agenda.
void check(Workspace &ws, const Verbosity &verbosity)
Checks consistency of an agenda.
void ginput_only(ArrayOfIndex &ginonly) const
Get list of generic input only WSVs.
bool is_input(Workspace &ws, Index var) const
Check if given variable is agenda input.
TokVal msetvalue
Keyword value for Set methods.
const ArrayOfIndex & get_output2push() const
void set_name(const String &nname)
Set agenda name.
ostream & operator<<(ostream &os, const Agenda &a)
Output operator for Agenda.
void resize(Index n)
Resize the method list.
INDEX Index
The type to use for all integer numbers and indices.
const Array< MRecord > & Methods() const
MRecord(const Index id, const ArrayOfIndex &output, const ArrayOfIndex &input, const TokVal &setvalue, const Agenda &tasks)
bool mchecked
Flag indicating that the agenda was checked for consistency.
ArrayOfIndex moutput
Output workspace variables.
void push_back(MRecord n)
Append a new method to end of list.
Index nelem() const
Number of elements.
Agenda & operator=(const Agenda &x)
Assignment operator.
MRecord & operator=(const MRecord &x)
Assignment operator for MRecord.