<
The Pulse Team is excited to announce the Pulse Physiology Engine 4.1.0 release. Upgrade now to get the best in dynamic simulation.
×
SEScalarMassPerMass.h
1 /* Distributed under the Apache License, Version 2.0.
2  See accompanying NOTICE file for details.*/
3 
4 #pragma once
5 #include "cdm/properties/SEScalar.h"
6 
7 class CDM_DECL MassPerMassUnit : public CCompoundUnit
8 {
9 public:
10  MassPerMassUnit(const std::string& u) : CCompoundUnit(u) {}
11  virtual ~MassPerMassUnit() {}
12 
13  // Please use static units below
14  MassPerMassUnit(const MassPerMassUnit&) = delete;
15  MassPerMassUnit& operator= (const MassPerMassUnit&) = delete;
16 
17  static bool IsValidUnit(const std::string& unit);
18  static const MassPerMassUnit& GetCompoundUnit(const std::string& unit);
19 
20  static const MassPerMassUnit ug_Per_kg;
21  static const MassPerMassUnit mg_Per_g;
22 };
23 
24 class CDM_DECL SEScalarMassPerMass : public SEScalarQuantity<MassPerMassUnit>
25 {
26 public:
28  virtual ~SEScalarMassPerMass() {}
29 };
static const MassPerMassUnit ug_Per_kg
Definition: SEScalarMassPerMass.h:20
CCompoundUnit & operator=(const CCompoundUnit &rhs)
Definition: CompoundUnit.h:132
static const MassPerMassUnit mg_Per_g
Definition: SEScalarMassPerMass.h:21
Definition: SEScalar.h:206
virtual ~MassPerMassUnit()
Definition: SEScalarMassPerMass.h:11
MassPerMassUnit(const std::string &u)
Definition: SEScalarMassPerMass.h:10
SEScalarMassPerMass()
Definition: SEScalarMassPerMass.h:27
Definition: SEScalarMassPerMass.h:7
Definition: CompoundUnit.h:39
virtual ~SEScalarMassPerMass()
Definition: SEScalarMassPerMass.h:28
Definition: SEScalarMassPerMass.h:24

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.