#include <SEScalarEnergy.h>

Inheritance diagram for biogears::EnergyUnit:

Public Member Functions

 EnergyUnit (const char *u)
 
 EnergyUnit (const std::string &u)
 
virtual ~EnergyUnit ()=default
 
- Public Member Functions inherited from biogears::CCompoundUnit
 CCompoundUnit ()
 
 CCompoundUnit (const char *unitString)
 
 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 char *quantityName)
 
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 char *unitString)
 
void ParseString (const std::string &unitString)
 
const char * GetString () const
 
 operator std::string ()
 
std::ostream & PrintSelf (std::ostream &output) const
 

Static Public Member Functions

static bool IsValidUnit (const char *unit)
 
static bool IsValidUnit (const std::string &unit)
 
static const EnergyUnitGetCompoundUnit (const char *unit)
 
static const EnergyUnitGetCompoundUnit (const std::string &unit)
 

Static Public Attributes

static const EnergyUnit J
 
static const EnergyUnit mJ
 
static const EnergyUnit kJ
 
static const EnergyUnit kcal
 

Additional Inherited Members

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

Constructor & Destructor Documentation

biogears::EnergyUnit::EnergyUnit ( const char *  u)
biogears::EnergyUnit::EnergyUnit ( const std::string &  u)
virtual biogears::EnergyUnit::~EnergyUnit ( )
virtualdefault

Member Function Documentation

const EnergyUnit & biogears::EnergyUnit::GetCompoundUnit ( const char *  unit)
static
const EnergyUnit & biogears::EnergyUnit::GetCompoundUnit ( const std::string &  unit)
static
bool biogears::EnergyUnit::IsValidUnit ( const char *  unit)
static
bool biogears::EnergyUnit::IsValidUnit ( const std::string &  unit)
static

Member Data Documentation

const EnergyUnit biogears::EnergyUnit::J
static
const EnergyUnit biogears::EnergyUnit::kcal
static
const EnergyUnit biogears::EnergyUnit::kJ
static
const EnergyUnit biogears::EnergyUnit::mJ
static