SEConditionManager Class Reference

#include <SEConditionManager.h>

Inherits Loggable.

Public Member Functions

 SEConditionManager (Logger *logger=nullptr)
 
 ~SEConditionManager ()
 
void Clear ()
 
void Copy (const SEConditionManager &src, const SESubstanceManager &subMgr)
 
bool Copy (const SECondition &condition, const SESubstanceManager &)
 
bool SerializeToString (std::string &output, eSerializationFormat m) const
 
bool SerializeToFile (const std::string &filename) const
 
bool SerializeFromString (const std::string &src, eSerializationFormat m, const SESubstanceManager &subMgr)
 
bool SerializeFromFile (const std::string &filename, const SESubstanceManager &subMgr)
 
bool IsEmpty () const
 
bool HasAcuteRespiratoryDistressSyndrome () const
 
SEAcuteRespiratoryDistressSyndromeGetAcuteRespiratoryDistressSyndrome ()
 
const SEAcuteRespiratoryDistressSyndromeGetAcuteRespiratoryDistressSyndrome () const
 
bool HasChronicAnemia () const
 
SEChronicAnemiaGetChronicAnemia ()
 
const SEChronicAnemiaGetChronicAnemia () const
 
bool HasChronicObstructivePulmonaryDisease () const
 
SEChronicObstructivePulmonaryDiseaseGetChronicObstructivePulmonaryDisease ()
 
const SEChronicObstructivePulmonaryDiseaseGetChronicObstructivePulmonaryDisease () const
 
bool HasChronicHeartFailure () const
 
bool HasChronicVentricularSystolicDysfunction () const
 
SEChronicVentricularSystolicDysfunctionGetChronicVentricularSystolicDysfunction ()
 
const SEChronicVentricularSystolicDysfunctionGetChronicVentricularSystolicDysfunction () const
 
bool HasChronicPericardialEffusion () const
 
SEChronicPericardialEffusionGetChronicPericardialEffusion ()
 
const SEChronicPericardialEffusionGetChronicPericardialEffusion () const
 
bool HasChronicRenalStenosis () const
 
SEChronicRenalStenosisGetChronicRenalStenosis ()
 
const SEChronicRenalStenosisGetChronicRenalStenosis () const
 
bool HasConsumeMeal () const
 
SEConsumeMealGetConsumeMeal ()
 
const SEConsumeMealGetConsumeMeal () const
 
bool HasDehydration () const
 
SEDehydrationGetDehydration ()
 
const SEDehydrationGetDehydration () const
 
bool HasImpairedAlveolarExchange () const
 
SEImpairedAlveolarExchangeGetImpairedAlveolarExchange ()
 
const SEImpairedAlveolarExchangeGetImpairedAlveolarExchange () const
 
bool HasPneumonia () const
 
SEPneumoniaGetPneumonia ()
 
const SEPneumoniaGetPneumonia () const
 
bool HasPulmonaryFibrosis () const
 
SEPulmonaryFibrosisGetPulmonaryFibrosis ()
 
const SEPulmonaryFibrosisGetPulmonaryFibrosis () const
 
bool HasPulmonaryShunt () const
 
SEPulmonaryShuntGetPulmonaryShunt ()
 
const SEPulmonaryShuntGetPulmonaryShunt () const
 
bool HasSepsis () const
 
SESepsisGetSepsis ()
 
const SESepsisGetSepsis () const
 
bool HasInitialEnvironmentalConditions () const
 
SEInitialEnvironmentalConditionsGetInitialEnvironmentalConditions ()
 
const SEInitialEnvironmentalConditionsGetInitialEnvironmentalConditions () const
 
void GetAllConditions (std::vector< const SECondition * > &v) const
 
- 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

SEAcuteRespiratoryDistressSyndromem_ARDS
 
SEChronicAnemiam_Anemia
 
SEChronicObstructivePulmonaryDiseasem_COPD
 
SEChronicVentricularSystolicDysfunctionm_ChronicVentricularSystolicDysfunction
 
SEConsumeMealm_ConsumeMeal
 
SEDehydrationm_Dehydration
 
SEImpairedAlveolarExchangem_ImpairedAlveolarExchange
 
SEPneumoniam_Pneumonia
 
SEChronicPericardialEffusionm_PericardialEffusion
 
SEChronicRenalStenosism_RenalStenosis
 
SEPulmonaryFibrosism_PulmonaryFibrosis
 
SEPulmonaryShuntm_PulmonaryShunt
 
SESepsism_Sepsis
 
SEInitialEnvironmentalConditionsm_InitialEnvironmentalConditions
 
std::stringstream m_ss
 
- Protected Attributes inherited from Loggable
bool myLogger
 
