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

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.