SEScalarMassPerAmount.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 MassPerAmountUnit : public CCompoundUnit
8{
9public:
10 MassPerAmountUnit(const std::string& u) : CCompoundUnit(u) {}
11 virtual ~MassPerAmountUnit() {}
12
13 // Please use static units below
16
17 static bool IsValidUnit(const std::string& unit);
18 static const MassPerAmountUnit& GetCompoundUnit(const std::string& unit);
19
31};
32
33class CDM_DECL SEScalarMassPerAmount : public SEScalarQuantity<MassPerAmountUnit>
34{
35public:
38};
39
Definition: CompoundUnit.h:40
CCompoundUnit & operator=(const CCompoundUnit &rhs)
Definition: CompoundUnit.h:132
Definition: SEScalarMassPerAmount.h:8
static const MassPerAmountUnit g_Per_mol
Definition: SEScalarMassPerAmount.h:21
static const MassPerAmountUnit mg_Per_mmol
Definition: SEScalarMassPerAmount.h:25
static const MassPerAmountUnit mg_Per_mol
Definition: SEScalarMassPerAmount.h:24
static const MassPerAmountUnit ug_Per_ct
Definition: SEScalarMassPerAmount.h:29
static const MassPerAmountUnit g_Per_ct
Definition: SEScalarMassPerAmount.h:20
MassPerAmountUnit(const std::string &u)
Definition: SEScalarMassPerAmount.h:10
static const MassPerAmountUnit g_Per_umol
Definition: SEScalarMassPerAmount.h:23
virtual ~MassPerAmountUnit()
Definition: SEScalarMassPerAmount.h:11
static const MassPerAmountUnit ug_Per_mol
Definition: SEScalarMassPerAmount.h:27
static const MassPerAmountUnit g_Per_mmol
Definition: SEScalarMassPerAmount.h:22
static const MassPerAmountUnit pg_Per_ct
Definition: SEScalarMassPerAmount.h:30
static const MassPerAmountUnit ug_Per_mmol
Definition: SEScalarMassPerAmount.h:28
static const MassPerAmountUnit kg_Per_mol
Definition: SEScalarMassPerAmount.h:26
MassPerAmountUnit(const MassPerAmountUnit &)=delete
Definition: SEScalarMassPerAmount.h:34
virtual ~SEScalarMassPerAmount()
Definition: SEScalarMassPerAmount.h:37
SEScalarMassPerAmount()
Definition: SEScalarMassPerAmount.h:36
Definition: SEScalar.h:208

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.