ARTS  2.0.49
groups.cc File Reference

Defines workspace variable groups. More...

#include <map>
#include "arts.h"
#include "array.h"
#include "mystring.h"
#include "wsv_aux.h"

Go to the source code of this file.

Functions

void define_valid_keyword_groups ()
 
void define_wsv_group_map ()
 
void define_wsv_group_names ()
 Define the array of workspace variable group names. More...
 
bool is_valid_keyword_group (const Index group)
 
void get_wsv_group_ids (ArrayOfIndex &ids, String name)
 
Index get_wsv_group_id (const String &name)
 
String get_array_groups_as_string ()
 

Variables

ArrayOfString wsv_group_names
 
map< String, IndexWsvGroupMap
 
ArrayOfIndex valid_keyword_groups
 

Detailed Description

Defines workspace variable groups.

If you want to add new workspace variable groups you have to do it in this file. This is used by the program make_wsv_group_h to generate the header file wsv_group.h

Author
Stefan Buehler
Date
2000-08-04

Definition in file groups.cc.

Function Documentation

◆ define_valid_keyword_groups()

void define_valid_keyword_groups ( )

Definition at line 47 of file groups.cc.

References get_wsv_group_id(), and valid_keyword_groups.

Referenced by define_wsv_group_names().

◆ define_wsv_group_map()

void define_wsv_group_map ( )

Definition at line 59 of file groups.cc.

References Array< base >::nelem(), wsv_group_names, and WsvGroupMap.

Referenced by define_wsv_group_names().

◆ define_wsv_group_names()

void define_wsv_group_names ( )

Define the array of workspace variable group names.

This defines the global variable wsv_group_names. It is used in two different programs:

  1. In arts.
  2. In make_wsv_group_h.
Author
Stefan Buehler
Date
2000-08-04

Definition at line 80 of file groups.cc.

References define_valid_keyword_groups(), define_wsv_group_map(), and wsv_group_names.

Referenced by main().

◆ get_array_groups_as_string()

String get_array_groups_as_string ( )

Definition at line 201 of file groups.cc.

References Array< base >::nelem(), and wsv_group_names.

Referenced by define_md_data_raw().

◆ get_wsv_group_id()

◆ get_wsv_group_ids()

void get_wsv_group_ids ( ArrayOfIndex ids,
String  name 
)

Definition at line 155 of file groups.cc.

References get_wsv_group_id(), and my_basic_string< charT >::nelem().

Referenced by MdRecord::MdRecord().

◆ is_valid_keyword_group()

bool is_valid_keyword_group ( const Index  group)

Definition at line 144 of file groups.cc.

References Array< base >::nelem(), and valid_keyword_groups.

Variable Documentation

◆ valid_keyword_groups

ArrayOfIndex valid_keyword_groups

Groups that can be used as keywords

Definition at line 44 of file groups.cc.

Referenced by define_valid_keyword_groups(), and is_valid_keyword_group().

◆ wsv_group_names

◆ WsvGroupMap

map<String, Index> WsvGroupMap

Definition at line 41 of file groups.cc.

Referenced by define_wsv_group_map(), and get_wsv_group_id().