<
The Pulse Team is excited to announce the Pulse Physiology Engine 4.1.0 release. Upgrade now to get the best in dynamic simulation.
×
SEScalarMassPerTime.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 MassPerTimeUnit : public CCompoundUnit
8 {
9 public:
10  MassPerTimeUnit(const std::string& u) : CCompoundUnit(u) {}
11  virtual ~MassPerTimeUnit() {}
12 
13  // Please use static units below
14  MassPerTimeUnit(const MassPerTimeUnit&) = delete;
15  MassPerTimeUnit& operator= (const MassPerTimeUnit&) = delete;
16 
17  static bool IsValidUnit(const std::string& unit);
18  static const MassPerTimeUnit& GetCompoundUnit(const std::string& unit);
19 
20  static const MassPerTimeUnit g_Per_s;
21  static const MassPerTimeUnit g_Per_min;
22  static const MassPerTimeUnit g_Per_day;
23  static const MassPerTimeUnit mg_Per_s;
26  static const MassPerTimeUnit ug_Per_s;
27  static const MassPerTimeUnit kg_Per_s;
28 };
29 
30 class CDM_DECL SEScalarMassPerTime : public SEScalarQuantity<MassPerTimeUnit>
31 {
32 public:
34  virtual ~SEScalarMassPerTime() {}
35 };
static const MassPerTimeUnit mg_Per_s
Definition: SEScalarMassPerTime.h:23
CCompoundUnit & operator=(const CCompoundUnit &rhs)
Definition: CompoundUnit.h:132
Definition: SEScalarMassPerTime.h:30
MassPerTimeUnit(const std::string &u)
Definition: SEScalarMassPerTime.h:10
virtual ~SEScalarMassPerTime()
Definition: SEScalarMassPerTime.h:34
static const MassPerTimeUnit g_Per_day
Definition: SEScalarMassPerTime.h:22
Definition: SEScalar.h:206
static const MassPerTimeUnit g_Per_min
Definition: SEScalarMassPerTime.h:21
Definition: SEScalarMassPerTime.h:7
static const MassPerTimeUnit ug_Per_s
Definition: SEScalarMassPerTime.h:26
SEScalarMassPerTime()
Definition: SEScalarMassPerTime.h:33
static const MassPerTimeUnit kg_Per_s
Definition: SEScalarMassPerTime.h:27
static const MassPerTimeUnit g_Per_s
Definition: SEScalarMassPerTime.h:20
static const MassPerTimeUnit ug_Per_min
Definition: SEScalarMassPerTime.h:25
Definition: CompoundUnit.h:39
virtual ~MassPerTimeUnit()
Definition: SEScalarMassPerTime.h:11
static const MassPerTimeUnit mg_Per_min
Definition: SEScalarMassPerTime.h:24

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.