46 bool return_basetype_only =
false);
71 const char description[],
73 const bool implicit =
false)
83 os <<
"Unknown WSV Group " << group <<
" WSV " <<
mname;
84 throw runtime_error(os.
str());
92 const char description[],
94 const bool implicit =
false)
INDEX Index
The type to use for all integer numbers and indices.
bool Implicit() const
Returns true if the variable was automatically created.
Index get_wsv_group_id(const String &name)
Returns the id of the given group.
WsvRecord()
Default constructor.
Index Group() const
The wsv group to which this variable belongs.
void get_wsv_group_ids(ArrayOfIndex &ids, String name)
Returns list of ids of the given group names.
const String & Name() const
Name of this workspace variable.
This file contains the definition of Array.
The global header file for ARTS.
_CS_string_type str() const
WsvRecord(const char name[], const char description[], const Index group, const bool implicit=false)
Initializing constructor.
const String & Description() const
A text describing this workspace variable.
The declarations of all the exception classes.
This can be used to make arrays out of anything.
WsvRecord(const char name[], const char description[], const String &group, const bool implicit=false)
Initializing constructor.
ostream & operator<<(ostream &os, const WsvRecord &wr)
Output operator for WsvRecord.
bool is_agenda_group_id(const Index group_id)
Check if group is an agenda group.
This class contains all static information for one workspace variable.
String get_array_groups_as_string(bool basetype_is_group=false, bool return_basetype_only=false)
Return string list of array types.