SEPatientConfiguration Class Reference
#include <SEPatientConfiguration.h>
Inherits Loggable.
Public Member Functions | |
SEPatientConfiguration (Logger *logger=nullptr) | |
virtual | ~SEPatientConfiguration () |
SEPatientConfiguration (const SEPatientConfiguration &)=delete | |
SEPatientConfiguration | operator= (const SEPatientConfiguration &)=delete |
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 bool | IsValid () const |
virtual std::string | GetDataRoot () const |
virtual void | SetDataRoot (const std::string &rootDir) |
virtual std::string | GetPatientFile () const |
virtual void | SetPatientFile (const std::string &patientFile) |
virtual bool | HasPatientFile () const |
virtual SEPatient & | GetPatient () |
virtual const SEPatient * | GetPatient () const |
virtual bool | HasPatient () const |
virtual SEConditionManager & | GetConditions () |
virtual const SEConditionManager * | GetConditions () const |
virtual bool | HasConditions () const |
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 | |
std::string | m_DataRoot |
SEPatient * | m_Patient |
std::string | m_PatientFile |
SEConditionManager * | m_Conditions |
Protected Attributes inherited from Loggable | |
bool | myLogger |
Logger * | m_Logger |
Friends | |
class | PBEngine |
Constructor & Destructor Documentation
◆ SEPatientConfiguration() [1/2]
|
explicit |
◆ ~SEPatientConfiguration()
|
virtual |
◆ SEPatientConfiguration() [2/2]
|
delete |
Member Function Documentation
◆ Clear()
|
virtual |
◆ GetConditions() [1/2]
|
virtual |
◆ GetConditions() [2/2]
|
virtual |
◆ GetDataRoot()
|
virtual |
◆ GetPatient() [1/2]
|
virtual |
◆ GetPatient() [2/2]
|
virtual |
◆ GetPatientFile()
|
virtual |
◆ HasConditions()
|
virtual |
◆ HasPatient()
|
virtual |
◆ HasPatientFile()
|
virtual |
◆ IsValid()
|
virtual |
◆ operator=()
|
delete |
◆ SerializeFromFile()
bool SEPatientConfiguration::SerializeFromFile | ( | const std::string & | filename, |
const SESubstanceManager & | subMgr | ||
) |
◆ SerializeFromString()
bool SEPatientConfiguration::SerializeFromString | ( | const std::string & | src, |
eSerializationFormat | m, | ||
const SESubstanceManager & | subMgr | ||
) |
◆ SerializeToFile()
bool SEPatientConfiguration::SerializeToFile | ( | const std::string & | filename | ) | const |
◆ SerializeToString()
bool SEPatientConfiguration::SerializeToString | ( | std::string & | output, |
eSerializationFormat | m | ||
) | const |
◆ SetDataRoot()
|
virtual |
◆ SetPatientFile()
|
virtual |
Friends And Related Function Documentation
◆ PBEngine
|
friend |
Member Data Documentation
◆ m_Conditions
|
protected |
◆ m_DataRoot
|
protected |
◆ m_Patient
|
protected |
◆ m_PatientFile
|
protected |