<
The Pulse Team is excited to announce the Pulse Physiology Engine 4.1.0 release. Upgrade now to get the best in dynamic simulation.
×
SEImpairedAlveolarExchange.h
1 /* Distributed under the Apache License, Version 2.0.
2  See accompanying NOTICE file for details.*/
3 #pragma once
4 #include "cdm/patient/conditions/SEPatientCondition.h"
5 
7 {
8  friend class PBPatientCondition;//friend the serialization class
9 public:
10 
11  SEImpairedAlveolarExchange(Logger* logger=nullptr);
12  virtual ~SEImpairedAlveolarExchange();
13 
14  virtual void Clear();
15  virtual void Copy(const SEImpairedAlveolarExchange& src);
16 
17  virtual bool IsValid() const;
18  virtual bool IsActive() const;
19 
20  virtual std::string GetName() const { return "ImpairedAlveolarExchange"; }
21 
22  virtual bool HasImpairedSurfaceArea() const;
23  virtual SEScalarArea& GetImpairedSurfaceArea();
24  virtual double GetImpairedSurfaceArea(const AreaUnit& unit) const;
25 
26  virtual bool HasImpairedFraction() const;
27  virtual SEScalar0To1& GetImpairedFraction();
28  virtual double GetImpairedFraction() const;
29 
30  virtual bool HasSeverity() const;
31  virtual SEScalar0To1& GetSeverity();
32  virtual double GetSeverity() const;
33 
34  virtual void ToString(std::ostream &str) const;
35 
36 protected:
37 
41 };
virtual void ToString(std::ostream &str) const =0
Definition: SEScalarArea.h:24
Definition: Logger.h:66
Definition: SEImpairedAlveolarExchange.h:6
virtual std::string GetName() const
Definition: SEImpairedAlveolarExchange.h:20
Definition: PBPatientConditions.h:22
virtual bool IsValid() const =0
Definition: SEPatientCondition.h:7
Definition: SEScalarArea.h:7
SEScalar0To1 * m_Severity
Definition: SEImpairedAlveolarExchange.h:40
virtual bool IsActive() const =0
virtual void Clear()
Definition: SEPatientCondition.cpp:17
static void Copy(const SEAcuteRespiratoryDistressSyndrome &src, SEAcuteRespiratoryDistressSyndrome &dst)
Definition: PBPatientConditions.cpp:67
SEScalar0To1 * m_ImpairedFraction
Definition: SEImpairedAlveolarExchange.h:39
SEScalarArea * m_ImpairedSurfaceArea
Definition: SEImpairedAlveolarExchange.h:38
Definition: SEScalar0To1.h:7

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.