ARTS 2.5.4 (git: 31ce4f0e)
Quantum::Number::ValueDescription Struct Reference

A complete description of a value, its type and value. More...

#include <quantum_numbers.h>

Public Member Functions

constexpr ValueDescription (ValueType t) noexcept
 
constexpr ValueDescription (const ValueDescription &)=default
 
constexpr ValueDescription (ValueDescription &&) noexcept=default
 
constexpr ValueDescriptionoperator= (const ValueDescription &)=default
 
constexpr ValueDescriptionoperator= (ValueDescription &&) noexcept=default
 

Public Attributes

ValueType type
 
ValueHolder val
 

Friends

std::ostream & operator<< (std::ostream &os, ValueDescription x)
 Debug output only. More...
 

Detailed Description

A complete description of a value, its type and value.

Intended to be returned from IO operations

Definition at line 369 of file quantum_numbers.h.

Constructor & Destructor Documentation

◆ ValueDescription() [1/3]

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

Definition at line 373 of file quantum_numbers.h.

◆ ValueDescription() [2/3]

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

◆ ValueDescription() [3/3]

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

Member Function Documentation

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

Friends And Related Function Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream &  os,
ValueDescription  x 
)
friend

Debug output only.

Definition at line 11 of file quantum_numbers.cc.

Member Data Documentation

◆ type

ValueType Quantum::Number::ValueDescription::type

Definition at line 370 of file quantum_numbers.h.

◆ val

ValueHolder Quantum::Number::ValueDescription::val

Definition at line 371 of file quantum_numbers.h.

Referenced by Quantum::Number::value_holder().


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