SEScalarMassPerTime.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 MassPerTimeUnit : public CCompoundUnit
8 {
9 public:
10  MassPerTimeUnit(const std::string& u) : CCompoundUnit(u) {}
11  virtual ~MassPerTimeUnit() {}
12 
13  static bool IsValidUnit(const std::string& unit);
14  static const MassPerTimeUnit& GetCompoundUnit(const std::string& unit);
15 
16  static const MassPerTimeUnit g_Per_s;
17  static const MassPerTimeUnit g_Per_min;
18  static const MassPerTimeUnit g_Per_day;
19  static const MassPerTimeUnit mg_Per_s;
22  static const MassPerTimeUnit ug_Per_s;
23  static const MassPerTimeUnit kg_Per_s;
24 };
25 
26 class CDM_DECL SEScalarMassPerTime : public SEScalarQuantity<MassPerTimeUnit>
27 {
28 public:
30  virtual ~SEScalarMassPerTime() {}
31 };
static const MassPerTimeUnit mg_Per_s
Definition: SEScalarMassPerTime.h:19
Definition: SEScalarMassPerTime.h:26
MassPerTimeUnit(const std::string &u)
Definition: SEScalarMassPerTime.h:10
virtual ~SEScalarMassPerTime()
Definition: SEScalarMassPerTime.h:30
static const MassPerTimeUnit g_Per_day
Definition: SEScalarMassPerTime.h:18
Definition: SEScalar.h:127
static const MassPerTimeUnit g_Per_min
Definition: SEScalarMassPerTime.h:17
Definition: SEScalarMassPerTime.h:7
static const MassPerTimeUnit ug_Per_s
Definition: SEScalarMassPerTime.h:22
SEScalarMassPerTime()
Definition: SEScalarMassPerTime.h:29
static const MassPerTimeUnit kg_Per_s
Definition: SEScalarMassPerTime.h:23
static const MassPerTimeUnit g_Per_s
Definition: SEScalarMassPerTime.h:16
static const MassPerTimeUnit ug_Per_min
Definition: SEScalarMassPerTime.h:21
Definition: CompoundUnit.h:39
virtual ~MassPerTimeUnit()
Definition: SEScalarMassPerTime.h:11
static const MassPerTimeUnit mg_Per_min
Definition: SEScalarMassPerTime.h:20