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 <SEScalarMassPerMass.h>

Inherits CCompoundUnit.

Public Member Functions

 MassPerMassUnit (const std::string &u)
virtual ~MassPerMassUnit ()
 MassPerMassUnit (const MassPerMassUnit &)=delete
MassPerMassUnitoperator= (const MassPerMassUnit &)=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 MassPerMassUnitGetCompoundUnit (const std::string &unit)

Static Public Attributes

static const MassPerMassUnit ug_Per_kg
static const MassPerMassUnit mg_Per_g

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ MassPerMassUnit() [1/2]

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

◆ ~MassPerMassUnit()

virtual MassPerMassUnit::~MassPerMassUnit ( )

◆ MassPerMassUnit() [2/2]

MassPerMassUnit::MassPerMassUnit ( const MassPerMassUnit )

Member Function Documentation

◆ GetCompoundUnit()

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

◆ IsValidUnit()

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

◆ operator=()

MassPerMassUnit& MassPerMassUnit::operator= ( const MassPerMassUnit )

Member Data Documentation

◆ mg_Per_g

const MassPerMassUnit MassPerMassUnit::mg_Per_g

◆ ug_Per_kg

const MassPerMassUnit MassPerMassUnit::ug_Per_kg

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.