25 #ifndef quantum_parser_h 26 #define quantum_parser_h INDEX Index
The type to use for all integer numbers and indices.
QuantumNumberType mquantum_id
void(* QuantumParseFunction)(Rational &qn, String &s, const Index species)
Function pointer type for quantum number parsing routines.
QuantumFieldDescription()
QuantumNumberType
Enum for Quantum Numbers used for indexing.
Implements rational numbers to work with other ARTS types.
void Parse(QuantumNumbers &qnr, String &s, const Index species) const
void Set(Index qn, Rational r)
Set quantum number at position.
Container class for Quantum Numbers.
constexpr bool isUndefined() const
Is the object not defined.
QuantumFieldDescription(QuantumNumberType quantum_id, QuantumParseFunction qpfunc)
QuantumParseFunction mqpfunc
Class mapping quantum numbers to parsing functions.