#include <SEScalarEnergyPerAmount.h>

Inherits CCompoundUnit.

Public Member Functions

 EnergyPerAmountUnit (const std::string &u)
 
virtual ~EnergyPerAmountUnit ()
 
 EnergyPerAmountUnit (const EnergyPerAmountUnit &)=delete
 
EnergyPerAmountUnitoperator= (const EnergyPerAmountUnit &)=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 EnergyPerAmountUnitGetCompoundUnit (const std::string &unit)
 

Static Public Attributes

static const EnergyPerAmountUnit kcal_Per_mol
 
static const EnergyPerAmountUnit kJ_Per_mol
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ EnergyPerAmountUnit() [1/2]

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

◆ ~EnergyPerAmountUnit()

virtual EnergyPerAmountUnit::~EnergyPerAmountUnit ( )
inlinevirtual

◆ EnergyPerAmountUnit() [2/2]

EnergyPerAmountUnit::EnergyPerAmountUnit ( const EnergyPerAmountUnit )
delete

Member Function Documentation

◆ GetCompoundUnit()

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

◆ IsValidUnit()

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

◆ operator=()

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

Member Data Documentation

◆ kcal_Per_mol

const EnergyPerAmountUnit EnergyPerAmountUnit::kcal_Per_mol
static

◆ kJ_Per_mol

const EnergyPerAmountUnit EnergyPerAmountUnit::kJ_Per_mol
static

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.