#include <SEScalarTemperature.h>

Inherits CCompoundUnit.

Public Member Functions

 TemperatureUnit (const std::string &u)
 
virtual ~TemperatureUnit ()
 
 TemperatureUnit (const TemperatureUnit &)=delete
 
TemperatureUnitoperator= (const TemperatureUnit &)=delete
 
- Public Member Functions inherited from CCompoundUnit
 CCompoundUnit ()
 
 CCompoundUnit (const std::string &unitString)
 
 CCompoundUnit (const CCompoundUnit &src)
 
virtual ~CCompoundUnit ()
 
const CUnitDimensionGetDimension () const
 
const double & GetBigness () const
 
double GetBias () const
 
CCompoundUnitoperator= (const CCompoundUnit &rhs)
 
CCompoundUnitoperator*= (const CCompoundUnit &rhs)
 
CCompoundUnitoperator/= (const CCompoundUnit &rhs)
 
CCompoundUnit operator* (const CCompoundUnit &rhs) const
 
CCompoundUnit operator/ (const CCompoundUnit &rhs) const
 
CCompoundUnitRaise (CCompoundUnitElement::ExponentType)
 
bool operator== (const CCompoundUnit &rhs) const
 
bool operator!= (const CCompoundUnit &rhs) const
 
bool IsOfType (int quantityTypeID)
 
bool IsOfType (const std::string &quantityName)
 
bool IsDimensionless () const
 
bool IsDecibel () const
 
bool IsUnitEmpty () const
 
double GetDecibelLogScaleFactor () const
 
void DecibelModeOn ()
 
void DecibelModeOff ()
 
CCompoundUnitElementAddElement (const CCompoundUnitElement &)
 
void clear ()
 
void ParseString (const std::string &unitString)
 
std::string GetString () const
 
std::ostream & PrintSelf (std::ostream &output) const
 

Static Public Member Functions

static bool IsValidUnit (const std::string &unit)
 
static const TemperatureUnitGetCompoundUnit (const std::string &unit)
 

Static Public Attributes

static const TemperatureUnit F
 
static const TemperatureUnit C
 
static const TemperatureUnit K
 
static const TemperatureUnit R
 

Additional Inherited Members

- Protected Member Functions inherited from CCompoundUnit
void BuildDimension () const
 
void ComputeBigness () const
 

Constructor & Destructor Documentation

◆ TemperatureUnit() [1/2]

TemperatureUnit::TemperatureUnit ( const std::string &  u)
inline

◆ ~TemperatureUnit()

virtual TemperatureUnit::~TemperatureUnit ( )
inlinevirtual

◆ TemperatureUnit() [2/2]

TemperatureUnit::TemperatureUnit ( const TemperatureUnit )
delete

Member Function Documentation

◆ GetCompoundUnit()

const TemperatureUnit & TemperatureUnit::GetCompoundUnit ( const std::string &  unit)
static

◆ IsValidUnit()

bool TemperatureUnit::IsValidUnit ( const std::string &  unit)
static

◆ operator=()

TemperatureUnit & TemperatureUnit::operator= ( const TemperatureUnit )
delete

Member Data Documentation

◆ C

const TemperatureUnit TemperatureUnit::C
static

◆ F

const TemperatureUnit TemperatureUnit::F
static

◆ K

const TemperatureUnit TemperatureUnit::K
static

◆ R

const TemperatureUnit TemperatureUnit::R
static

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.