ARTS 2.5.11 (git: 6827797f)
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.
 
Index get_wsv_group_id (const String &name)
 Returns the id of the given group.
 
void get_wsv_group_ids (ArrayOfIndex &ids, String name)
 Returns list of ids of the given group names.
 
bool is_agenda_group_id (const Index group)
 Check if group is an agenda group.
 
String get_array_groups_as_string (bool basetype_is_group, bool return_basetype_only)
 Return string list of array types.
 

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 47 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 390 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 353 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 385 of file groups.cc.

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