ARTS 2.5.11 (git: 6827797f)
Quantum::Number::LevelMatch Struct Reference

Struct that converts to bool automatically but allows checking both energy levels matching status. More...

#include <quantum_numbers.h>

Public Member Functions

constexpr operator bool () const noexcept
 Convert automatically to bool so exact matches are easy, non-explicit by design.
 

Public Attributes

bool upp {true}
 
bool low {true}
 

Detailed Description

Struct that converts to bool automatically but allows checking both energy levels matching status.

Definition at line 608 of file quantum_numbers.h.

Member Function Documentation

◆ operator bool()

constexpr Quantum::Number::LevelMatch::operator bool ( ) const
inlineconstexprnoexcept

Convert automatically to bool so exact matches are easy, non-explicit by design.

Definition at line 613 of file quantum_numbers.h.

Member Data Documentation

◆ low

bool Quantum::Number::LevelMatch::low {true}

Definition at line 610 of file quantum_numbers.h.

Referenced by Quantum::Number::ValueList::check_match().

◆ upp

bool Quantum::Number::LevelMatch::upp {true}

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