#include <SEConsumeMeal.h>

Inherits SEPatientCondition.

Public Member Functions

 SEConsumeMeal ()
 
virtual ~SEConsumeMeal ()
 
virtual void Clear ()
 
virtual void Copy (const SEConsumeMeal &src)
 
virtual bool IsValid () const
 
virtual bool IsActive () const
 
virtual std::string GetName () const
 
bool HasMeal () const
 
SEMealGetMeal ()
 
const SEMealGetMeal () const
 
virtual std::string GetMealFile () const
 
virtual void SetMealFile (const std::string &fileName)
 
virtual bool HasMealFile () const
 
virtual void InvalidateMealFile ()
 
virtual void ToString (std::ostream &str) const
 
- Public Member Functions inherited from SEPatientCondition
 SEPatientCondition ()
 
virtual ~SEPatientCondition ()
 
- Public Member Functions inherited from SECondition
 SECondition ()
 
virtual ~SECondition ()
 
virtual std::string GetComment () const
 
virtual void SetComment (const std::string &comment)
 
virtual bool HasComment () const
 
virtual void InvalidateComment ()
 
- 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

SEMealm_Meal
 
std::string m_MealFile
 
- Protected Attributes inherited from SECondition
std::string m_Comment
 
- Protected Attributes inherited from Loggable
Loggerm_Logger
 

Friends

class PBPatientCondition
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ SEConsumeMeal()

SEConsumeMeal::SEConsumeMeal ( )

◆ ~SEConsumeMeal()

SEConsumeMeal::~SEConsumeMeal ( )
virtual

Member Function Documentation

◆ Clear()

void SEConsumeMeal::Clear ( )
virtual

Reimplemented from SEPatientCondition.

◆ Copy()

void SEConsumeMeal::Copy ( const SEConsumeMeal src)
virtual

◆ GetMeal() [1/2]

SEMeal & SEConsumeMeal::GetMeal ( )

◆ GetMeal() [2/2]

const SEMeal * SEConsumeMeal::GetMeal ( ) const

◆ GetMealFile()

std::string SEConsumeMeal::GetMealFile ( ) const
virtual

◆ GetName()

virtual std::string SEConsumeMeal::GetName ( ) const
inlinevirtual

Implements SECondition.

◆ HasMeal()

bool SEConsumeMeal::HasMeal ( ) const

◆ HasMealFile()

bool SEConsumeMeal::HasMealFile ( ) const
virtual

◆ InvalidateMealFile()

void SEConsumeMeal::InvalidateMealFile ( )
virtual

◆ IsActive()

bool SEConsumeMeal::IsActive ( ) const
virtual

Implements SEPatientCondition.

◆ IsValid()

bool SEConsumeMeal::IsValid ( ) const
virtual

Implements SEPatientCondition.

◆ SetMealFile()

void SEConsumeMeal::SetMealFile ( const std::string &  fileName)
virtual

◆ ToString()

void SEConsumeMeal::ToString ( std::ostream &  str) const
virtual

Implements SEPatientCondition.

Friends And Related Function Documentation

◆ PBPatientCondition

friend class PBPatientCondition
friend

Member Data Documentation

◆ m_Meal

SEMeal* SEConsumeMeal::m_Meal
protected

◆ m_MealFile

std::string SEConsumeMeal::m_MealFile
protected