ARTS 2.5.4 (git: 31ce4f0e)
groups.cc File Reference

Defines workspace variable groups. More...

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

Go to the source code of this file.

Namespaces

namespace  global_data
 

Functions

void define_wsv_group_map ()
 
void define_wsv_groups ()
 Define the array of workspace variable group names. More...
 
Index get_wsv_group_id (const String &name)
 Returns the id of the given group. More...
 
void get_wsv_group_ids (ArrayOfIndex &ids, String name)
 Returns list of ids of the given group names. More...
 
bool is_agenda_group_id (const Index group)
 Check if group is an agenda group. More...
 
String get_array_groups_as_string (bool basetype_is_group, bool return_basetype_only)
 Return string list of array types. More...
 

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

void define_wsv_group_map ( )

◆ define_wsv_groups()

void define_wsv_groups ( )

Define the array of workspace variable group names.

This defines the global variable wsv_groups. 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 66 of file groups.cc.

References global_data::wsv_groups.

Referenced by main().

◆ get_array_groups_as_string()

String get_array_groups_as_string ( bool  basetype_is_group,
bool  return_basetype_only 
)

Return string list of array types.

Definition at line 404 of file groups.cc.

Referenced by define_md_data_raw().

◆ get_wsv_group_id()

◆ get_wsv_group_ids()

void get_wsv_group_ids ( ArrayOfIndex ids,
String  name 
)

Returns list of ids of the given group names.

Definition at line 367 of file groups.cc.

Referenced by MdRecord::MdRecord().

◆ is_agenda_group_id()

bool is_agenda_group_id ( const Index  group)

Check if group is an agenda group.

Definition at line 399 of file groups.cc.

Referenced by main(), write_method_header(), and write_method_header_documentation().