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 SEPatientGetPatient ()
 
virtual const SEPatientGetPatient () const
 
virtual bool HasPatient () const
 
virtual SEConditionManagerGetConditions ()
 
virtual const SEConditionManagerGetConditions () const
 
virtual bool HasConditions () 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

std::string m_DataRoot
 
SEPatientm_Patient
 
std::string m_PatientFile
 
SEConditionManagerm_Conditions
 
- Protected Attributes inherited from Loggable
bool myLogger
 
Loggerm_Logger
 

Friends

class PBEngine
 

Constructor & Destructor Documentation

◆ SEPatientConfiguration() [1/2]

SEPatientConfiguration::SEPatientConfiguration ( Logger logger = nullptr)
explicit

◆ ~SEPatientConfiguration()

SEPatientConfiguration::~SEPatientConfiguration ( )
virtual

◆ SEPatientConfiguration() [2/2]

SEPatientConfiguration::SEPatientConfiguration ( const SEPatientConfiguration )
delete

Member Function Documentation

◆ Clear()

void SEPatientConfiguration::Clear ( )
virtual

◆ GetConditions() [1/2]

SEConditionManager & SEPatientConfiguration::GetConditions ( )
virtual

◆ GetConditions() [2/2]

const SEConditionManager * SEPatientConfiguration::GetConditions ( ) const
virtual

◆ GetDataRoot()

std::string SEPatientConfiguration::GetDataRoot ( ) 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

◆ IsValid()

bool SEPatientConfiguration::IsValid ( ) const
virtual

◆ operator=()

SEPatientConfiguration SEPatientConfiguration::operator= ( const SEPatientConfiguration )
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()

void SEPatientConfiguration::SetDataRoot ( const std::string &  rootDir)
virtual

◆ 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_DataRoot

std::string SEPatientConfiguration::m_DataRoot
protected

◆ m_Patient

SEPatient* SEPatientConfiguration::m_Patient
protected

◆ m_PatientFile

std::string SEPatientConfiguration::m_PatientFile
protected

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.