#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. | |
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, Index > | WsvGroupMap |
ArrayOfIndex | valid_keyword_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
Definition in file groups.cc.
void define_valid_keyword_groups | ( | ) |
Definition at line 47 of file groups.cc.
References get_wsv_group_id().
Referenced by define_wsv_group_names().
void define_wsv_group_map | ( | ) |
Definition at line 59 of file groups.cc.
References Array< base >::nelem(), and WsvGroupMap.
Referenced by 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.
Definition at line 80 of file groups.cc.
References define_valid_keyword_groups(), and define_wsv_group_map().
Referenced by main().
String get_array_groups_as_string | ( | ) |
Definition at line 201 of file groups.cc.
References Array< base >::nelem().
Referenced by define_md_data_raw().
Definition at line 192 of file groups.cc.
References WsvGroupMap.
Referenced by check_agenda_data(), define_valid_keyword_groups(), expand_md_data_raw_to_md_data(), get_wsv_group_ids(), main(), MdRecord::MdRecord(), operator<<(), option_input(), option_methods(), ArtsParser::parse_generic_input(), ArtsParser::parse_generic_output(), ArtsParser::read_name_or_value(), ArtsParser::set_gin_to_default(), MdRecord::subst_any_with_group(), MdRecord::subst_any_with_specific_group(), ArtsParser::tasklist_insert_set_delete(), write_method_header(), write_method_header_documentation(), and WsvRecord::WsvRecord().
void get_wsv_group_ids | ( | ArrayOfIndex & | ids, | |
String | name | |||
) |
Definition at line 154 of file groups.cc.
References get_wsv_group_id(), my_basic_string< charT >::nelem(), and WsvGroupMap.
Referenced by MdRecord::MdRecord().
bool is_valid_keyword_group | ( | const Index | group | ) |
The names associated with Wsv groups as Strings. See function define_wsv_group_names for more information.
Definition at line 40 of file groups.cc.
Referenced by define_md_map(), expand_md_data_raw_to_md_data(), Agenda::is_input(), main(), operator<<(), option_input(), option_methods(), option_workspacevariables(), ArtsParser::parse_generic_input(), ArtsParser::parse_generic_output(), ArtsParser::parse_specific_input(), ArtsParser::parse_specific_output(), MdRecord::PrintTemplate(), ArtsParser::read_name_or_value(), MdRecord::subst_any_with_group(), MdRecord::subst_any_with_specific_group(), ArtsParser::tasklist_insert_set_delete(), write_agenda_wrapper_header(), and write_method_header().
map<String, Index> WsvGroupMap |
Definition at line 41 of file groups.cc.
Referenced by define_wsv_group_map(), get_wsv_group_id(), and get_wsv_group_ids().