SEScalarEnergyPerMass.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 EnergyPerMassUnit : public CCompoundUnit
8 {
9 public:
10  EnergyPerMassUnit(const std::string& u) : CCompoundUnit(u) {}
11  virtual ~EnergyPerMassUnit() {}
12 
13  // Please use static units below
16 
17  static bool IsValidUnit(const std::string& unit);
18  static const EnergyPerMassUnit& GetCompoundUnit(const std::string& unit);
19 
24 };
25 
26 class CDM_DECL SEScalarEnergyPerMass : public SEScalarQuantity<EnergyPerMassUnit>
27 {
28 public:
31 };
Definition: CompoundUnit.h:40
CCompoundUnit & operator=(const CCompoundUnit &rhs)
Definition: CompoundUnit.h:132
Definition: SEScalarEnergyPerMass.h:8
static const EnergyPerMassUnit kcal_Per_kg
Definition: SEScalarEnergyPerMass.h:23
EnergyPerMassUnit(const EnergyPerMassUnit &)=delete
static const EnergyPerMassUnit kJ_Per_kg
Definition: SEScalarEnergyPerMass.h:21
virtual ~EnergyPerMassUnit()
Definition: SEScalarEnergyPerMass.h:11
static const EnergyPerMassUnit mJ_Per_kg
Definition: SEScalarEnergyPerMass.h:22
static const EnergyPerMassUnit J_Per_kg
Definition: SEScalarEnergyPerMass.h:20
EnergyPerMassUnit(const std::string &u)
Definition: SEScalarEnergyPerMass.h:10
Definition: SEScalarEnergyPerMass.h:27
virtual ~SEScalarEnergyPerMass()
Definition: SEScalarEnergyPerMass.h:30
SEScalarEnergyPerMass()
Definition: SEScalarEnergyPerMass.h:29
Definition: SEScalar.h:208

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.