Computer Assited Medical Intervention Tool Kit  version 5.0
PressureUnit Class Reference

Class that defines the different units of a Load 'Pressure'. More...

#include <PressureUnit.h>

Static Public Member Functions

static PressureUnitKPA ()
 kiloPascal More...
 
static PressureUnitMMHG ()
 Millimeters of mercure. More...
 
static PressureUnitPA ()
 Pascal. More...
 

Private Member Functions

 PressureUnit (std::string n)
 

Additional Inherited Members

- Public Member Functions inherited from Unit
std::string getUnitName ()
 
virtual ~Unit ()=default
 
- Protected Attributes inherited from Unit
std::string unitString
 

Detailed Description

Class that defines the different units of a Load 'Pressure'.

Note
This class implements the type-safe design pattern.

Constructor & Destructor Documentation

◆ PressureUnit()

PressureUnit::PressureUnit ( std::string  n)
inlineprivate

References Unit::unitString.

Member Function Documentation

◆ KPA()

PressureUnit & PressureUnit::KPA ( )
static

kiloPascal

References KPA().

Referenced by KPA(), and Loads::xmlRead().

◆ MMHG()

PressureUnit & PressureUnit::MMHG ( )
static

Millimeters of mercure.

References MMHG().

Referenced by MMHG(), and Loads::xmlRead().

◆ PA()

PressureUnit & PressureUnit::PA ( )
static

Pascal.

References PA().

Referenced by PA(), Pressure::Pressure(), and Loads::xmlRead().


The documentation for this class was generated from the following files: