The Pulse Team is excited to announce the Pulse Physiology Engine 4.1.0 release. Upgrade now to get the best in dynamic simulation.

#include <SEScalarAmountPerMass.h>

Inherits CCompoundUnit.

Public Member Functions

 AmountPerMassUnit (const std::string &u)
virtual ~AmountPerMassUnit ()
 AmountPerMassUnit (const AmountPerMassUnit &)=delete
AmountPerMassUnitoperator= (const AmountPerMassUnit &)=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 AmountPerMassUnitGetCompoundUnit (const std::string &unit)

Static Public Attributes

static AmountPerMassUnit ct_Per_g
static AmountPerMassUnit ct_Per_ug

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ AmountPerMassUnit() [1/2]

AmountPerMassUnit::AmountPerMassUnit ( const std::string &  u)

◆ ~AmountPerMassUnit()

virtual AmountPerMassUnit::~AmountPerMassUnit ( )

◆ AmountPerMassUnit() [2/2]

AmountPerMassUnit::AmountPerMassUnit ( const AmountPerMassUnit )

Member Function Documentation

◆ GetCompoundUnit()

const AmountPerMassUnit & AmountPerMassUnit::GetCompoundUnit ( const std::string &  unit)

◆ IsValidUnit()

bool AmountPerMassUnit::IsValidUnit ( const std::string &  unit)

◆ operator=()

AmountPerMassUnit& AmountPerMassUnit::operator= ( const AmountPerMassUnit )

Member Data Documentation

◆ ct_Per_g

AmountPerMassUnit AmountPerMassUnit::ct_Per_g

◆ ct_Per_ug

AmountPerMassUnit AmountPerMassUnit::ct_Per_ug

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.