Computer Assited Medical Intervention Tool Kit  version 4.1
Static Public Member Functions | Private Member Functions | List of all members
PressureUnit Class Reference

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

#include <PressureUnit.h>

Inherits Unit.

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

Referenced by Loads::xmlRead().

◆ MMHG()

PressureUnit & PressureUnit::MMHG ( )
static

Millimeters of mercure.

Referenced by Loads::xmlRead().

◆ PA()

PressureUnit & PressureUnit::PA ( )
static

Pascal.

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


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