ARTS 2.5.4 (git: 31ce4f0e)
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. More...
 

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 578 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 583 of file quantum_numbers.h.

Member Data Documentation

◆ low

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

Definition at line 580 of file quantum_numbers.h.

Referenced by Quantum::Number::ValueList::operator==().

◆ upp

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

Definition at line 579 of file quantum_numbers.h.

Referenced by Quantum::Number::ValueList::operator==().


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