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

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.