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