Go to the documentation of this file.
71 bool& still_supergeneric,
73 Index& supergeneric_index,
82 bool& still_supergeneric,
84 Index& supergeneric_index,
113 Index keyword_index);
117 const Index method_type,
131 const String& default_name,
void eat_whitespace_from_string(String &str, size_t &pos)
Eats whitespace from a String.
void parse_method(Index &id, ArrayOfIndex &output, ArrayOfIndex &input, Agenda &tasks, ArrayOfIndex &auto_vars, Array< TokVal > &auto_vars_values, String &include_file, bool no_eot=false)
Parse the Contents of text as ARTS control input.
void read_integer(String &res)
Reads an integer.
bool is_whitespace(const char c)
Returns true if this character is considered whitespace.
void eat_whitespace()
Eats whitespace.
void parse_matrix(Matrix &res)
Read a Matrix.
void read_name(String &name)
Reads name of method, keyword, or workspace variable.
void parse_generic_output(const MdRecord *&mdd, Index &id, String &methodname, ArrayOfIndex &output, bool &first, bool &still_supergeneric, String &supergeneric_args, Index &supergeneric_index, NamedArguments &named_args, bool call_by_name)
Parse the generic output WSVs for current method from the controlfile.
void assertain_character(char c)
Make sure that the current character is equal to c and go to the next character.
void parse_intvector(ArrayOfIndex &res)
Read a vector of integers.
const Verbosity & verbosity
Declarations for agendas.
void at_end_of_argument(const String &argname)
Check if current position in controlfile is at the end of an argument.
void find_named_arguments(vector< NamedArgument > &named_args)
Find named arguments.
String set_gin_to_default(const MdRecord *mdd, ArrayOfIndex &auto_vars, Array< TokVal > &auto_vars_values, Index keyword_index)
Set generic input to default value.
void get_argument_index_by_name(Index &arg_index, NamedArguments &named_args, String name)
Return the index of the argument with the given name.
bool parse_numvector_from_string(Vector &res, String &str)
Read a vector of Numerics from a String.
void parse_Stringvector(ArrayOfString &res)
Read a vector of Strings.
bool parse_stringarray_from_string(ArrayOfString &res, String &str)
Read an Array of Strings from a String.
void parse_method_args(const MdRecord *&mdd, Index &id, String &methodname, ArrayOfIndex &output, ArrayOfIndex &input, ArrayOfIndex &auto_vars, Array< TokVal > &auto_vars_values)
Parse method's argument list.
void parse_specific_output(const MdRecord *mdd, ArrayOfIndex &output, bool &first, NamedArguments &named_args, bool call_by_name)
Parse the output WSVs for current method from the controlfile.
void parse_tasklist()
Public interface to the main function of the parser.
NUMERIC Numeric
The type to use for all floating point numbers.
bool parse_intvector_from_string(ArrayOfIndex &res, String &str)
Read an array of integers from a String.
void read_numeric(String &res)
Reads a floating point number.
A smart class to hold the text for parsing.
Index read_name_or_value(String &name, ArrayOfIndex &auto_vars, Array< TokVal > &auto_vars_values, const String &default_name, const MdRecord *mdd, const Index group)
Reads name of a workspace variable or a value.
ArtsParser(Agenda &tasklist, String controlfile, const Verbosity &verbosity)
Constructs a new parser.
All information for one workspace method.
void parse_numeric(Numeric &n)
Use a String stream to parse a floating point number.
void parse_main()
The main function of the parser.
void parse_numvector(Vector &res)
Read a vector of Numerics.
void parse_integer(Index &n)
Use a String stream to parse an integer number.
void parse_generic_input(const MdRecord *&mdd, Index &id, String &methodname, ArrayOfIndex &input, ArrayOfIndex &auto_vars, Array< TokVal > &auto_vars_values, bool &first, bool &still_supergeneric, String &supergeneric_args, Index &supergeneric_index, NamedArguments &named_args, bool call_by_name)
Parse the generic input WSVs for current method from the controlfile.
void parse_specific_input(const MdRecord *mdd, ArrayOfIndex &input, ArrayOfIndex &auto_vars, Array< TokVal > &auto_vars_values, bool &first, NamedArguments &named_args, bool call_by_name)
Parse the specific input WSVs for current method from the controlfile.
void parse_agenda(Agenda &tasklist, const String &agenda_name)
Parse the Contents of text as ARTS control input.
INDEX Index
The type to use for all integer numbers and indices.
vector< NamedArgument > NamedArguments
void parse_String(String &res)
Reads a String, complete with quotation marks.
void skip_to_next_argument()
Skips forward to the next argument.
Declaration of the class MdRecord.
void tasklist_insert_set_delete(const ArrayOfIndex &auto_vars, const Array< TokVal > &auto_vars_values, const Index method_type, Agenda &tasklist)
Insert Set and Delete methods for automatically allocated output WSVs.