#include <SEScalarLength.h>

Inherits CCompoundUnit.

Public Member Functions

 LengthUnit (const std::string &u)
 
virtual ~LengthUnit ()
 
- 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 LengthUnitGetCompoundUnit (const std::string &unit)
 

Static Public Attributes

static const LengthUnit m
 
static const LengthUnit cm
 
static const LengthUnit mm
 
static const LengthUnit um
 
static const LengthUnit in
 
static const LengthUnit ft
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ LengthUnit()

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

◆ ~LengthUnit()

virtual LengthUnit::~LengthUnit ( )
inlinevirtual

Member Function Documentation

◆ GetCompoundUnit()

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

◆ IsValidUnit()

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

Member Data Documentation

◆ cm

const LengthUnit LengthUnit::cm
static

◆ ft

const LengthUnit LengthUnit::ft
static

◆ in

const LengthUnit LengthUnit::in
static

◆ m

const LengthUnit LengthUnit::m
static

◆ mm

const LengthUnit LengthUnit::mm
static

◆ um

const LengthUnit LengthUnit::um
static