SEGastrointestinalSystem.h
1 /* Distributed under the Apache License, Version 2.0.
2  See accompanying NOTICE file for details.*/
3 
4 #pragma once
5 #include "system/SESystem.h"
6 class SENutrition;
7 
8 class CDM_DECL SEGastrointestinalSystem : public SESystem
9 {
10  friend class PBPhysiology;//friend the serialization class
11 public:
12 
14  virtual ~SEGastrointestinalSystem();
15 
16  virtual void Clear();// Deletes all members
17 
18  virtual const SEScalar* GetScalar(const std::string& name);
19 
20  virtual bool HasChymeAbsorptionRate() const;
21  virtual SEScalarVolumePerTime& GetChymeAbsorptionRate();
22  virtual double GetChymeAbsorptionRate(const VolumePerTimeUnit& unit) const;
23 
24  virtual bool HasStomachContents() const;
25  virtual SENutrition& GetStomachContents();
26  virtual const SENutrition* GetStomachContents() const;
27  virtual void RemoveStomachContents();
28 
29 protected:
30 
33 };
Definition: SEScalar.h:19
Definition: Logger.h:61
SEScalarVolumePerTime * m_ChymeAbsorptionRate
Definition: SEGastrointestinalSystem.h:31
Definition: SEGastrointestinalSystem.h:8
Definition: SENutrition.h:6
Definition: SEScalarVolumePerTime.h:7
Definition: SESystem.h:7
Definition: SEScalarVolumePerTime.h:26
SENutrition * m_StomachContents
Definition: SEGastrointestinalSystem.h:32
Definition: PBPhysiology.h:20
virtual const SEScalar * GetScalar(const std::string &name)=0
virtual void Clear()
Definition: SESystem.cpp:17