ARTS  2.4.0(git:4fb77825)
QuantumFieldDescription Class Reference

Class mapping quantum numbers to parsing functions. More...

#include <quantum_parser.h>

Public Member Functions

 QuantumFieldDescription ()
 
 QuantumFieldDescription (QuantumNumberType quantum_id, QuantumParseFunction qpfunc)
 
void Parse (QuantumNumbers &qnr, String &s, const Index species) const
 

Private Attributes

QuantumNumberType mquantum_id
 
QuantumParseFunction mqpfunc
 

Detailed Description

Class mapping quantum numbers to parsing functions.

Definition at line 36 of file quantum_parser.h.

Constructor & Destructor Documentation

◆ QuantumFieldDescription() [1/2]

QuantumFieldDescription::QuantumFieldDescription ( )
inline

Definition at line 38 of file quantum_parser.h.

◆ QuantumFieldDescription() [2/2]

QuantumFieldDescription::QuantumFieldDescription ( QuantumNumberType  quantum_id,
QuantumParseFunction  qpfunc 
)
inline

Definition at line 40 of file quantum_parser.h.

Member Function Documentation

◆ Parse()

void QuantumFieldDescription::Parse ( QuantumNumbers qnr,
String s,
const Index  species 
) const
inline

Definition at line 44 of file quantum_parser.h.

References Rational::isUndefined(), mqpfunc, mquantum_id, and QuantumNumbers::Set().

Member Data Documentation

◆ mqpfunc

QuantumParseFunction QuantumFieldDescription::mqpfunc
private

Definition at line 52 of file quantum_parser.h.

Referenced by Parse().

◆ mquantum_id

QuantumNumberType QuantumFieldDescription::mquantum_id
private

Definition at line 51 of file quantum_parser.h.

Referenced by Parse().


The documentation for this class was generated from the following file: