ARTS
2.4.0(git:4fb77825)
|
Defines workspace variable groups. More...
Go to the source code of this file.
Namespaces | |
global_data | |
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) |
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... | |
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, bool return_basetype_only) |
Return string list of array types. More... | |
Variables | |
ArrayOfIndex | valid_keyword_groups |
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
Definition in file groups.cc.
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().
void define_wsv_group_map | ( | ) |
Definition at line 57 of file groups.cc.
References Array< base >::nelem(), global_data::wsv_group_names, and global_data::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:
Definition at line 77 of file groups.cc.
References define_valid_keyword_groups(), define_wsv_group_map(), and global_data::wsv_group_names.
Referenced by ARTS::init(), InteractiveWorkspace::initialize(), and main().
String get_array_groups_as_string | ( | bool | basetype_is_group, |
bool | return_basetype_only | ||
) |
Return string list of array types.
Definition at line 232 of file groups.cc.
References get_wsv_group_id(), Array< base >::nelem(), and global_data::wsv_group_names.
Referenced by define_md_data_raw().
Returns the id of the given group.
Definition at line 223 of file groups.cc.
References global_data::WsvGroupMap.
Referenced by define_valid_keyword_groups(), expand_md_data_raw_to_md_data(), get_array_groups_as_string(), get_wsv_group_ids(), is_agenda_group_id(), main(), MdRecord::MdRecord(), operator<<(), option_input(), option_methods(), ArtsParser::parse_agenda(), 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(), and WsvRecord::WsvRecord().
void get_wsv_group_ids | ( | ArrayOfIndex & | ids, |
String | name | ||
) |
Returns list of ids of the given group names.
Definition at line 186 of file groups.cc.
References get_wsv_group_id(), and my_basic_string< charT >::nelem().
Referenced by MdRecord::MdRecord().
bool is_agenda_group_id | ( | const Index | group | ) |
Check if group is an agenda group.
Definition at line 218 of file groups.cc.
References get_wsv_group_id().
Referenced by main(), write_method_header(), and write_method_header_documentation().
bool is_valid_keyword_group | ( | const Index | group | ) |
Definition at line 178 of file groups.cc.
References Array< base >::nelem(), and valid_keyword_groups.
ArrayOfIndex valid_keyword_groups |
Groups that can be used as keywords
Definition at line 45 of file groups.cc.
Referenced by define_valid_keyword_groups(), and is_valid_keyword_group().