ARTS  2.2.66
wsv_aux.h File Reference

Auxiliary header stuff related to workspace variable groups. More...

#include "arts.h"
#include "array.h"
#include "exceptions.h"
Include dependency graph for wsv_aux.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

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

Functions

void get_wsv_group_ids (ArrayOfIndex &ids, String name)
 Returns list of ids of the given group names. More...
 
Index get_wsv_group_id (const String &name)
 Returns the id of the given group. More...
 
String get_array_groups_as_string (bool basetype_is_group=false, bool return_basetype_only=false)
 Return string list of array types. More...
 
ostream & operator<< (ostream &os, const WsvRecord &wr)
 Output operator for WsvRecord. More...
 

Detailed Description

Auxiliary header stuff related to workspace variable groups.

Normally you should not need to edit this file.

Author
Stefan Buehler
Date
2000-06-10

Definition in file wsv_aux.h.

Function Documentation

◆ get_array_groups_as_string()

String get_array_groups_as_string ( bool  basetype_is_group = false,
bool  return_basetype_only = false 
)

Return string list of array types.

Definition at line 215 of file groups.cc.

References get_wsv_group_id(), Array< base >::nelem(), and global_data::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 
)

Returns list of ids of the given group names.

Definition at line 168 of file groups.cc.

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

Referenced by MdRecord::MdRecord().

◆ operator<<()

ostream& operator<< ( ostream &  os,
const WsvRecord wr 
)

Output operator for WsvRecord.

Author
Stefan Buehler

This has to be here rather than with workspace.cc or workspace_aux.cc, because it uses agenda_data and AgendaMap.

Parameters
osOutput stream.
wrWorkspace variable record.
Returns
Output stream.

Definition at line 238 of file agenda_record.cc.

References global_data::agenda_data, global_data::AgendaMap, WsvRecord::Description(), get_wsv_group_id(), WsvRecord::Group(), WsvRecord::Name(), and global_data::wsv_group_names.