51 valid_keyword_groups.resize(0);
159 for (
Index i = 0; i < valid_keyword_groups.
nelem(); i++)
161 if (valid_keyword_groups[i] == group)
173 while (pos < name.
nelem())
190 while (pos < name.
nelem())
192 while (pos < name.
nelem() && name[pos] !=
',') pos ++;
208 map<String, Index>::const_iterator it =
WsvGroupMap.find (name);
229 if (return_basetype_only)
235 if (!first) arraygroups +=
", ";
else first =
false;
236 arraygroups += basetype;
241 if (!basetype_is_group || (basetype_is_group && basetype_exists))
243 if (!first) arraygroups +=
", ";
else first =
false;
Index get_wsv_group_id(const String &name)
Returns the id of the given group.
INDEX Index
The type to use for all integer numbers and indices.
Index nelem() const
Number of elements.
String get_array_groups_as_string(bool basetype_is_group, bool return_basetype_only)
Return string list of array types.
This file contains the definition of Array.
The implementation for String, the ARTS string class.
The global header file for ARTS.
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.
void define_wsv_group_names()
Define the array of workspace variable group names.
void define_valid_keyword_groups()
void define_wsv_group_map()
Index nelem() const
Number of elements.
This can be used to make arrays out of anything.
const ArrayOfString wsv_group_names
The names associated with Wsv groups as Strings.
ArrayOfIndex valid_keyword_groups
const map< String, Index > WsvGroupMap
The map associated with wsv_group_names.
my_basic_string< char > String
The String type for ARTS.
This file contains the definition of String, the ARTS string class.
Auxiliary header stuff related to workspace variable groups.