MdRecord Class Reference

This class contains all information for one workspace method. More...

#include <methods.h>

List of all members.

Public Member Functions

 MdRecord ()
 Default constructor.
 MdRecord (const char name[], const char description[], const MakeArray< Index > &output, const MakeArray< Index > &input, const MakeArray< Index > &goutput, const MakeArray< Index > &ginput, const MakeArray< String > &keywords, const MakeArray< TokValType > &types)
 The only non-trivial constructor, which sets all the fields.
const StringName () const
const StringDescription () const
const ArrayOfIndexOutput () const
const ArrayOfIndexInput () const
const ArrayOfIndexGOutput () const
const ArrayOfIndexGInput () const
const Array< String > & Keywords () const
const Array< TokValType > & Types () const
ostream & PrintTemplate (ostream &os, bool show_description=true) const
 Print method template for the control file.
MdRecord operator= (const MdRecord &)
 To override the default assignment operator.

Private Attributes

String mname
 The name of this method.
String mdescription
 A text string describing this method.
ArrayOfIndex moutput
 Workspace Output.
ArrayOfIndex minput
 Workspace Input.
ArrayOfIndex mgoutput
 Generic Workspace Output.
ArrayOfIndex mginput
 Generic Workspace Input.
ArrayOfString mkeywords
 Keywords.
Array< TokValTypemtypes
 Types associated with keywords.


Detailed Description

This class contains all information for one workspace method.

Definition at line 35 of file methods.h.


Constructor & Destructor Documentation

MdRecord::MdRecord (  )  [inline]

Default constructor.

Definition at line 39 of file methods.h.

MdRecord::MdRecord ( const char  name[],
const char  description[],
const MakeArray< Index > &  output,
const MakeArray< Index > &  input,
const MakeArray< Index > &  goutput,
const MakeArray< Index > &  ginput,
const MakeArray< String > &  keywords,
const MakeArray< TokValType > &  types 
) [inline]

The only non-trivial constructor, which sets all the fields.

Definition at line 52 of file methods.h.


Member Function Documentation

const String& MdRecord::Name (  )  const [inline]

Definition at line 78 of file methods.h.

const String& MdRecord::Description (  )  const [inline]

Definition at line 79 of file methods.h.

const ArrayOfIndex& MdRecord::Output (  )  const [inline]

Definition at line 80 of file methods.h.

const ArrayOfIndex& MdRecord::Input (  )  const [inline]

Definition at line 81 of file methods.h.

const ArrayOfIndex& MdRecord::GOutput (  )  const [inline]

Definition at line 82 of file methods.h.

const ArrayOfIndex& MdRecord::GInput (  )  const [inline]

Definition at line 83 of file methods.h.

const Array<String>& MdRecord::Keywords (  )  const [inline]

Definition at line 84 of file methods.h.

const Array<TokValType>& MdRecord::Types (  )  const [inline]

Definition at line 85 of file methods.h.

ostream & MdRecord::PrintTemplate ( ostream &  os,
bool  show_description = true 
) const

Print method template for the control file.

This prints the method data exactly in the same way how it can be included in the control file. The description string is also printed as a comment, but this can be turned off by setting show_comment to false.

Parameters:
show_description Should the description string also be printed?

Definition at line 49 of file methods_aux.cc.

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

To override the default assignment operator.

MdRecords cannot be assigned!

Definition at line 98 of file methods.h.


Member Data Documentation

The name of this method.

Definition at line 105 of file methods.h.

A text string describing this method.

Definition at line 108 of file methods.h.

Workspace Output.

Definition at line 111 of file methods.h.

Workspace Input.

Definition at line 114 of file methods.h.

Generic Workspace Output.

Definition at line 117 of file methods.h.

Generic Workspace Input.

Definition at line 120 of file methods.h.

Keywords.

Definition at line 123 of file methods.h.

Types associated with keywords.

Definition at line 126 of file methods.h.


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

Generated on Wed Feb 4 08:17:33 2009 for ARTS by  doxygen 1.5.6