Cloudy
Spectral Synthesis Code for Astrophysics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 ( double  unit)
inline

Member Function Documentation

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

References m_unit.

Member Data Documentation

const realnum UnitConverter::m_unit
private

Referenced by operator()().


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