SEScalarMassPerMass.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 MassPerMassUnit : public CCompoundUnit
8 {
9 public:
10  MassPerMassUnit(const std::string& u) : CCompoundUnit(u) {}
11  virtual ~MassPerMassUnit() {}
12 
13  static bool IsValidUnit(const std::string& unit);
14  static const MassPerMassUnit& GetCompoundUnit(const std::string& unit);
15 
16  static const MassPerMassUnit ug_Per_kg;
17  static const MassPerMassUnit mg_Per_g;
18 };
19 
20 class CDM_DECL SEScalarMassPerMass : public SEScalarQuantity<MassPerMassUnit>
21 {
22 public:
24  virtual ~SEScalarMassPerMass() {}
25 };
static const MassPerMassUnit ug_Per_kg
Definition: SEScalarMassPerMass.h:16
static const MassPerMassUnit mg_Per_g
Definition: SEScalarMassPerMass.h:17
Definition: SEScalar.h:127
virtual ~MassPerMassUnit()
Definition: SEScalarMassPerMass.h:11
MassPerMassUnit(const std::string &u)
Definition: SEScalarMassPerMass.h:10
SEScalarMassPerMass()
Definition: SEScalarMassPerMass.h:23
Definition: SEScalarMassPerMass.h:7
Definition: CompoundUnit.h:39
virtual ~SEScalarMassPerMass()
Definition: SEScalarMassPerMass.h:24
Definition: SEScalarMassPerMass.h:20