Cloudy
Spectral Synthesis Code for Astrophysics
Loading...
Searching...
No Matches
UnitConverter Class Reference

#include <parser.h>

Public Member Functions

 UnitConverter (double unit)
 
void operator() (realnum *t) const
 

Private Attributes

const realnum m_unit
 

Detailed Description

Generator for functors which convert the unit of their argument

Constructor & Destructor Documentation

◆ UnitConverter()

UnitConverter::UnitConverter ( double unit)
inline

References m_unit.

Member Function Documentation

◆ operator()()

void UnitConverter::operator() ( realnum * t) const
inline

References m_unit.

Member Data Documentation

◆ m_unit

const realnum UnitConverter::m_unit
private

Referenced by operator()(), and UnitConverter().


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