#include <SEScalarPower.h>

Inherits CCompoundUnit.

Public Member Functions

 PowerUnit (const std::string &u)
 
virtual ~PowerUnit ()
 
- 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 PowerUnitGetCompoundUnit (const std::string &unit)
 

Static Public Attributes

static const PowerUnit W
 
static const PowerUnit kcal_Per_s
 
static const PowerUnit kcal_Per_hr
 
static const PowerUnit kcal_Per_day
 
static const PowerUnit J_Per_s
 
static const PowerUnit BTU_Per_hr
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ PowerUnit()

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

◆ ~PowerUnit()

virtual PowerUnit::~PowerUnit ( )
inlinevirtual

Member Function Documentation

◆ GetCompoundUnit()

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

◆ IsValidUnit()

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

Member Data Documentation

◆ BTU_Per_hr

const PowerUnit PowerUnit::BTU_Per_hr
static

◆ J_Per_s

const PowerUnit PowerUnit::J_Per_s
static

◆ kcal_Per_day

const PowerUnit PowerUnit::kcal_Per_day
static

◆ kcal_Per_hr

const PowerUnit PowerUnit::kcal_Per_hr
static

◆ kcal_Per_s

const PowerUnit PowerUnit::kcal_Per_s
static

◆ W

const PowerUnit PowerUnit::W
static