SEConditionManager Class Reference

#include <SEConditionManager.h>

Inherits Loggable.

Public Member Functions

 SEConditionManager (SESubstanceManager &)
 
 ~SEConditionManager ()
 
void Clear ()
 
void Copy (const SEConditionManager &src)
 
bool SerializeToString (std::string &output, SerializationFormat m) const
 
bool SerializeToFile (const std::string &filename, SerializationFormat m) const
 
bool SerializeFromString (const std::string &src, SerializationFormat m)
 
bool SerializeFromFile (const std::string &filename, SerializationFormat m)
 
bool ProcessCondition (const SECondition &condition)
 
bool IsEmpty () 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 HasImpairedAlveolarExchange () const
 
SEImpairedAlveolarExchangeGetImpairedAlveolarExchange ()
 
const SEImpairedAlveolarExchangeGetImpairedAlveolarExchange () const
 
bool HasLobarPneumonia () const
 
SELobarPneumoniaGetLobarPneumonia ()
 
const SELobarPneumoniaGetLobarPneumonia () const
 
bool HasInitialEnvironmentConditions () const
 
SEInitialEnvironmentConditionsGetInitialEnvironmentConditions ()
 
const SEInitialEnvironmentConditionsGetInitialEnvironmentConditions () const
 
void GetAllConditions (std::vector< const SECondition *> &v) const
 
- Public Member Functions inherited from Loggable
 Loggable ()
 
 Loggable (Logger *log)
 
virtual ~Loggable ()
 
virtual LoggerGetLogger () const
 
virtual void Debug (std::string const &msg, std::string const &origin=empty) const
 
virtual void Debug (std::stringstream &msg, std::string const &origin=empty) const
 
virtual void Debug (std::ostream &msg, std::string const &origin=empty) const
 
virtual void Info (std::string const &msg, std::string const &origin=empty) const
 
virtual void Info (std::stringstream &msg, std::string const &origin=empty) const
 
virtual void Info (const std::stringstream &msg, std::string const &origin=empty) const
 
virtual void Info (std::ostream &msg, std::string const &origin=empty) const
 
virtual void Warning (std::string const &msg, std::string const &origin=empty) const
 
virtual void Warning (std::stringstream &msg, std::string const &origin=empty) const
 
virtual void Warning (std::ostream &msg, std::string const &origin=empty) const
 
virtual void Error (std::string const &msg, std::string const &origin=empty) const
 
virtual void Error (std::stringstream &msg, std::string const &origin=empty) const
 
virtual void Error (std::ostream &msg, std::string const &origin=empty) const
 
virtual void Fatal (std::string const &msg, std::string const &origin=empty) const
 
virtual void Fatal (std::stringstream &msg, std::string const &origin=empty) const
 
virtual void Fatal (std::ostream &msg, std::string const &origin=empty) const
 

Protected Attributes

SESubstanceManagerm_Substances
 
SEChronicAnemiam_Anemia
 
SEConsumeMealm_ConsumeMeal
 
SEChronicObstructivePulmonaryDiseasem_COPD
 
SEChronicVentricularSystolicDysfunctionm_ChronicVentricularSystolicDysfunction
 
SEImpairedAlveolarExchangem_ImpairedAlveolarExchange
 
SEChronicPericardialEffusionm_PericardialEffusion
 
SELobarPneumoniam_LobarPneumonia
 
SEChronicRenalStenosism_RenalStenosis
 
SEInitialEnvironmentConditionsm_InitialEnvironmentConditions
 
std::stringstream m_ss
 
- Protected Attributes inherited from Loggable
Loggerm_Logger
 

Friends

class PBEngine
 

Additional Inherited Members

- Static Public Attributes inherited from Loggable
static const std::string empty
 

Constructor & Destructor Documentation

◆ SEConditionManager()

SEConditionManager::SEConditionManager ( SESubstanceManager substances)

◆ ~SEConditionManager()

SEConditionManager::~SEConditionManager ( )

Member Function Documentation

◆ Clear()

void SEConditionManager::Clear ( )

◆ Copy()

void SEConditionManager::Copy ( const SEConditionManager src)

◆ 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

◆ GetImpairedAlveolarExchange() [1/2]

SEImpairedAlveolarExchange * SEConditionManager::GetImpairedAlveolarExchange ( )

◆ GetImpairedAlveolarExchange() [2/2]

const SEImpairedAlveolarExchange * SEConditionManager::GetImpairedAlveolarExchange ( ) const

◆ GetInitialEnvironmentConditions() [1/2]

SEInitialEnvironmentConditions * SEConditionManager::GetInitialEnvironmentConditions ( )

◆ GetInitialEnvironmentConditions() [2/2]

const SEInitialEnvironmentConditions * SEConditionManager::GetInitialEnvironmentConditions ( ) const

◆ GetLobarPneumonia() [1/2]

SELobarPneumonia * SEConditionManager::GetLobarPneumonia ( )

◆ GetLobarPneumonia() [2/2]

const SELobarPneumonia * SEConditionManager::GetLobarPneumonia ( ) 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

◆ HasImpairedAlveolarExchange()

bool SEConditionManager::HasImpairedAlveolarExchange ( ) const

◆ HasInitialEnvironmentConditions()

bool SEConditionManager::HasInitialEnvironmentConditions ( ) const

◆ HasLobarPneumonia()

bool SEConditionManager::HasLobarPneumonia ( ) const

◆ IsEmpty()

bool SEConditionManager::IsEmpty ( ) const

◆ ProcessCondition()

bool SEConditionManager::ProcessCondition ( const SECondition condition)
Error:
Unsupported Condition

◆ SerializeFromFile()

bool SEConditionManager::SerializeFromFile ( const std::string &  filename,
SerializationFormat  m 
)

◆ SerializeFromString()

bool SEConditionManager::SerializeFromString ( const std::string &  src,
SerializationFormat  m 
)

◆ SerializeToFile()

bool SEConditionManager::SerializeToFile ( const std::string &  filename,
SerializationFormat  m 
) const

◆ SerializeToString()

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

Friends And Related Function Documentation

◆ PBEngine

friend class PBEngine
friend

Member Data Documentation

◆ m_Anemia

SEChronicAnemia* SEConditionManager::m_Anemia
protected

◆ m_ChronicVentricularSystolicDysfunction

SEChronicVentricularSystolicDysfunction* SEConditionManager::m_ChronicVentricularSystolicDysfunction
protected

◆ m_ConsumeMeal

SEConsumeMeal* SEConditionManager::m_ConsumeMeal
protected

◆ m_COPD

SEChronicObstructivePulmonaryDisease* SEConditionManager::m_COPD
protected

◆ m_ImpairedAlveolarExchange

SEImpairedAlveolarExchange* SEConditionManager::m_ImpairedAlveolarExchange
protected

◆ m_InitialEnvironmentConditions

SEInitialEnvironmentConditions* SEConditionManager::m_InitialEnvironmentConditions
protected

◆ m_LobarPneumonia

SELobarPneumonia* SEConditionManager::m_LobarPneumonia
protected

◆ m_PericardialEffusion

SEChronicPericardialEffusion* SEConditionManager::m_PericardialEffusion
protected

◆ m_RenalStenosis

SEChronicRenalStenosis* SEConditionManager::m_RenalStenosis
protected

◆ m_ss

std::stringstream SEConditionManager::m_ss
protected

◆ m_Substances

SESubstanceManager& SEConditionManager::m_Substances
protected