ARTS 2.5.11 (git: 725533f0)
|
A logical struct for local quantum numbers. More...
#include <quantum_numbers.h>
Public Member Functions | |
std::strong_ordering | operator<=> (const LocalState &l) const |
auto | operator== (const LocalState &l) const |
auto | operator!= (const LocalState &l) const |
LocalState ()=default | |
template<typename... Values> | |
LocalState (Values... vals) | |
void | set_unsorted_qns (const Array< Type > &vals) |
String | keys () const |
String | values () const |
bool | same_types_as (const LocalState &that) const |
bool | good () const |
Test if there are bad quantum numbers (undefined ones) | |
Public Attributes | |
ValueList | val {} |
Friends | |
std::ostream & | operator<< (std::ostream &os, const LocalState &vl) |
ouptut stream if all values | |
std::istream & | operator>> (std::istream &is, LocalState &vl) |
input stream must have pre-set size | |
A logical struct for local quantum numbers.
Definition at line 1010 of file quantum_numbers.h.
|
default |
|
inline |
Definition at line 1022 of file quantum_numbers.h.
bool Quantum::Number::LocalState::good | ( | ) | const |
Test if there are bad quantum numbers (undefined ones)
Definition at line 1142 of file quantum_numbers.cc.
String Quantum::Number::LocalState::keys | ( | ) | const |
Definition at line 374 of file quantum_numbers.cc.
References val.
|
inline |
Definition at line 1017 of file quantum_numbers.h.
|
inline |
Definition at line 1013 of file quantum_numbers.h.
References val.
|
inline |
Definition at line 1016 of file quantum_numbers.h.
bool Quantum::Number::LocalState::same_types_as | ( | const LocalState & | that | ) | const |
Definition at line 999 of file quantum_numbers.cc.
References a, b, Quantum::Number::ValueList::begin(), Quantum::Number::ValueList::end(), and val.
void Quantum::Number::LocalState::set_unsorted_qns | ( | const Array< Type > & | vals | ) |
Definition at line 1050 of file quantum_numbers.cc.
References Quantum::Number::ValueList::add_type_wo_sort(), and val.
Referenced by xml_read_from_stream().
String Quantum::Number::LocalState::values | ( | ) | const |
Definition at line 386 of file quantum_numbers.cc.
References val.
|
friend |
ouptut stream if all values
Definition at line 982 of file quantum_numbers.cc.
|
friend |
input stream must have pre-set size
Definition at line 986 of file quantum_numbers.cc.
ValueList Quantum::Number::LocalState::val {} |
Definition at line 1011 of file quantum_numbers.h.
Referenced by keys(), operator<=>(), Quantum::Number::GlobalState::part_of(), Absorption::SingleLine::read(), ReadArrayOfARTSCAT(), ReadARTSCAT(), ReadHITRAN(), same_types_as(), set_unsorted_qns(), Absorption::SingleLine::SetAutomaticZeeman(), Absorption::split_list_of_external_lines(), Quantum::Number::StateMatch::StateMatch(), values(), and Absorption::SingleLine::write().