SEScalarOsmolality.h
1 /* Distributed under the Apache License, Version 2.0.
2  See accompanying NOTICE file for details.*/
3 
4 #pragma once
5 #include "properties/SEScalar.h"
6 
7 class CDM_DECL OsmolalityUnit : public CCompoundUnit
8 {
9 public:
10  OsmolalityUnit(const std::string& u) : CCompoundUnit(u) {}
11  virtual ~OsmolalityUnit() {}
12 
13  static bool IsValidUnit(const std::string& unit);
14  static const OsmolalityUnit& GetCompoundUnit(const std::string& unit);
15 
16  static const OsmolalityUnit Osm_Per_kg;
18 };
19 
20 class CDM_DECL SEScalarOsmolality : public SEScalarQuantity<OsmolalityUnit>
21 {
22 public:
24  virtual ~SEScalarOsmolality() {}
25 };
static const OsmolalityUnit mOsm_Per_kg
Definition: SEScalarOsmolality.h:17
Definition: SEScalarOsmolality.h:7
Definition: SEScalar.h:127
static const OsmolalityUnit Osm_Per_kg
Definition: SEScalarOsmolality.h:16
OsmolalityUnit(const std::string &u)
Definition: SEScalarOsmolality.h:10
Definition: SEScalarOsmolality.h:20
virtual ~SEScalarOsmolality()
Definition: SEScalarOsmolality.h:24
virtual ~OsmolalityUnit()
Definition: SEScalarOsmolality.h:11
SEScalarOsmolality()
Definition: SEScalarOsmolality.h:23
Definition: CompoundUnit.h:39