ARTS
2.2.66
|
Lookup information for one agenda. More...
#include <agenda_record.h>
Public Member Functions | |
AgRecord () | |
Default constructor. More... | |
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. More... | |
const String & | Name () const |
const String & | Description () const |
const ArrayOfIndex & | Out () const |
const ArrayOfIndex & | In () const |
AgRecord | operator= (const AgRecord &) |
Assignment operator. More... | |
Private Attributes | |
String | mname |
The name of this agenda. More... | |
String | mdescription |
A text string describing this agenda. More... | |
ArrayOfIndex | moutput |
Workspace Output. More... | |
ArrayOfIndex | minput |
Workspace Input. More... | |
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 44 of file agenda_record.h.
|
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 52 of file agenda_record.cc.
References get_wsv_id(), minput, mname, moutput, Array< base >::nelem(), and Workspace::WsvMap.
|
inline |
|
inline |
Definition at line 65 of file agenda_record.h.
References minput.
Referenced by Agenda::check(), main(), operator<<(), Agenda::set_outputs_to_push_and_dup(), and write_agenda_wrapper_header().
|
inline |
Definition at line 62 of file agenda_record.h.
References mname.
Referenced by check_agenda_data(), operator<<(), and write_agenda_wrapper_header().
Assignment operator.
To override the default assignment operator. AgRecords cannot be assigned!
Definition at line 70 of file agenda_record.h.
References AgRecord(), and arts_exit().
|
inline |
Definition at line 64 of file agenda_record.h.
References moutput.
Referenced by Agenda::check(), main(), operator<<(), Agenda::set_outputs_to_push_and_dup(), and write_agenda_wrapper_header().
|
private |
A text string describing this agenda.
Definition at line 83 of file agenda_record.h.
Referenced by Description().
|
private |
|
private |
The name of this agenda.
Definition at line 80 of file agenda_record.h.
Referenced by AgRecord(), and Name().
|
private |
Workspace Output.
Definition at line 86 of file agenda_record.h.
Referenced by AgRecord(), and Out().