6#include "cdm/patient/actions/SEPatientAction.h"
7#include "cdm/patient/SENutrition.h"
17 static constexpr char const* Name =
"Consume Nutrients";
18 std::string
GetName()
const override {
return Name; }
20 void Clear()
override;
29 bool HasNutrition()
const;
33 virtual std::string GetNutritionFile()
const;
34 virtual void SetNutritionFile(
const std::string& fileName);
35 virtual bool HasNutritionFile()
const;
Definition: PBPatientActions.h:52
virtual const SEScalar * GetScalar(const std::string &name)=0
static SEAction * Copy(const SEAction &, const SESubstanceManager &)
Definition: SEAction.cpp:53
Definition: SEConsumeNutrients.h:10
SENutrition * m_Nutrition
Definition: SEConsumeNutrients.h:38
std::string m_NutritionFile
Definition: SEConsumeNutrients.h:39
std::string GetName() const override
Definition: SEConsumeNutrients.h:18
Definition: SENutrition.h:7
Definition: SEPatientAction.h:8
void Deactivate() override
Definition: SEPatientAction.h:23
void Clear() override
Definition: SEPatientAction.h:18
bool IsValid() const override
Definition: SEPatientAction.h:19
bool IsActive() const override
Definition: SEPatientAction.h:22
Definition: SEScalar.h:19