#include <SEScalarEnergyPerMass.h>

Inherits CCompoundUnit.

Public Member Functions

 EnergyPerMassUnit (const std::string &u)
 
virtual ~EnergyPerMassUnit ()
 
 EnergyPerMassUnit (const EnergyPerMassUnit &)=delete
 
EnergyPerMassUnitoperator= (const EnergyPerMassUnit &)=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 EnergyPerMassUnitGetCompoundUnit (const std::string &unit)
 

Static Public Attributes

static const EnergyPerMassUnit J_Per_kg
 
static const EnergyPerMassUnit kJ_Per_kg
 
static const EnergyPerMassUnit mJ_Per_kg
 
static const EnergyPerMassUnit kcal_Per_kg
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ EnergyPerMassUnit() [1/2]

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

◆ ~EnergyPerMassUnit()

virtual EnergyPerMassUnit::~EnergyPerMassUnit ( )
inlinevirtual

◆ EnergyPerMassUnit() [2/2]

EnergyPerMassUnit::EnergyPerMassUnit ( const EnergyPerMassUnit )
delete

Member Function Documentation

◆ GetCompoundUnit()

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

◆ IsValidUnit()

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

◆ operator=()

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

Member Data Documentation

◆ J_Per_kg

const EnergyPerMassUnit EnergyPerMassUnit::J_Per_kg
static

◆ kcal_Per_kg

const EnergyPerMassUnit EnergyPerMassUnit::kcal_Per_kg
static

◆ kJ_Per_kg

const EnergyPerMassUnit EnergyPerMassUnit::kJ_Per_kg
static

◆ mJ_Per_kg

const EnergyPerMassUnit EnergyPerMassUnit::mJ_Per_kg
static

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.