SEScalarMassPerVolume.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 MassPerVolumeUnit : public CCompoundUnit
8 {
9 public:
10  MassPerVolumeUnit(const std::string& u) : CCompoundUnit(u) {}
11  virtual ~MassPerVolumeUnit() {}
12 
13  static bool IsValidUnit(const std::string& unit);
14  static const MassPerVolumeUnit& GetCompoundUnit(const std::string& unit);
15 
21  static const MassPerVolumeUnit g_Per_L;
24  static const MassPerVolumeUnit g_Per_m3;
30 };
31 
32 class CDM_DECL SEScalarMassPerVolume : public SEScalarQuantity<MassPerVolumeUnit>
33 {
34 public:
37 };
static const MassPerVolumeUnit mg_Per_dL
Definition: SEScalarMassPerVolume.h:27
static const MassPerVolumeUnit kg_Per_L
Definition: SEScalarMassPerVolume.h:29
Definition: SEScalarMassPerVolume.h:32
Definition: SEScalarMassPerVolume.h:7
static const MassPerVolumeUnit g_Per_cm3
Definition: SEScalarMassPerVolume.h:23
static const MassPerVolumeUnit mg_Per_L
Definition: SEScalarMassPerVolume.h:26
static const MassPerVolumeUnit ug_Per_mL
Definition: SEScalarMassPerVolume.h:16
virtual ~MassPerVolumeUnit()
Definition: SEScalarMassPerVolume.h:11
Definition: SEScalar.h:127
virtual ~SEScalarMassPerVolume()
Definition: SEScalarMassPerVolume.h:36
static const MassPerVolumeUnit g_Per_dL
Definition: SEScalarMassPerVolume.h:20
SEScalarMassPerVolume()
Definition: SEScalarMassPerVolume.h:35
static const MassPerVolumeUnit kg_Per_m3
Definition: SEScalarMassPerVolume.h:18
static const MassPerVolumeUnit ug_Per_L
Definition: SEScalarMassPerVolume.h:19
static const MassPerVolumeUnit mg_Per_m3
Definition: SEScalarMassPerVolume.h:17
static const MassPerVolumeUnit g_Per_L
Definition: SEScalarMassPerVolume.h:21
static const MassPerVolumeUnit kg_Per_mL
Definition: SEScalarMassPerVolume.h:28
static const MassPerVolumeUnit g_Per_mL
Definition: SEScalarMassPerVolume.h:22
Definition: CompoundUnit.h:39
static const MassPerVolumeUnit mg_Per_mL
Definition: SEScalarMassPerVolume.h:25
static const MassPerVolumeUnit g_Per_m3
Definition: SEScalarMassPerVolume.h:24
MassPerVolumeUnit(const std::string &u)
Definition: SEScalarMassPerVolume.h:10