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

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.