WsvRecord Class Reference

This class contains all static information for one workspace variable. More...

#include <wsv_aux.h>

Collaboration diagram for WsvRecord:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 WsvRecord ()
 Default constructor.
 WsvRecord (const char name[], const char description[], const String group, const bool implicit=false)
 Initializing constructor.
 WsvRecord (const char name[], const char description[], const Index group, const bool implicit=false)
 Initializing constructor.
const StringName () const
 Name of this workspace variable.
const StringDescription () const
 A text describing this workspace variable.
Index Group () const
 The wsv group to which this variable belongs.
bool Implicit () const
 Returns true if the variable was automatically created.

Private Attributes

String mname
String mdescription
Index mgroup
bool mimplicit


Detailed Description

This class contains all static information for one workspace variable.

The program make_wsv_h.cc uses these records to generate the file wsv.h, which contains both the declaration of the wsv handles and the declaration of the workspace itself.

Author:
Stefan Buehler

Definition at line 49 of file wsv_aux.h.


Constructor & Destructor Documentation

WsvRecord::WsvRecord (  )  [inline]

Default constructor.

Definition at line 53 of file wsv_aux.h.

WsvRecord::WsvRecord ( const char  name[],
const char  description[],
const String  group,
const bool  implicit = false 
) [inline]

Initializing constructor.

This is used by Workspace::define_wsv_data() to set the information for each workspace variable.

Definition at line 63 of file wsv_aux.h.

References get_wsv_group_id(), mgroup, and mname.

WsvRecord::WsvRecord ( const char  name[],
const char  description[],
const Index  group,
const bool  implicit = false 
) [inline]

Initializing constructor.

This is used by the parser to create automatically allocated variables

Definition at line 86 of file wsv_aux.h.


Member Function Documentation

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

Name of this workspace variable.

Definition at line 98 of file wsv_aux.h.

References mname.

Referenced by operator<<().

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

A text describing this workspace variable.

Definition at line 100 of file wsv_aux.h.

References mdescription.

Referenced by operator<<().

Index WsvRecord::Group (  )  const [inline]

The wsv group to which this variable belongs.

Definition at line 102 of file wsv_aux.h.

References mgroup.

Referenced by operator<<().

bool WsvRecord::Implicit (  )  const [inline]

Returns true if the variable was automatically created.

Definition at line 104 of file wsv_aux.h.

References mimplicit.


Member Data Documentation

Definition at line 106 of file wsv_aux.h.

Referenced by Name(), and WsvRecord().

Definition at line 107 of file wsv_aux.h.

Referenced by Description().

Definition at line 108 of file wsv_aux.h.

Referenced by Group(), and WsvRecord().

bool WsvRecord::mimplicit [private]

Definition at line 109 of file wsv_aux.h.

Referenced by Implicit().


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

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