#include <SEScalarAmount.h>

Inherits CCompoundUnit.

Public Member Functions

 AmountUnit (const std::string &u)
 
virtual ~AmountUnit ()
 
 AmountUnit (const AmountUnit &)=delete
 
AmountUnitoperator= (const AmountUnit &)=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 AmountUnitGetCompoundUnit (const std::string &unit)
 

Static Public Attributes

static const AmountUnit mol
 
static const AmountUnit pmol
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ AmountUnit() [1/2]

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

◆ ~AmountUnit()

virtual AmountUnit::~AmountUnit ( )
inlinevirtual

◆ AmountUnit() [2/2]

AmountUnit::AmountUnit ( const AmountUnit )
delete

Member Function Documentation

◆ GetCompoundUnit()

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

◆ IsValidUnit()

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

◆ operator=()

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

Member Data Documentation

◆ mol

const AmountUnit AmountUnit::mol
static

◆ pmol

const AmountUnit AmountUnit::pmol
static

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.