ARTS 2.5.11 (git: 6827797f)
Species::IsotopologueRatios Struct Reference

#include <isotopologues.h>

Public Member Functions

constexpr IsotopologueRatios () noexcept
 
constexpr Numeric operator[] (const Index spec_ind) const ARTS_NOEXCEPT
 
constexpr Numeric operator[] (const IsotopeRecord &ir) const
 
constexpr bool all_isotopes_have_a_value () const noexcept
 

Public Attributes

std::array< Numeric, maxsizedata
 

Static Public Attributes

static constexpr Index maxsize = Index(Isotopologues.size())
 

Friends

std::ostream & operator<< (std::ostream &os, const IsotopologueRatios &iso_rat)
 

Detailed Description

Definition at line 685 of file isotopologues.h.

Constructor & Destructor Documentation

◆ IsotopologueRatios()

constexpr Species::IsotopologueRatios::IsotopologueRatios ( )
inlineconstexprnoexcept

Definition at line 689 of file isotopologues.h.

References data.

Member Function Documentation

◆ all_isotopes_have_a_value()

constexpr bool Species::IsotopologueRatios::all_isotopes_have_a_value ( ) const
inlineconstexprnoexcept

◆ operator[]() [1/2]

constexpr Numeric Species::IsotopologueRatios::operator[] ( const Index  spec_ind) const
inlineconstexpr

Definition at line 693 of file isotopologues.h.

References ARTS_ASSERT, and data.

◆ operator[]() [2/2]

constexpr Numeric Species::IsotopologueRatios::operator[] ( const IsotopeRecord ir) const
inlineconstexpr

Friends And Related Function Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream &  os,
const IsotopologueRatios iso_rat 
)
friend

Definition at line 705 of file isotopologues.h.

Member Data Documentation

◆ data

std::array<Numeric, maxsize> Species::IsotopologueRatios::data

◆ maxsize

constexpr Index Species::IsotopologueRatios::maxsize = Index(Isotopologues.size())
staticconstexpr

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