SESubstanceAerosolization.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 
13 #pragma once
14 #include <biogears/cdm/CommonDataModel.h>
15 #include <biogears/exports.h>
16 #include <biogears/schema/cdm/Substance.hxx>
17 
18 namespace biogears {
19 class SEScalar;
20 class SEScalarNeg1To1;
21 class SEScalar0To1;
22 class SEHistogramFractionVsLength;
23 
24 class BIOGEARS_API SESubstanceAerosolization : public Loggable {
25 public:
27  virtual ~SESubstanceAerosolization();
28 
29  virtual void Clear();
30  virtual bool IsValid() const;
31 
32  virtual const SEScalar* GetScalar(const char* name);
33  virtual const SEScalar* GetScalar(const std::string& name);
34 
35  virtual bool Load(const CDM::SubstanceAerosolizationData& in);
36  virtual CDM::SubstanceAerosolizationData* Unload() const;
37 
38 protected:
39  virtual void Unload(CDM::SubstanceAerosolizationData& data) const;
40 
41 public:
42  virtual bool HasBronchioleModifier() const;
43  virtual SEScalarNeg1To1& GetBronchioleModifier();
44  virtual double GetBronchioleModifier() const;
45 
46  virtual bool HasInflammationCoefficient() const;
47  virtual SEScalar0To1& GetInflammationCoefficient();
48  virtual double GetInflammationCoefficient() const;
49 
50  virtual bool HasParticulateSizeDistribution() const;
51  virtual SEHistogramFractionVsLength& GetParticulateSizeDistribution();
52  virtual const SEHistogramFractionVsLength* GetParticulateSizeDistribution() const;
53 
54 protected:
58 };
59 }
Definition: SESubstanceAerosolization.h:24
Definition: SEScalar.h:33
SEHistogramFractionVsLength * m_ParticulateSizeDistribution
Definition: SESubstanceAerosolization.h:57
SEScalarNeg1To1 * m_BronchioleModifier
Definition: SESubstanceAerosolization.h:55
Definition: Logger.h:27
Definition: SEHistogramFractionVsLength.h:20
Definition: Logger.h:75
Class corresponding to the SubstanceAerosolizationData schema type.
Definition: Substance.hxx:1480
Definition: SEScalar0To1.h:17
SEScalar0To1 * m_InflammationCoefficient
Definition: SESubstanceAerosolization.h:56
Definition: SEElectricalCircuit.h:18
Definition: SEScalarNeg1To1.h:18