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

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.