ARTS  2.2.66
workspace.cc File Reference

Definition of function wsv_data. More...

#include "arts.h"
#include "matpackI.h"
#include "matpackII.h"
#include "matpackIII.h"
#include "matpackVI.h"
#include "array.h"
#include "wsv_aux.h"
#include "ppath.h"
#include "workspace_ng.h"
Include dependency graph for workspace.cc:

Go to the source code of this file.

Macros

#define NAME(x)   x
 
#define DESCRIPTION(x)   x
 
#define GROUP(x)   x
 

Functions

Index get_wsv_id (const String &name)
 Get index of WSV. More...
 
Index get_wsv_id (const char *name)
 Get index of WSV. More...
 

Detailed Description

Definition of function wsv_data.

This file contains the function define_wsv_data, which sets the WSV group names and the lookup data for the WSVs. You have to edit this function whenever you add a new workspace variable.

Author
Stefan Buehler
Date
2000-06-10

Definition in file workspace.cc.

Macro Definition Documentation

◆ DESCRIPTION

#define DESCRIPTION (   x)    x

Definition at line 46 of file workspace.cc.

Referenced by Workspace::define_wsv_data().

◆ GROUP

#define GROUP (   x)    x

Definition at line 47 of file workspace.cc.

Referenced by Workspace::define_wsv_data().

◆ NAME

#define NAME (   x)    x

Definition at line 45 of file workspace.cc.

Referenced by Workspace::define_wsv_data().

Function Documentation

◆ get_wsv_id() [1/2]

Index get_wsv_id ( const String name)

Get index of WSV.

Returns the index the Workspace of the given WSV.

Parameters
[in]nameWSV name
Returns
Index in Workspace
Author
Oliver Lemke

Definition at line 4998 of file workspace.cc.

References Workspace::WsvMap.

Referenced by AgRecord::AgRecord(), Arts2(), Agenda::execute(), get_wsv_id(), main(), and MdRecord::MdRecord().

◆ get_wsv_id() [2/2]

Index get_wsv_id ( const char *  name)

Get index of WSV.

Returns the index the Workspace of the given WSV.

Convenience function which can be called from within the debugger because it takes a plain char pointer instead of a String object as input.

Parameters
[in]nameWSV name
Returns
Index in Workspace
Author
Oliver Lemke

Definition at line 5020 of file workspace.cc.

References get_wsv_id().