SEPatientConfiguration Class Reference

#include <SEPatientConfiguration.h>

Inherits Loggable.

Public Member Functions

 SEPatientConfiguration (SESubstanceManager &subMgr)
 
virtual ~SEPatientConfiguration ()
 
virtual void Clear ()
 
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)
 
virtual bool IsValid () const
 
virtual std::string GetPatientFile () const
 
virtual void SetPatientFile (const std::string &patientFile)
 
virtual bool HasPatientFile () const
 
virtual void InvalidatePatientFile ()
 
virtual SEPatientGetPatient ()
 
virtual const SEPatientGetPatient () const
 
virtual bool HasPatient () const
 
virtual void InvalidatePatient ()
 
virtual SEConditionManagerGetConditions ()
 
virtual const SEConditionManagerGetConditions () const
 
virtual bool HasConditions () const
 
virtual void InvalidateConditions ()
 
- 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

SEPatientm_Patient
 
std::string m_PatientFile
 
SEConditionManagerm_Conditions
 
SESubstanceManagerm_SubMgr
 
- 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

◆ SEPatientConfiguration()

SEPatientConfiguration::SEPatientConfiguration ( SESubstanceManager subMgr)

◆ ~SEPatientConfiguration()

SEPatientConfiguration::~SEPatientConfiguration ( )
virtual

Member Function Documentation

◆ Clear()

void SEPatientConfiguration::Clear ( )
virtual

◆ GetConditions() [1/2]

SEConditionManager & SEPatientConfiguration::GetConditions ( )
virtual

◆ GetConditions() [2/2]

const SEConditionManager * SEPatientConfiguration::GetConditions ( ) const
virtual

◆ GetPatient() [1/2]

SEPatient & SEPatientConfiguration::GetPatient ( )
virtual

◆ GetPatient() [2/2]

const SEPatient * SEPatientConfiguration::GetPatient ( ) const
virtual

◆ GetPatientFile()

std::string SEPatientConfiguration::GetPatientFile ( ) const
virtual

◆ HasConditions()

bool SEPatientConfiguration::HasConditions ( ) const
virtual

◆ HasPatient()

bool SEPatientConfiguration::HasPatient ( ) const
virtual

◆ HasPatientFile()

bool SEPatientConfiguration::HasPatientFile ( ) const
virtual

◆ InvalidateConditions()

void SEPatientConfiguration::InvalidateConditions ( )
virtual

◆ InvalidatePatient()

void SEPatientConfiguration::InvalidatePatient ( )
virtual

◆ InvalidatePatientFile()

void SEPatientConfiguration::InvalidatePatientFile ( )
virtual

◆ IsValid()

bool SEPatientConfiguration::IsValid ( ) const
virtual

◆ SerializeFromFile()

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

◆ SerializeFromString()

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

◆ SerializeToFile()

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

◆ SerializeToString()

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

◆ SetPatientFile()

void SEPatientConfiguration::SetPatientFile ( const std::string &  patientFile)
virtual

Friends And Related Function Documentation

◆ PBEngine

friend class PBEngine
friend

Member Data Documentation

◆ m_Conditions

SEConditionManager* SEPatientConfiguration::m_Conditions
protected

◆ m_Patient

SEPatient* SEPatientConfiguration::m_Patient
protected

◆ m_PatientFile

std::string SEPatientConfiguration::m_PatientFile
protected

◆ m_SubMgr

SESubstanceManager& SEPatientConfiguration::m_SubMgr
protected