SEImpairedAlveolarExchange.h
1 /**************************************************************************************
2 Copyright 2015 Applied Research Associates, Inc.
3 Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4 this file except in compliance with the License. You may obtain a copy of the License
5 at:
6 http://www.apache.org/licenses/LICENSE-2.0
7 Unless required by applicable law or agreed to in writing, software distributed under
8 the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
9 CONDITIONS OF ANY KIND, either express or implied. See the License for the
10 specific language governing permissions and limitations under the License.
11 **************************************************************************************/
12 #pragma once
13 #include <biogears/cdm/patient/conditions/SEPatientCondition.h>
14 #include <biogears/schema/cdm/PatientConditions.hxx>
15 
16 namespace biogears {
17 class SEScalarArea;
18 class AreaUnit;
19 class SEScalar0To1;
20 
21 class BIOGEARS_API SEImpairedAlveolarExchange : public SEPatientCondition {
22 public:
24  virtual ~SEImpairedAlveolarExchange();
25 
26  virtual void Clear();
27 
28  virtual bool IsValid() const;
29 
30  virtual bool Load(const CDM::ImpairedAlveolarExchangeData& in);
31  virtual CDM::ImpairedAlveolarExchangeData* Unload() const;
32 
33 protected:
34  virtual void Unload(CDM::ImpairedAlveolarExchangeData& data) const;
35 
36 public:
37  virtual std::string GetName() const { return "ImpairedAlveolarExchange"; }
38  virtual const char* GetName_cStr() const { return "ImpairedAlveolarExchange"; }
39 
40  virtual bool HasImpairedSurfaceArea() const;
41  virtual SEScalarArea& GetImpairedSurfaceArea();
42  virtual double GetImpairedSurfaceArea(const AreaUnit& unit) const;
43 
44  virtual bool HasImpairedFraction() const;
45  virtual SEScalar0To1& GetImpairedFraction();
46  virtual double GetImpairedFraction() const;
47 
48  virtual void ToString(std::ostream& str) const;
49 
50 protected:
53 };
54 }
SEScalar0To1 * m_ImpairedFraction
Definition: SEImpairedAlveolarExchange.h:52
SEScalarArea * m_ImpairedSurfaceArea
Definition: SEImpairedAlveolarExchange.h:51
Definition: SEImpairedAlveolarExchange.h:21
virtual const char * GetName_cStr() const
Definition: SEImpairedAlveolarExchange.h:38
Definition: SEPatientCondition.h:18
Definition: SEScalar0To1.h:17
Definition: SEScalarArea.h:33
Definition: SEScalarArea.h:18
virtual std::string GetName() const
Definition: SEImpairedAlveolarExchange.h:37
Definition: SEElectricalCircuit.h:18
Class corresponding to the ImpairedAlveolarExchangeData schema type.
Definition: PatientConditions.hxx:2289