ARTS 2.5.11 (git: 6827797f)
energylevelmap.h File Reference

Class to map energy levels. More...

#include "absorptionlines.h"
#include "matpack_data.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 31 of file energylevelmap.h.

Function Documentation

◆ operator<<()

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

Definition at line 199 of file energylevelmap.cc.

References toString().

◆ toEnergyLevelMapType()

constexpr EnergyLevelMapType toEnergyLevelMapType ( std::string_view  s)
constexprnoexcept

Definition at line 39 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 188 of file energylevelmap.cc.

References ARTS_USER_ERROR_IF, Final_t, and toEnergyLevelMapType().

Referenced by xml_read_from_stream().

◆ toString()