SEScalarPressure.h
1 /* Distributed under the Apache License, Version 2.0.
2  See accompanying NOTICE file for details.*/
3 
4 #pragma once
5 #include "properties/SEScalar.h"
6 
7 class CDM_DECL PressureUnit : public CCompoundUnit
8 {
9 public:
10  PressureUnit(const std::string& u) : CCompoundUnit(u) {}
11  virtual ~PressureUnit() {}
12 
13  static bool IsValidUnit(const std::string& unit);
14  static const PressureUnit& GetCompoundUnit(const std::string& unit);
15 
16  static const PressureUnit Pa;
17  static const PressureUnit mmHg;
18  static const PressureUnit cmH2O;
19  static const PressureUnit psi;
20  static const PressureUnit atm;
21 };
22 
23 class CDM_DECL SEScalarPressure : public SEScalarQuantity<PressureUnit>
24 {
25 public:
27  virtual ~SEScalarPressure() {}
28 };
Definition: SEScalarPressure.h:23
PressureUnit(const std::string &u)
Definition: SEScalarPressure.h:10
static const PressureUnit atm
Definition: SEScalarPressure.h:20
Definition: SEScalar.h:127
static const PressureUnit mmHg
Definition: SEScalarPressure.h:17
Definition: SEScalarPressure.h:7
SEScalarPressure()
Definition: SEScalarPressure.h:26
virtual ~PressureUnit()
Definition: SEScalarPressure.h:11
static const PressureUnit Pa
Definition: SEScalarPressure.h:16
static const PressureUnit cmH2O
Definition: SEScalarPressure.h:18
Definition: CompoundUnit.h:39
virtual ~SEScalarPressure()
Definition: SEScalarPressure.h:27
static const PressureUnit psi
Definition: SEScalarPressure.h:19