SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
serif::dimensions::runtime::ThermodynamicQuantityID Class Referencefinal

Runtime resolvable ID for a thermodynamic quantity. Used in conjunction with concepts to resolve compile time thermodynamic types to runtime values. More...

#include <runtime.hpp>

Collaboration diagram for serif::dimensions::runtime::ThermodynamicQuantityID:
[legend]

Public Member Functions

constexpr ThermodynamicQuantityID (const std::string_view name) noexcept
 
constexpr std::string_view name () const noexcept
 

Private Attributes

std::string_view m_name
 

Friends

constexpr bool operator== (const ThermodynamicQuantityID &, const ThermodynamicQuantityID &) noexcept=default
 

Detailed Description

Runtime resolvable ID for a thermodynamic quantity. Used in conjunction with concepts to resolve compile time thermodynamic types to runtime values.

Constructor & Destructor Documentation

◆ ThermodynamicQuantityID()

serif::dimensions::runtime::ThermodynamicQuantityID::ThermodynamicQuantityID ( const std::string_view name)
inlineexplicitconstexprnoexcept

Member Function Documentation

◆ name()

std::string_view serif::dimensions::runtime::ThermodynamicQuantityID::name ( ) const
inlinenodiscardconstexprnoexcept

Friends And Related Symbol Documentation

◆ operator==

bool operator== ( const ThermodynamicQuantityID & ,
const ThermodynamicQuantityID &  )
friend

Member Data Documentation

◆ m_name

std::string_view serif::dimensions::runtime::ThermodynamicQuantityID::m_name
private

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