ARTS
2.3.1285(git:92a29ea9-dirty)
|
Auxiliary header stuff related to workspace variable groups. More...
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... | |
bool | is_agenda_group_id (const Index group_id) |
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=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... | |
Auxiliary header stuff related to workspace variable groups.
Normally you should not need to edit this file.
Definition in file wsv_aux.h.
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 232 of file groups.cc.
References get_wsv_group_id(), i, 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_id | ) |
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().
ostream& operator<< | ( | ostream & | os, |
const WsvRecord & | wr | ||
) |
Output operator for WsvRecord.
This has to be here rather than with workspace.cc or workspace_aux.cc, because it uses agenda_data and AgendaMap.
os | Output stream. |
wr | Workspace variable record. |
Definition at line 229 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.