Loggerm_Logger
 

Friends

class PBEngine
 

Constructor & Destructor Documentation

◆ SEConditionManager()

SEConditionManager::SEConditionManager ( Logger logger = nullptr)

◆ ~SEConditionManager()

SEConditionManager::~SEConditionManager ( )

Member Function Documentation

◆ Clear()

void SEConditionManager::Clear ( )

◆ Copy() [1/2]

bool SEConditionManager::Copy ( const SECondition condition,
const SESubstanceManager subMgr 
)

◆ Copy() [2/2]

void SEConditionManager::Copy ( const SEConditionManager src,
const SESubstanceManager subMgr 
)

◆ GetAcuteRespiratoryDistressSyndrome() [1/2]

SEAcuteRespiratoryDistressSyndrome & SEConditionManager::GetAcuteRespiratoryDistressSyndrome ( )

◆ GetAcuteRespiratoryDistressSyndrome() [2/2]

const SEAcuteRespiratoryDistressSyndrome * SEConditionManager::GetAcuteRespiratoryDistressSyndrome ( ) const

◆ GetAllConditions()

void SEConditionManager::GetAllConditions ( std::vector< const SECondition * > &  v) const

◆ GetChronicAnemia() [1/2]

SEChronicAnemia & SEConditionManager::GetChronicAnemia ( )

◆ GetChronicAnemia() [2/2]

const SEChronicAnemia * SEConditionManager::GetChronicAnemia ( ) const

◆ GetChronicObstructivePulmonaryDisease() [1/2]

SEChronicObstructivePulmonaryDisease & SEConditionManager::GetChronicObstructivePulmonaryDisease ( )

◆ GetChronicObstructivePulmonaryDisease() [2/2]

const SEChronicObstructivePulmonaryDisease * SEConditionManager::GetChronicObstructivePulmonaryDisease ( ) const

◆ GetChronicPericardialEffusion() [1/2]

SEChronicPericardialEffusion & SEConditionManager::GetChronicPericardialEffusion ( )

◆ GetChronicPericardialEffusion() [2/2]

const SEChronicPericardialEffusion * SEConditionManager::GetChronicPericardialEffusion ( ) const

◆ GetChronicRenalStenosis() [1/2]

SEChronicRenalStenosis & SEConditionManager::GetChronicRenalStenosis ( )

◆ GetChronicRenalStenosis() [2/2]

const SEChronicRenalStenosis * SEConditionManager::GetChronicRenalStenosis ( ) const

◆ GetChronicVentricularSystolicDysfunction() [1/2]

SEChronicVentricularSystolicDysfunction & SEConditionManager::GetChronicVentricularSystolicDysfunction ( )

◆ GetChronicVentricularSystolicDysfunction() [2/2]

const SEChronicVentricularSystolicDysfunction * SEConditionManager::GetChronicVentricularSystolicDysfunction ( ) const

◆ GetConsumeMeal() [1/2]

SEConsumeMeal & SEConditionManager::GetConsumeMeal ( )

◆ GetConsumeMeal() [2/2]

const SEConsumeMeal * SEConditionManager::GetConsumeMeal ( ) const

◆ GetDehydration() [1/2]

SEDehydration & SEConditionManager::GetDehydration ( )

◆ GetDehydration() [2/2]

const SEDehydration * SEConditionManager::GetDehydration ( ) const

◆ GetImpairedAlveolarExchange() [1/2]

SEImpairedAlveolarExchange & SEConditionManager::GetImpairedAlveolarExchange ( )

◆ GetImpairedAlveolarExchange() [2/2]

const SEImpairedAlveolarExchange * SEConditionManager::GetImpairedAlveolarExchange ( ) const

◆ GetInitialEnvironmentalConditions() [1/2]

SEInitialEnvironmentalConditions & SEConditionManager::GetInitialEnvironmentalConditions ( )

◆ GetInitialEnvironmentalConditions() [2/2]

const SEInitialEnvironmentalConditions * SEConditionManager::GetInitialEnvironmentalConditions ( ) const

◆ GetPneumonia() [1/2]

SEPneumonia & SEConditionManager::GetPneumonia ( )

◆ GetPneumonia() [2/2]

const SEPneumonia * SEConditionManager::GetPneumonia ( ) const

◆ GetPulmonaryFibrosis() [1/2]

SEPulmonaryFibrosis & SEConditionManager::GetPulmonaryFibrosis ( )

◆ GetPulmonaryFibrosis() [2/2]

const SEPulmonaryFibrosis * SEConditionManager::GetPulmonaryFibrosis ( ) const

◆ GetPulmonaryShunt() [1/2]

SEPulmonaryShunt & SEConditionManager::GetPulmonaryShunt ( )

