SEScalarOsmolarity.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 OsmolarityUnit : public CCompoundUnit
8 {
9 public:
10  OsmolarityUnit(const std::string& u) : CCompoundUnit(u) {}
11  virtual ~OsmolarityUnit() {}
12 
13  static bool IsValidUnit(const std::string& unit);
14  static const OsmolarityUnit& GetCompoundUnit(const std::string& unit);
15 
16  static const OsmolarityUnit Osm_Per_L;
17  static const OsmolarityUnit mOsm_Per_L;
18 };
19 
20 class CDM_DECL SEScalarOsmolarity : public SEScalarQuantity<OsmolarityUnit>
21 {
22 public:
24  virtual ~SEScalarOsmolarity() {}
25 };
virtual ~OsmolarityUnit()
Definition: SEScalarOsmolarity.h:11
static const OsmolarityUnit Osm_Per_L
Definition: SEScalarOsmolarity.h:16
static const OsmolarityUnit mOsm_Per_L
Definition: SEScalarOsmolarity.h:17
Definition: SEScalar.h:127
SEScalarOsmolarity()
Definition: SEScalarOsmolarity.h:23
Definition: SEScalarOsmolarity.h:7
Definition: SEScalarOsmolarity.h:20
virtual ~SEScalarOsmolarity()
Definition: SEScalarOsmolarity.h:24
Definition: CompoundUnit.h:39
OsmolarityUnit(const std::string &u)
Definition: SEScalarOsmolarity.h:10