SEImpairedAlveolarExchangeExacerbation.h
1/* Distributed under the Apache License, Version 2.0.
2 See accompanying NOTICE file for details.*/
3#pragma once
4#include "cdm/patient/actions/SEPatientAction.h"
5
7{
8 friend class PBPatientAction;//friend the serialization class
9public:
10
13
14 static constexpr char const* Name = "Impaired Alveolar Exchange Exacerbation";
15 std::string GetName() const override { return Name; }
16
17 void Clear() override;
18 void Copy(const SEImpairedAlveolarExchangeExacerbation& src, bool /*preserveState*/=false);
19
20 const SEScalar* GetScalar(const std::string& name) override;
21
22 bool IsValid() const override;
23 bool IsActive() const override;
24 void Deactivate() override;
25
26 virtual bool HasImpairedSurfaceArea() const;
27 virtual SEScalarArea& GetImpairedSurfaceArea();
28 virtual double GetImpairedSurfaceArea(const AreaUnit& unit) const;
29
30 virtual bool HasImpairedFraction() const;
31 virtual SEScalar0To1& GetImpairedFraction();
32 virtual double GetImpairedFraction() const;
33
34 virtual bool HasSeverity() const;
35 virtual SEScalar0To1& GetSeverity();
36 virtual double GetSeverity() const;
37
38protected:
39
43};
Definition: SEScalarArea.h:8
Definition: Logger.h:71
Definition: PBPatientActions.h:52
virtual const SEScalar * GetScalar(const std::string &name)=0
static SEAction * Copy(const SEAction &, const SESubstanceManager &)
Definition: SEAction.cpp:53
Definition: SEImpairedAlveolarExchangeExacerbation.h:7
std::string GetName() const override
Definition: SEImpairedAlveolarExchangeExacerbation.h:15
SEScalarArea * m_ImpairedSurfaceArea
Definition: SEImpairedAlveolarExchangeExacerbation.h:40
SEScalar0To1 * m_ImpairedFraction
Definition: SEImpairedAlveolarExchangeExacerbation.h:41
SEScalar0To1 * m_Severity
Definition: SEImpairedAlveolarExchangeExacerbation.h:42
Definition: SEPatientAction.h:8
void Deactivate() override
Definition: SEPatientAction.h:23
void Clear() override
Definition: SEPatientAction.h:18
bool IsValid() const override
Definition: SEPatientAction.h:19
bool IsActive() const override
Definition: SEPatientAction.h:22
Definition: SEScalar0To1.h:8
Definition: SEScalarArea.h:25
Definition: SEScalar.h:19

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.