◆ GetPulmonaryShunt() [2/2]

const SEPulmonaryShunt * SEConditionManager::GetPulmonaryShunt ( ) const

◆ GetSepsis() [1/2]

SESepsis & SEConditionManager::GetSepsis ( )

◆ GetSepsis() [2/2]

const SESepsis * SEConditionManager::GetSepsis ( ) const

◆ HasAcuteRespiratoryDistressSyndrome()

bool SEConditionManager::HasAcuteRespiratoryDistressSyndrome ( ) const

◆ HasChronicAnemia()

bool SEConditionManager::HasChronicAnemia ( ) const

◆ HasChronicHeartFailure()

bool SEConditionManager::HasChronicHeartFailure ( ) const

◆ HasChronicObstructivePulmonaryDisease()

bool SEConditionManager::HasChronicObstructivePulmonaryDisease ( ) const

◆ HasChronicPericardialEffusion()

bool SEConditionManager::HasChronicPericardialEffusion ( ) const

◆ HasChronicRenalStenosis()

bool SEConditionManager::HasChronicRenalStenosis ( ) const

◆ HasChronicVentricularSystolicDysfunction()

bool SEConditionManager::HasChronicVentricularSystolicDysfunction ( ) const

◆ HasConsumeMeal()

bool SEConditionManager::HasConsumeMeal ( ) const

◆ HasDehydration()

bool SEConditionManager::HasDehydration ( ) const

◆ HasImpairedAlveolarExchange()

bool SEConditionManager::HasImpairedAlveolarExchange ( ) const

◆ HasInitialEnvironmentalConditions()

bool SEConditionManager::HasInitialEnvironmentalConditions ( ) const

◆ HasPneumonia()

bool SEConditionManager::HasPneumonia ( ) const

◆ HasPulmonaryFibrosis()

bool SEConditionManager::HasPulmonaryFibrosis ( ) const

◆ HasPulmonaryShunt()

bool SEConditionManager::HasPulmonaryShunt ( ) const

◆ HasSepsis()

bool SEConditionManager::HasSepsis ( ) const

◆ IsEmpty()

bool SEConditionManager::IsEmpty ( ) const

◆ SerializeFromFile()

bool SEConditionManager::SerializeFromFile ( const std::string &  filename,
const SESubstanceManager subMgr 
)

◆ SerializeFromString()

bool SEConditionManager::SerializeFromString ( const std::string &  src,
eSerializationFormat  m,
const SESubstanceManager subMgr 
)

◆ SerializeToFile()

bool SEConditionManager::SerializeToFile ( const std::string &  filename) const

◆ SerializeToString()

bool SEConditionManager::SerializeToString ( std::string &  output,
eSerializationFormat  m 
) const

Friends And Related Function Documentation

◆ PBEngine

friend class PBEngine
friend

Member Data Documentation

◆ m_Anemia

SEChronicAnemia* SEConditionManager::m_Anemia
protected

◆ m_ARDS

SEAcuteRespiratoryDistressSyndrome* SEConditionManager::m_ARDS
protected

◆ m_ChronicVentricularSystolicDysfunction

SEChronicVentricularSystolicDysfunction* SEConditionManager::m_ChronicVentricularSystolicDysfunction
protected

◆ m_ConsumeMeal

SEConsumeMeal* SEConditionManager::m_ConsumeMeal
protected

◆ m_COPD

SEChronicObstructivePulmonaryDisease* SEConditionManager::m_COPD
protected

◆ m_Dehydration

SEDehydration* SEConditionManager::m_Dehydration
protected

◆ m_ImpairedAlveolarExchange

SEImpairedAlveolarExchange* SEConditionManager::m_ImpairedAlveolarExchange
protected

◆ m_InitialEnvironmentalConditions

SEInitialEnvironmentalConditions* SEConditionManager::m_InitialEnvironmentalConditions
protected

◆ m_PericardialEffusion

SEChronicPericardialEffusion* SEConditionManager::m_PericardialEffusion
protected

◆ m_Pneumonia

SEPneumonia* SEConditionManager::m_Pneumonia
protected

◆ m_PulmonaryFibrosis

SEPulmonaryFibrosis* SEConditionManager::m_PulmonaryFibrosis
protected

◆ m_PulmonaryShunt

SEPulmonaryShunt* SEConditionManager::m_PulmonaryShunt
protected

◆ m_RenalStenosis

SEChronicRenalStenosis* SEConditionManager::m_RenalStenosis
protected

◆ m_Sepsis

SESepsis* SEConditionManager::m_Sepsis
protected

◆ m_ss

std::stringstream SEConditionManager::m_ss
protected

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.