#include <SEScalarPressure.h>

Inherits CCompoundUnit.

Public Member Functions

 PressureUnit (const std::string &u)
 
virtual ~PressureUnit ()
 
 PressureUnit (const PressureUnit &)=delete
 
PressureUnitoperator= (const PressureUnit &)=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 PressureUnitGetCompoundUnit (const std::string &unit)
 

Static Public Attributes

static const PressureUnit Pa
 
static const PressureUnit mmHg
 
static const PressureUnit cmH2O
 
static const PressureUnit psi
 
static const PressureUnit atm
 
static const PressureUnit mbar
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ PressureUnit() [1/2]

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

◆ ~PressureUnit()

virtual PressureUnit::~PressureUnit ( )
inlinevirtual

◆ PressureUnit() [2/2]

PressureUnit::PressureUnit ( const PressureUnit )
delete

Member Function Documentation

◆ GetCompoundUnit()

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

◆ IsValidUnit()

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

◆ operator=()

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

Member Data Documentation

◆ atm

const PressureUnit PressureUnit::atm
static

◆ cmH2O

const PressureUnit PressureUnit::cmH2O
static

◆ mbar

const PressureUnit PressureUnit::mbar
static

◆ mmHg

const PressureUnit PressureUnit::mmHg
static

◆ Pa

const PressureUnit PressureUnit::Pa
static

◆ psi

const PressureUnit PressureUnit::psi
static

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.