SEECMOSettings Class Reference
#include <SEECMOSettings.h>
Inherits Loggable.
Public Member Functions | |
SEECMOSettings (Logger *logger) | |
virtual | ~SEECMOSettings () |
virtual void | Clear () |
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) |
virtual void | Merge (const SEECMOSettings &from) |
virtual void | ProcessConfiguration (SEECMOConfiguration &config, SESubstanceManager &subMgr) |
virtual const SEScalar * | GetScalar (const std::string &name) |
virtual bool | HasInflowLocation () const |
virtual eECMO_CannulationLocation | GetInflowLocation () const |
virtual void | SetInflowLocation (eECMO_CannulationLocation c) |
virtual bool | HasOutflowLocation () const |
virtual eECMO_CannulationLocation | GetOutflowLocation () const |
virtual void | SetOutflowLocation (eECMO_CannulationLocation c) |
virtual bool | HasOxygenatorVolume () const |
virtual SEScalarVolume & | GetOxygenatorVolume () |
virtual double | GetOxygenatorVolume (const VolumeUnit &unit) const |
virtual bool | HasTransfusionFlow () const |
virtual SEScalarVolumePerTime & | GetTransfusionFlow () |
virtual double | GetTransfusionFlow (const VolumePerTimeUnit &unit) const |
bool | HasSubstanceConcentrations () const |
bool | HasSubstanceConcentration (const SESubstance &substance) const |
const std::vector< SESubstanceConcentration * > & | GetSubstanceConcentrations () |
const std::vector< const SESubstanceConcentration * > | GetSubstanceConcentrations () const |
SESubstanceConcentration & | GetSubstanceConcentration (const SESubstance &substance) |
const SESubstanceConcentration * | GetSubstanceConcentration (const SESubstance &substance) const |
void | RemoveSubstanceConcentration (const SESubstance &substance) |
void | RemoveSubstanceConcentrations () |
virtual bool | HasSubstanceCompound () const |
virtual void | SetSubstanceCompound (const SESubstanceCompound &c) |
virtual const SESubstanceCompound * | GetSubstanceCompound () const |
virtual void | RemoveSubstanceCompound () |
Public Member Functions inherited from Loggable | |
Loggable (Logger *logger=nullptr) | |
Loggable (std::string const &logfile) | |
virtual | ~Loggable () |
virtual Logger * | GetLogger () 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 | |
eECMO_CannulationLocation | m_InflowLocation |
eECMO_CannulationLocation | m_OutflowLocation |
SEScalarVolume * | m_OxygenatorVolume |
SEScalarVolumePerTime * | m_TransfusionFlow |
const SESubstanceCompound * | m_SubstanceCompound |
std::vector< SESubstanceConcentration * > | m_SubstanceConcentrations |
Protected Attributes inherited from Loggable | |
bool | myLogger |
Logger * | m_Logger |
Friends | |
class | PBECMO |
Constructor & Destructor Documentation
◆ SEECMOSettings()
SEECMOSettings::SEECMOSettings | ( | Logger * | logger | ) |
◆ ~SEECMOSettings()
|
virtual |
Member Function Documentation
◆ Clear()
|
virtual |
◆ GetInflowLocation()
|
virtual |
◆ GetOutflowLocation()
|
virtual |
◆ GetOxygenatorVolume() [1/2]
|
virtual |
◆ GetOxygenatorVolume() [2/2]
|
virtual |
◆ GetScalar()
|
virtual |
◆ GetSubstanceCompound()
|
virtual |
◆ GetSubstanceConcentration() [1/2]
SESubstanceConcentration & SEECMOSettings::GetSubstanceConcentration | ( | const SESubstance & | substance | ) |
◆ GetSubstanceConcentration() [2/2]
const SESubstanceConcentration * SEECMOSettings::GetSubstanceConcentration | ( | const SESubstance & | substance | ) | const |
◆ GetSubstanceConcentrations() [1/2]
const std::vector< SESubstanceConcentration * > & SEECMOSettings::GetSubstanceConcentrations | ( | ) |
◆ GetSubstanceConcentrations() [2/2]
const std::vector< const SESubstanceConcentration * > SEECMOSettings::GetSubstanceConcentrations | ( | ) | const |
◆ GetTransfusionFlow() [1/2]
|
virtual |
◆ GetTransfusionFlow() [2/2]
|
virtual |
◆ HasInflowLocation()
|
virtual |
◆ HasOutflowLocation()
|
virtual |
◆ HasOxygenatorVolume()
|
virtual |
◆ HasSubstanceCompound()
|
virtual |
◆ HasSubstanceConcentration()
bool SEECMOSettings::HasSubstanceConcentration | ( | const SESubstance & | substance | ) | const |
◆ HasSubstanceConcentrations()
bool SEECMOSettings::HasSubstanceConcentrations | ( | ) | const |
◆ HasTransfusionFlow()
|
virtual |
◆ Merge()
|
virtual |
◆ ProcessConfiguration()
|
virtual |
◆ RemoveSubstanceCompound()
|
virtual |
◆ RemoveSubstanceConcentration()
void SEECMOSettings::RemoveSubstanceConcentration | ( | const SESubstance & | substance | ) |
◆ RemoveSubstanceConcentrations()
void SEECMOSettings::RemoveSubstanceConcentrations | ( | ) |
◆ SerializeFromFile()
bool SEECMOSettings::SerializeFromFile | ( | const std::string & | filename, |
const SESubstanceManager & | subMgr | ||
) |
◆ SerializeFromString()
bool SEECMOSettings::SerializeFromString | ( | const std::string & | src, |
eSerializationFormat | m, | ||
const SESubstanceManager & | subMgr | ||
) |
◆ SerializeToFile()
bool SEECMOSettings::SerializeToFile | ( | const std::string & | filename | ) | const |
◆ SerializeToString()
bool SEECMOSettings::SerializeToString | ( | std::string & | output, |
eSerializationFormat | m | ||
) | const |
◆ SetInflowLocation()
|
virtual |
◆ SetOutflowLocation()
|
virtual |
◆ SetSubstanceCompound()
|
virtual |
Friends And Related Function Documentation
◆ PBECMO
|
friend |
Member Data Documentation
◆ m_InflowLocation
|
protected |
◆ m_OutflowLocation
|
protected |
◆ m_OxygenatorVolume
|
protected |
◆ m_SubstanceCompound
|
protected |
◆ m_SubstanceConcentrations
|
protected |
◆ m_TransfusionFlow
|
protected |