#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)
inline

◆ ~AmountPerMassUnit()

virtual AmountPerMassUnit::~AmountPerMassUnit ( )
inlinevirtual

◆ AmountPerMassUnit() [2/2]

AmountPerMassUnit::AmountPerMassUnit ( const AmountPerMassUnit )
delete

Member Function Documentation

◆ GetCompoundUnit()

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

◆ IsValidUnit()

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

◆ operator=()

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

Member Data Documentation

◆ ct_Per_g

AmountPerMassUnit AmountPerMassUnit::ct_Per_g
static

◆ ct_Per_ug

AmountPerMassUnit AmountPerMassUnit::ct_Per_ug
static

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.