#include <SEScalarVolume.h>

Inherits CCompoundUnit.

Public Member Functions

 VolumeUnit (const std::string &u)
 
virtual ~VolumeUnit ()
 
 VolumeUnit (const VolumeUnit &)=delete
 
VolumeUnitoperator= (const VolumeUnit &)=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 VolumeUnitGetCompoundUnit (const std::string &unit)
 

Static Public Attributes

static const VolumeUnit L
 
static const VolumeUnit dL
 
static const VolumeUnit mL
 
static const VolumeUnit m3
 
static const VolumeUnit uL
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ VolumeUnit() [1/2]

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

◆ ~VolumeUnit()

virtual VolumeUnit::~VolumeUnit ( )
inlinevirtual

◆ VolumeUnit() [2/2]

VolumeUnit::VolumeUnit ( const VolumeUnit )
delete

Member Function Documentation

◆ GetCompoundUnit()

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

◆ IsValidUnit()

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

◆ operator=()

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

Member Data Documentation

◆ dL

const VolumeUnit VolumeUnit::dL
static

◆ L

const VolumeUnit VolumeUnit::L
static

◆ m3

const VolumeUnit VolumeUnit::m3
static

◆ mL

const VolumeUnit VolumeUnit::mL
static

◆ uL

const VolumeUnit VolumeUnit::uL
static

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.