#include <SEScalarMassPerAmount.h>

Inherits CCompoundUnit.

Public Member Functions

 MassPerAmountUnit (const std::string &u)
 
virtual ~MassPerAmountUnit ()
 
 MassPerAmountUnit (const MassPerAmountUnit &)=delete
 
MassPerAmountUnitoperator= (const MassPerAmountUnit &)=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 MassPerAmountUnitGetCompoundUnit (const std::string &unit)
 

Static Public Attributes

static const MassPerAmountUnit g_Per_ct
 
static const MassPerAmountUnit g_Per_mol
 
static const MassPerAmountUnit g_Per_mmol
 
static const MassPerAmountUnit g_Per_umol
 
static const MassPerAmountUnit mg_Per_mol
 
static const MassPerAmountUnit mg_Per_mmol
 
static const MassPerAmountUnit kg_Per_mol
 
static const MassPerAmountUnit ug_Per_mol
 
static const MassPerAmountUnit ug_Per_mmol
 
static const MassPerAmountUnit ug_Per_ct
 
static const MassPerAmountUnit pg_Per_ct
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ MassPerAmountUnit() [1/2]

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

◆ ~MassPerAmountUnit()

virtual MassPerAmountUnit::~MassPerAmountUnit ( )
inlinevirtual

◆ MassPerAmountUnit() [2/2]

MassPerAmountUnit::MassPerAmountUnit ( const MassPerAmountUnit )
delete

Member Function Documentation

◆ GetCompoundUnit()

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

◆ IsValidUnit()

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

◆ operator=()

MassPerAmountUnit & MassPerAmountUnit::operator= ( const MassPerAmountUnit )
delete

Member Data Documentation

◆ g_Per_ct

const MassPerAmountUnit MassPerAmountUnit::g_Per_ct
static

◆ g_Per_mmol

const MassPerAmountUnit MassPerAmountUnit::g_Per_mmol
static

◆ g_Per_mol

const MassPerAmountUnit MassPerAmountUnit::g_Per_mol
static

◆ g_Per_umol

const MassPerAmountUnit MassPerAmountUnit::g_Per_umol
static

◆ kg_Per_mol

const MassPerAmountUnit MassPerAmountUnit::kg_Per_mol
static

◆ mg_Per_mmol

const MassPerAmountUnit MassPerAmountUnit::mg_Per_mmol
static

◆ mg_Per_mol

const MassPerAmountUnit MassPerAmountUnit::mg_Per_mol
static

◆ pg_Per_ct

const MassPerAmountUnit MassPerAmountUnit::pg_Per_ct
static

◆ ug_Per_ct

const MassPerAmountUnit MassPerAmountUnit::ug_Per_ct
static

◆ ug_Per_mmol

const MassPerAmountUnit MassPerAmountUnit::ug_Per_mmol
static

◆ ug_Per_mol

const MassPerAmountUnit MassPerAmountUnit::ug_Per_mol
static

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.