<
The Pulse Team is excited to announce the Pulse Physiology Engine 4.1.0 release. Upgrade now to get the best in dynamic simulation.
×
SEScalarAmount.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 AmountUnit : public CCompoundUnit
8 {
9 public:
10  AmountUnit(const std::string& u) : CCompoundUnit(u) {}
11  virtual ~AmountUnit() {}
12 
13  // Please use static units below
14  AmountUnit(const AmountUnit&) = delete;
15  AmountUnit& operator= (const AmountUnit&) = delete;
16 
17  static bool IsValidUnit(const std::string& unit);
18  static const AmountUnit& GetCompoundUnit(const std::string& unit);
19 
20  static const AmountUnit mol;
21  static const AmountUnit pmol;
22 };
23 
24 class CDM_DECL SEScalarAmount : public SEScalarQuantity<AmountUnit>
25 {
26 public:
28  virtual ~SEScalarAmount() {}
29 };
static const AmountUnit mol
Definition: SEScalarAmount.h:20
CCompoundUnit & operator=(const CCompoundUnit &rhs)
Definition: CompoundUnit.h:132
SEScalarAmount()
Definition: SEScalarAmount.h:27
Definition: SEScalarAmount.h:24
Definition: SEScalar.h:206
Definition: SEScalarAmount.h:7
static const AmountUnit pmol
Definition: SEScalarAmount.h:21
virtual ~SEScalarAmount()
Definition: SEScalarAmount.h:28
AmountUnit(const std::string &u)
Definition: SEScalarAmount.h:10
Definition: CompoundUnit.h:39
virtual ~AmountUnit()
Definition: SEScalarAmount.h:11

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.