Public Member Functions |
Static Public Member Functions |
Static Public Attributes |
List of all members
MassUnit Class Reference
#include <SEScalarMass.h>
Inherits CCompoundUnit.
Public Member Functions | |
MassUnit (const std::string &u) | |
virtual | ~MassUnit () |
MassUnit (const MassUnit &)=delete | |
MassUnit & | operator= (const MassUnit &)=delete |
Public Member Functions inherited from CCompoundUnit | |
CCompoundUnit () | |
CCompoundUnit (const std::string &unitString) | |
CCompoundUnit (const CCompoundUnit &src) | |
virtual | ~CCompoundUnit () |
const CUnitDimension * | GetDimension () const |
const double & | GetBigness () const |
double | GetBias () const |
CCompoundUnit & | operator= (const CCompoundUnit &rhs) |
CCompoundUnit & | operator*= (const CCompoundUnit &rhs) |
CCompoundUnit & | operator/= (const CCompoundUnit &rhs) |
CCompoundUnit | operator* (const CCompoundUnit &rhs) const |
CCompoundUnit | operator/ (const CCompoundUnit &rhs) const |
CCompoundUnit & | Raise (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 () |
CCompoundUnitElement & | AddElement (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 MassUnit & | GetCompoundUnit (const std::string &unit) |
Static Public Attributes | |
static const MassUnit | ug |
static const MassUnit | mg |
static const MassUnit | g |
static const MassUnit | kg |
static const MassUnit | lb |
Additional Inherited Members | |
Protected Member Functions inherited from CCompoundUnit | |
void | BuildDimension () const |
void | ComputeBigness () const |
Constructor & Destructor Documentation
◆ MassUnit() [1/2]
|
inline |
◆ ~MassUnit()
|
inlinevirtual |
◆ MassUnit() [2/2]
|
delete |
Member Function Documentation
◆ GetCompoundUnit()
|
static |
◆ IsValidUnit()
|
static |
◆ operator=()
Member Data Documentation
◆ g
|
static |
◆ kg
|
static |
◆ lb
|
static |
◆ mg
|
static |
◆ ug
|
static |