ARTS 2.5.4 (git: 31ce4f0e)
Quantum::Number::ValueHolder Union Reference

A union of the three type of values we need to consider. More...

#include <quantum_numbers.h>

Public Member Functions

constexpr ValueHolder (ValueType t) noexcept
 
constexpr ValueHolder (Type t) noexcept
 
constexpr ValueHolder (const ValueHolder &)=default
 
constexpr ValueHolder (ValueHolder &&) noexcept=default
 
constexpr ValueHolderoperator= (const ValueHolder &)=default
 
constexpr ValueHolderoperator= (ValueHolder &&) noexcept=default
 

Public Attributes

StringValue s
 
IntegerValue i
 
HalfIntegerValue h
 

Detailed Description

A union of the three type of values we need to consider.

Definition at line 340 of file quantum_numbers.h.

Constructor & Destructor Documentation

◆ ValueHolder() [1/4]

constexpr Quantum::Number::ValueHolder::ValueHolder ( ValueType  t)
inlineconstexprnoexcept

Definition at line 345 of file quantum_numbers.h.

◆ ValueHolder() [2/4]

constexpr Quantum::Number::ValueHolder::ValueHolder ( Type  t)
inlineconstexprnoexcept

Definition at line 358 of file quantum_numbers.h.

◆ ValueHolder() [3/4]

constexpr Quantum::Number::ValueHolder::ValueHolder ( const ValueHolder )
constexprdefault

◆ ValueHolder() [4/4]

constexpr Quantum::Number::ValueHolder::ValueHolder ( ValueHolder &&  )
constexprdefaultnoexcept

Member Function Documentation

◆ operator=() [1/2]

constexpr ValueHolder & Quantum::Number::ValueHolder::operator= ( const ValueHolder )
constexprdefault

◆ operator=() [2/2]

constexpr ValueHolder & Quantum::Number::ValueHolder::operator= ( ValueHolder &&  )
constexprdefaultnoexcept

Member Data Documentation

◆ h

◆ i

◆ s


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