ARTS 2.5.11 (git: 725533f0)
|
Lookup information for one agenda. More...
#include <agenda_record.h>
Public Member Functions | |
AgRecord () | |
Default constructor. | |
AgRecord (const char *name, const char *description, const ArrayOfString &output, const ArrayOfString &input) | |
The only non-trivial constructor for AgRecord, which sets all the fields. | |
AgRecord (const AgRecord &)=default | |
AgRecord & | operator= (const AgRecord &)=default |
const String & | Name () const |
const String & | Description () const |
const ArrayOfIndex & | Out () const |
const ArrayOfIndex & | In () const |
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. | |
Friends | |
ostream & | operator<< (ostream &os, const AgRecord &agr) |
Output operator for AgRecord. | |
Lookup information for one agenda.
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 26 of file agenda_record.h.
|
inline |
Default constructor.
Definition at line 29 of file agenda_record.h.
AgRecord::AgRecord | ( | const char * | name, |
const char * | description, | ||
const ArrayOfString & | output, | ||
const ArrayOfString & | 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. |
Overwrite description in wsv data with agenda data
Definition at line 39 of file agenda_record.cc.
References ARTS_USER_ERROR_IF, mdescription, minput, mname, moutput, Array< base >::nelem(), global_data::wsv_data, and global_data::WsvMap.
|
default |
|
inline |
Definition at line 43 of file agenda_record.h.
References mdescription.
|
inline |
Definition at line 45 of file agenda_record.h.
References minput.
Referenced by Agenda::check(), dobatch_calc_agendaExecute(), doit_conv_test_agendaExecute(), doit_mono_agendaExecute(), doit_rte_agendaExecute(), doit_scat_field_agendaExecute(), forloop_agendaExecute(), g0_agendaExecute(), gas_scattering_agendaExecute(), Agenda::get_global_inout(), inversion_iterate_agendaExecute(), iy_cloudbox_agendaExecute(), iy_independent_beam_approx_agendaExecute(), iy_loop_freqs_agendaExecute(), iy_main_agendaExecute(), iy_radar_agendaExecute(), iy_space_agendaExecute(), iy_surface_agendaExecute(), jacobian_agendaExecute(), main(), met_profile_calc_agendaExecute(), pha_mat_spt_agendaExecute(), pnd_agenda_arrayExecute(), ppath_agendaExecute(), ppath_step_agendaExecute(), propmat_clearsky_agendaExecute(), refr_index_air_agendaExecute(), sensor_response_agendaExecute(), spt_calc_agendaExecute(), surface_rtprop_agenda_arrayExecute(), surface_rtprop_agendaExecute(), test_agenda_arrayExecute(), water_p_eq_agendaExecute(), write_agenda_wrapper_header(), and ybatch_calc_agendaExecute().
|
inline |
Definition at line 42 of file agenda_record.h.
References mname.
Referenced by main(), and write_agenda_wrapper_header().
|
inline |
Definition at line 44 of file agenda_record.h.
References moutput.
Referenced by Agenda::check(), dobatch_calc_agendaExecute(), doit_conv_test_agendaExecute(), doit_mono_agendaExecute(), doit_rte_agendaExecute(), doit_scat_field_agendaExecute(), g0_agendaExecute(), gas_scattering_agendaExecute(), Agenda::get_global_inout(), inversion_iterate_agendaExecute(), iy_cloudbox_agendaExecute(), iy_independent_beam_approx_agendaExecute(), iy_loop_freqs_agendaExecute(), iy_main_agendaExecute(), iy_radar_agendaExecute(), iy_space_agendaExecute(), iy_surface_agendaExecute(), jacobian_agendaExecute(), main(), met_profile_calc_agendaExecute(), pha_mat_spt_agendaExecute(), pnd_agenda_arrayExecute(), ppath_agendaExecute(), ppath_step_agendaExecute(), propmat_clearsky_agendaExecute(), refr_index_air_agendaExecute(), sensor_response_agendaExecute(), spt_calc_agendaExecute(), surface_rtprop_agenda_arrayExecute(), surface_rtprop_agendaExecute(), water_p_eq_agendaExecute(), write_agenda_wrapper_header(), and ybatch_calc_agendaExecute().
|
friend |
Output operator for AgRecord.
os | Output stream. |
agr | Agenda record. |
Definition at line 182 of file agenda_record.cc.
|
private |
A text string describing this agenda.
Definition at line 54 of file agenda_record.h.
Referenced by AgRecord(), and Description().
|
private |
|
private |
The name of this agenda.
Definition at line 51 of file agenda_record.h.
Referenced by AgRecord(), and Name().
|
private |
Workspace Output.
Definition at line 57 of file agenda_record.h.
Referenced by AgRecord(), and Out().