Go to the documentation of this file.
37 extern const std::map<String, Index>
MdMap;
40 ml.resize(methods.
nelem());
46 const map<String, Index>::const_iterator im =
MdMap.find(methods[i]);
47 if ( im ==
MdMap.end() )
50 os <<
"\"" << methods[i] <<
"\" is not a valid method. "
51 <<
"Try \"arts -m all\" to\n"
52 <<
"get a list of all ARTS methods.";
53 throw runtime_error( os.str() );
void MethodListDefine(ArrayOfIndex &ml, const String &, const ArrayOfString &methods)
Set up a method list.
This file contains the definition of Array.
std::map< String, Index > MdMap
The map associated with md_data.
The implementation for String, the ARTS string class.
INDEX Index
The type to use for all integer numbers and indices.
Index nelem() const
Number of elements.
This file contains the definition of String, the ARTS string class.
The global header file for ARTS.