SEScalarAmountPerVolume.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 AmountPerVolumeUnit : public CCompoundUnit
8 {
9 public:
10  AmountPerVolumeUnit(const std::string& u) : CCompoundUnit(u) {}
11  virtual ~AmountPerVolumeUnit() {}
12 
13  // Please use static units below
16 
17  static bool IsValidUnit(const std::string& unit);
18  static const AmountPerVolumeUnit& GetCompoundUnit(const std::string& unit);
19 
28 };
29 
30 class CDM_DECL SEScalarAmountPerVolume : public SEScalarQuantity<AmountPerVolumeUnit>
31 {
32 public:
35 };
Definition: SEScalarAmountPerVolume.h:8
static AmountPerVolumeUnit ct_Per_uL
Definition: SEScalarAmountPerVolume.h:27
static AmountPerVolumeUnit mol_Per_L
Definition: SEScalarAmountPerVolume.h:21
static AmountPerVolumeUnit mol_Per_mL
Definition: SEScalarAmountPerVolume.h:22
static AmountPerVolumeUnit mmol_Per_mL
Definition: SEScalarAmountPerVolume.h:24
static AmountPerVolumeUnit mEq_Per_L
Definition: SEScalarAmountPerVolume.h:20
static AmountPerVolumeUnit pmol_Per_L
Definition: SEScalarAmountPerVolume.h:25
static AmountPerVolumeUnit ct_Per_L
Definition: SEScalarAmountPerVolume.h:26
virtual ~AmountPerVolumeUnit()
Definition: SEScalarAmountPerVolume.h:11
AmountPerVolumeUnit(const std::string &u)
Definition: SEScalarAmountPerVolume.h:10
static AmountPerVolumeUnit mmol_Per_L
Definition: SEScalarAmountPerVolume.h:23
AmountPerVolumeUnit(const AmountPerVolumeUnit &)=delete
Definition: CompoundUnit.h:40
CCompoundUnit & operator=(const CCompoundUnit &rhs)
Definition: CompoundUnit.h:132
Definition: SEScalarAmountPerVolume.h:31
SEScalarAmountPerVolume()
Definition: SEScalarAmountPerVolume.h:33
virtual ~SEScalarAmountPerVolume()
Definition: SEScalarAmountPerVolume.h:34
Definition: SEScalar.h:208

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.