AgRecord Class Reference

Lookup information for one agenda. More...

#include <agenda_record.h>

Collaboration diagram for AgRecord:

Collaboration graph
[legend]

List of all members.

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 StringName () const
const StringDescription () const
const ArrayOfIndexOut () const
const ArrayOfIndexIn () 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.


Detailed Description

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.


Constructor & Destructor Documentation

AgRecord::AgRecord (  )  [inline]

Default constructor.

Definition at line 48 of file agenda_record.h.

Referenced by operator=().

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.

Parameters:
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.


Member Function Documentation

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]

Definition at line 64 of file agenda_record.h.

References mdescription.

Referenced by operator<<().

const ArrayOfIndex& AgRecord::Out (  )  const [inline]

const ArrayOfIndex& AgRecord::In (  )  const [inline]

AgRecord AgRecord::operator= ( const AgRecord  )  [inline]

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().


Member Data Documentation

The name of this agenda.

Definition at line 79 of file agenda_record.h.

Referenced by AgRecord(), and Name().

A text string describing this agenda.

Definition at line 82 of file agenda_record.h.

Referenced by Description().

Workspace Output.

Definition at line 85 of file agenda_record.h.

Referenced by AgRecord(), and Out().

Workspace Input.

Definition at line 88 of file agenda_record.h.

Referenced by AgRecord(), and In().


The documentation for this class was generated from the following files:

Generated on Mon Mar 23 14:06:56 2009 for ARTS by  doxygen 1.5.6