#include <agenda_record.h>
Public Member Functions | |
AgRecord () | |
Default constructor. | |
AgRecord (const char name[], const char description[], const MakeArray< String > &output, const MakeArray< String > &input) | |
The only non-trivial constructor for AgRecord, which sets all the fields. | |
const String & | Name () const |
const String & | Description () const |
const ArrayOfIndex & | Out () const |
const ArrayOfIndex & | In () const |
AgRecord | operator= (const AgRecord &) |
Assignment operator. | |
Private Attributes | |
String | mname |
The name of this agenda. | |
String | mdescription |
A text string describing this agenda. | |
ArrayOfIndex | moutput |
Workspace Output. | |
ArrayOfIndex | minput |
Workspace Input. |
An object of this class contains the documentation for an agenda, plus the list of output and input variables.
This cannot be set in the workspace lookup data, since we need to use the handles for the WSVs.
Definition at line 44 of file agenda_record.h.
AgRecord::AgRecord | ( | ) | [inline] |
AgRecord::AgRecord | ( | const char | name[], | |
const char | description[], | |||
const MakeArray< String > & | output, | |||
const MakeArray< String > & | input | |||
) |
The only non-trivial constructor for AgRecord, which sets all the fields.
We work on the assumption, that the workspace lookup data has been defined before. So, what we have to do here is make sure that this agenda exists.
name | Agenda name. | |
description | Agenda documentation. | |
output | List of output WSVs. | |
input | List of input WSVs. |
Definition at line 44 of file agenda_record.cc.
References get_wsv_id(), minput, mname, moutput, Array< base >::nelem(), and Workspace::WsvMap.
const String& AgRecord::Name | ( | ) | const [inline] |
Definition at line 63 of file agenda_record.h.
References mname.
Referenced by check_agenda_data(), operator<<(), and write_agenda_wrapper_header().
const String& AgRecord::Description | ( | ) | const [inline] |
const ArrayOfIndex& AgRecord::Out | ( | ) | const [inline] |
Definition at line 65 of file agenda_record.h.
References moutput.
Referenced by abs_scalar_gas_agendaExecute(), doit_conv_test_agendaExecute(), doit_mono_agendaExecute(), doit_rte_agendaExecute(), doit_scat_field_agendaExecute(), emission_agendaExecute(), iy_cloudbox_agendaExecute(), iy_space_agendaExecute(), jacobian_agendaExecute(), jacobian_y_agendaExecute(), main(), met_profile_calc_agendaExecute(), operator<<(), opt_prop_gas_agendaExecute(), opt_prop_part_agendaExecute(), pha_mat_spt_agendaExecute(), ppath_step_agendaExecute(), refr_index_agendaExecute(), rte_agendaExecute(), Agenda::set_outputs_to_push_and_dup(), spt_calc_agendaExecute(), surface_prop_agendaExecute(), write_agenda_wrapper_header(), and ybatch_calc_agendaExecute().
const ArrayOfIndex& AgRecord::In | ( | ) | const [inline] |
Definition at line 66 of file agenda_record.h.
References minput.
Referenced by abs_scalar_gas_agendaExecute(), doit_conv_test_agendaExecute(), doit_mono_agendaExecute(), doit_rte_agendaExecute(), doit_scat_field_agendaExecute(), emission_agendaExecute(), forloop_agendaExecute(), iy_cloudbox_agendaExecute(), iy_space_agendaExecute(), jacobian_y_agendaExecute(), main(), met_profile_calc_agendaExecute(), operator<<(), opt_prop_gas_agendaExecute(), opt_prop_part_agendaExecute(), pha_mat_spt_agendaExecute(), ppath_step_agendaExecute(), refr_index_agendaExecute(), rte_agendaExecute(), Agenda::set_outputs_to_push_and_dup(), spt_calc_agendaExecute(), surface_prop_agendaExecute(), write_agenda_wrapper_header(), and ybatch_calc_agendaExecute().
Assignment operator.
To override the default assignment operator. AgRecords cannot be assigned!
Definition at line 71 of file agenda_record.h.
References AgRecord(), and arts_exit().
String AgRecord::mname [private] |
The name of this agenda.
Definition at line 79 of file agenda_record.h.
Referenced by AgRecord(), and Name().
String AgRecord::mdescription [private] |
A text string describing this agenda.
Definition at line 82 of file agenda_record.h.
Referenced by Description().
ArrayOfIndex AgRecord::moutput [private] |
Workspace Output.
Definition at line 85 of file agenda_record.h.
Referenced by AgRecord(), and Out().
ArrayOfIndex AgRecord::minput [private] |