SEGastrointestinalSystem Class Reference

#include <SEGastrointestinalSystem.h>

Inherits SESystem.

Public Member Functions

 SEGastrointestinalSystem (Logger *logger)
 
virtual ~SEGastrointestinalSystem ()
 
void Clear () override
 
const SEScalarGetScalar (const std::string &name) override
 
virtual bool HasWaterAbsorptionRate () const
 
virtual SEScalarVolumePerTimeGetWaterAbsorptionRate ()
 
virtual double GetWaterAbsorptionRate (const VolumePerTimeUnit &unit) const
 
virtual bool HasStomachContents () const
 
virtual SENutritionGetStomachContents ()
 
virtual const SENutritionGetStomachContents () const
 
virtual void RemoveStomachContents ()
 
- Public Member Functions inherited from SESystem
 SESystem (Logger *logger)
 
virtual ~SESystem ()
 
virtual void Clear ()
 
- Public Member Functions inherited from Loggable
 Loggable (Logger *logger=nullptr)
 
 Loggable (std::string const &logfile)
 
virtual ~Loggable ()
 
virtual LoggerGetLogger () const
 
virtual void SetLogger (Logger &logger)
 
virtual void Debug (std::string const &msg) const
 
virtual void Debug (std::stringstream &msg) const
 
virtual void Debug (std::ostream &msg) const
 
virtual void Info (std::string const &msg) const
 
virtual void Info (std::stringstream &msg) const
 
virtual void Info (const std::stringstream &msg) const
 
virtual void Info (std::ostream &msg) const
 
virtual void Warning (std::string const &msg) const
 
virtual void Warning (std::stringstream &msg) const
 
virtual void Warning (std::ostream &msg) const
 
virtual void Error (std::string const &msg) const
 
virtual void Error (std::stringstream &msg) const
 
virtual void Error (std::ostream &msg) const
 
virtual void Fatal (std::string const &msg) const
 
virtual void Fatal (std::stringstream &msg) const
 
virtual void Fatal (std::ostream &msg) const
 

Protected Attributes

SEScalarVolumePerTimem_WaterAbsorptionRate
 
SENutritionm_StomachContents
 
- Protected Attributes inherited from SESystem
std::stringstream m_ss
 
- Protected Attributes inherited from Loggable
bool myLogger
 
Loggerm_Logger
 

Friends

class PBPhysiology
 

Additional Inherited Members

- Static Public Member Functions inherited from SESystem
static const SEScalarGetScalar (const std::string &name, std::vector< SESystem * > *systems)
 

Constructor & Destructor Documentation

◆ SEGastrointestinalSystem()

SEGastrointestinalSystem::SEGastrointestinalSystem ( Logger logger)

◆ ~SEGastrointestinalSystem()

SEGastrointestinalSystem::~SEGastrointestinalSystem ( )
virtual

Member Function Documentation

◆ Clear()

void SEGastrointestinalSystem::Clear ( )
overridevirtual

Reimplemented from SESystem.

◆ GetScalar()

const SEScalar * SEGastrointestinalSystem::GetScalar ( const std::string &  name)
overridevirtual

Implements SESystem.

◆ GetStomachContents() [1/2]

SENutrition & SEGastrointestinalSystem::GetStomachContents ( )
virtual

◆ GetStomachContents() [2/2]

const SENutrition * SEGastrointestinalSystem::GetStomachContents ( ) const
virtual

◆ GetWaterAbsorptionRate() [1/2]

SEScalarVolumePerTime & SEGastrointestinalSystem::GetWaterAbsorptionRate ( )
virtual

◆ GetWaterAbsorptionRate() [2/2]

double SEGastrointestinalSystem::GetWaterAbsorptionRate ( const VolumePerTimeUnit unit) const
virtual

◆ HasStomachContents()

bool SEGastrointestinalSystem::HasStomachContents ( ) const
virtual

◆ HasWaterAbsorptionRate()

bool SEGastrointestinalSystem::HasWaterAbsorptionRate ( ) const
virtual

◆ RemoveStomachContents()

void SEGastrointestinalSystem::RemoveStomachContents ( )
virtual

Friends And Related Function Documentation

◆ PBPhysiology

friend class PBPhysiology
friend

Member Data Documentation

◆ m_StomachContents

SENutrition* SEGastrointestinalSystem::m_StomachContents
protected

◆ m_WaterAbsorptionRate

SEScalarVolumePerTime* SEGastrointestinalSystem::m_WaterAbsorptionRate
protected

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.