#include <CompoundUnit.h>

Inherited by biogears::AmountPerMassUnit, biogears::AmountPerTimeUnit, biogears::AmountPerVolumeUnit, biogears::AmountUnit, biogears::AreaPerTimePressureUnit, biogears::AreaUnit, biogears::ElectricCapacitanceUnit, biogears::ElectricChargeUnit, biogears::ElectricCurrentUnit, biogears::ElectricInductanceUnit, biogears::ElectricPotentialUnit, biogears::ElectricResistanceUnit, biogears::EnergyPerAmountUnit, biogears::EnergyPerMassUnit, biogears::EnergyUnit, biogears::FlowComplianceUnit, biogears::FlowElastanceUnit, biogears::FlowInertanceUnit, biogears::FlowResistanceUnit, biogears::ForceUnit, biogears::FrequencyUnit, biogears::HeatCapacitancePerAmountUnit, biogears::HeatCapacitancePerMassUnit, biogears::HeatCapacitanceUnit, biogears::HeatConductancePerAreaUnit, biogears::HeatConductanceUnit, biogears::HeatInductanceUnit, biogears::HeatResistanceAreaUnit, biogears::HeatResistanceUnit, biogears::InversePressureUnit, biogears::InverseVolumeUnit, biogears::LengthPerTimePressureUnit, biogears::LengthPerTimeUnit, biogears::LengthUnit, biogears::MassPerAmountUnit, biogears::MassPerAreaTimeUnit, biogears::MassPerMassUnit, biogears::MassPerTimeUnit, biogears::MassPerVolumeUnit, biogears::MassUnit, biogears::OsmolalityUnit, biogears::OsmolarityUnit, biogears::PowerPerAreaTemperatureToTheFourthUnit, biogears::PowerUnit, biogears::PressurePerVolumeUnit, biogears::PressureTimePerAreaUnit, biogears::PressureTimePerVolumeAreaUnit, biogears::PressureUnit, biogears::TemperatureUnit, biogears::TimeMassPerVolumeUnit, biogears::TimeUnit, biogears::VolumePerPressureUnit, biogears::VolumePerTimeAreaUnit, biogears::VolumePerTimeMassUnit, biogears::VolumePerTimePressureAreaUnit, biogears::VolumePerTimePressureUnit, biogears::VolumePerTimeUnit, biogears::VolumeUnit, and TestUnit.

Public Member Functions

 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
 

Protected Member Functions

void BuildDimension () const
 
void ComputeBigness () const
 

Private Types

typedef std::vector< CCompoundUnitElementCUEVecType
 

Private Attributes

std::string m_strUnit
 
double m_dBigness
 
CUEVecType m_CUEVec
 
CUnitDimensionm_CUD
 
bool m_bStaleBigness
 
bool m_bStaleDimension
 
bool m_bExplicitNonDBFlag
 
bool m_bExplicitDBFlag
 
bool m_bDBFlag
 

Member Typedef Documentation

Constructor & Destructor Documentation

biogears::CCompoundUnit::CCompoundUnit ( )
biogears::CCompoundUnit::CCompoundUnit ( const char *  unitString)
biogears::CCompoundUnit::CCompoundUnit ( const std::string &  unitString)
biogears::CCompoundUnit::CCompoundUnit ( const CCompoundUnit src)
virtual biogears::CCompoundUnit::~CCompoundUnit ( )
inlinevirtual

Member Function Documentation

CCompoundUnitElement & biogears::CCompoundUnit::AddElement ( const CCompoundUnitElement elem)
void biogears::CCompoundUnit::BuildDimension ( ) const
protected
void biogears::CCompoundUnit::clear ( )
inline
void biogears::CCompoundUnit::ComputeBigness ( ) const
protected
void biogears::CCompoundUnit::DecibelModeOff ( )
inline
void biogears::CCompoundUnit::DecibelModeOn ( )
inline
double biogears::CCompoundUnit::GetBias ( ) const
const double & biogears::CCompoundUnit::GetBigness ( ) const
double biogears::CCompoundUnit::GetDecibelLogScaleFactor ( ) const
const CUnitDimension * biogears::CCompoundUnit::GetDimension ( ) const
const char * biogears::CCompoundUnit::GetString ( ) const
bool biogears::CCompoundUnit::IsDecibel ( ) const
bool biogears::CCompoundUnit::IsDimensionless ( ) const
inline
bool biogears::CCompoundUnit::IsOfType ( int  quantityTypeID)
bool biogears::CCompoundUnit::IsOfType ( const char *  quantityName)
bool biogears::CCompoundUnit::IsOfType ( const std::string &  quantityName)
bool biogears::CCompoundUnit::IsUnitEmpty ( ) const
inline
biogears::CCompoundUnit::operator std::string ( )
inline
bool biogears::CCompoundUnit::operator!= ( const CCompoundUnit rhs) const
inline
CCompoundUnit biogears::CCompoundUnit::operator* ( const CCompoundUnit rhs) const
inline
CCompoundUnit & biogears::CCompoundUnit::operator*= ( const CCompoundUnit rhs)
CCompoundUnit biogears::CCompoundUnit::operator/ ( const CCompoundUnit rhs) const
inline
CCompoundUnit & biogears::CCompoundUnit::operator/= ( const CCompoundUnit rhs)
CCompoundUnit& biogears::CCompoundUnit::operator= ( const CCompoundUnit rhs)
inline
bool biogears::CCompoundUnit::operator== ( const CCompoundUnit rhs) const
inline
void biogears::CCompoundUnit::ParseString ( const char *  unitString)
void biogears::CCompoundUnit::ParseString ( const std::string &  unitString)
std::ostream & biogears::CCompoundUnit::PrintSelf ( std::ostream &  output) const
CCompoundUnit & biogears::CCompoundUnit::Raise ( CCompoundUnitElement::ExponentType  exp)

Member Data Documentation

bool biogears::CCompoundUnit::m_bDBFlag
mutableprivate
bool biogears::CCompoundUnit::m_bExplicitDBFlag
mutableprivate
bool biogears::CCompoundUnit::m_bExplicitNonDBFlag
mutableprivate
bool biogears::CCompoundUnit::m_bStaleBigness
mutableprivate
bool biogears::CCompoundUnit::m_bStaleDimension
mutableprivate
CUnitDimension* biogears::CCompoundUnit::m_CUD
mutableprivate
CUEVecType biogears::CCompoundUnit::m_CUEVec
private
double biogears::CCompoundUnit::m_dBigness
mutableprivate
std::string biogears::CCompoundUnit::m_strUnit
mutableprivate