ARTS 2.5.11 (git: 6827797f)
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.
 

Detailed Description

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

Intended to be returned from IO operations

Definition at line 382 of file quantum_numbers.h.

Constructor & Destructor Documentation

◆ ValueDescription() [1/3]

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

Definition at line 386 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

◆ val

ValueHolder Quantum::Number::ValueDescription::val

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