ARTS 2.5.9 (git: 825fa5f2)
energylevelmap.h File Reference

Class to map energy levels. More...

#include "absorptionlines.h"
#include "matpackIV.h"
#include "mystring.h"
#include "quantum_numbers.h"

Go to the source code of this file.

Classes

struct  Output2
 
struct  Output4
 
struct  EnergyLevelMap
 

Enumerations

enum class  EnergyLevelMapType {
  Tensor3_t , Vector_t , Numeric_t , None_t ,
  Final_t
}
 

Functions

constexpr EnergyLevelMapType toEnergyLevelMapType (std::string_view s) noexcept
 
EnergyLevelMapType toEnergyLevelMapTypeOrThrow (std::string_view s)
 
constexpr std::string_view toString (EnergyLevelMapType x) noexcept
 
std::ostream & operator<< (std::ostream &os, EnergyLevelMapType x)
 

Detailed Description

Class to map energy levels.

Author
Richard Larsson
Date
2019-10-28

Definition in file energylevelmap.h.

Enumeration Type Documentation

◆ EnergyLevelMapType

enum class EnergyLevelMapType
strong
Enumerator
Tensor3_t 
Vector_t 
Numeric_t 
None_t 
Final_t 

Definition at line 49 of file energylevelmap.h.

Function Documentation

◆ operator<<()

std::ostream & operator<< ( std::ostream &  os,
EnergyLevelMapType  x 
)

Definition at line 217 of file energylevelmap.cc.

References toString().

◆ toEnergyLevelMapType()

constexpr EnergyLevelMapType toEnergyLevelMapType ( std::string_view  s)
constexprnoexcept

Definition at line 57 of file energylevelmap.h.

References Final_t, None_t, Numeric_t, Tensor3_t, and Vector_t.

Referenced by toEnergyLevelMapTypeOrThrow().

◆ toEnergyLevelMapTypeOrThrow()

EnergyLevelMapType toEnergyLevelMapTypeOrThrow ( std::string_view  s)

Definition at line 206 of file energylevelmap.cc.

References ARTS_USER_ERROR_IF, Final_t, and toEnergyLevelMapType().

Referenced by xml_read_from_stream().

◆ toString()