SEGastrointestinalSystem.h
1/* Distributed under the Apache License, Version 2.0.
2 See accompanying NOTICE file for details.*/
3
4#pragma once
5#include "cdm/system/SESystem.h"
6class SENutrition;
7
8class CDM_DECL SEGastrointestinalSystem : public SESystem
9{
10 friend class PBPhysiology;//friend the serialization class
11public:
12
15
16 void Clear() override;// Deletes all members
17
18 const SEScalar* GetScalar(const std::string& name) override;
19
20 virtual bool HasWaterAbsorptionRate() const;
21 virtual SEScalarVolumePerTime& GetWaterAbsorptionRate();
22 virtual double GetWaterAbsorptionRate(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
29protected:
30
33};
Definition: Logger.h:71
Definition: PBPhysiology.h:24
Definition: SEGastrointestinalSystem.h:9
SEScalarVolumePerTime * m_WaterAbsorptionRate
Definition: SEGastrointestinalSystem.h:31
SENutrition * m_StomachContents
Definition: SEGastrointestinalSystem.h:32
Definition: SENutrition.h:7
Definition: SEScalar.h:19
Definition: SEScalarVolumePerTime.h:32
Definition: SESystem.h:8
virtual const SEScalar * GetScalar(const std::string &name)=0
virtual void Clear()
Definition: SESystem.cpp:17
Definition: SEScalarVolumePerTime.h:8

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.