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

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.