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

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.