PC Stable Documentation
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Loading...
Searching...
No Matches
NutritionalProfile Class Reference

Private Member Functions

void NutritionalProfile (float energy=0.0, float water_content=0.0, float nutritional_index=0.0, float fullness_index=0.0, float toxicity=0.0, int agents=0.0, float digestibility=0.0)
 DEPRECATED - used as the structure with direct access.
 
void MarkAsLiquid (int liquid_type, string classname)
 
int GetAgents ()
 
int GetLiquidType ()
 
string GetLiquidClassname ()
 
bool IsLiquid ()
 
float GetEnergy ()
 
float GetWaterContent ()
 
float GetNutritionalIndex ()
 
float GetFullnessIndex ()
 
float GetToxicity ()
 
float GetDigestibility ()
 

Private Attributes

float m_Energy
 
float m_WaterContent
 
float m_NutritionalIndex
 
float m_FullnessIndex
 
float m_Toxicity
 
int m_LiquidType
 
int m_Agents
 
string m_LiquidClassname
 
float m_Digestibility
 
float m_AgentsPerDigest
 

Constructor & Destructor Documentation

◆ NutritionalProfile()

void NutritionalProfile ( float  energy = 0.0,
float  water_content = 0.0,
float  nutritional_index = 0.0,
float  fullness_index = 0.0,
float  toxicity = 0.0,
int  agents = 0.0,
float  digestibility = 0.0 
)
inlineprivate

DEPRECATED - used as the structure with direct access.

References m_Agents, m_Digestibility, m_Energy, m_FullnessIndex, m_NutritionalIndex, m_Toxicity, and m_WaterContent.

Member Function Documentation

◆ GetAgents()

int GetAgents ( )
inlineprivate

References m_Agents.

Referenced by AddToStomach().

◆ GetDigestibility()

float GetDigestibility ( )
inlineprivate

References m_Digestibility.

Referenced by StomachItem::GetNutritions().

◆ GetEnergy()

float GetEnergy ( )
inlineprivate

References m_Energy.

Referenced by StomachItem::GetNutritions().

◆ GetFullnessIndex()

float GetFullnessIndex ( )
inlineprivate

◆ GetLiquidClassname()

string GetLiquidClassname ( )
inlineprivate

References m_LiquidClassname.

◆ GetLiquidType()

int GetLiquidType ( )
inlineprivate

References m_LiquidType.

◆ GetNutritionalIndex()

float GetNutritionalIndex ( )
inlineprivate

References m_NutritionalIndex.

◆ GetToxicity()

float GetToxicity ( )
inlineprivate

References m_Toxicity.

Referenced by StomachItem::GetNutritions().

◆ GetWaterContent()

float GetWaterContent ( )
inlineprivate

References m_WaterContent.

Referenced by StomachItem::GetNutritions().

◆ IsLiquid()

bool IsLiquid ( )
inlineprivate

References m_LiquidType.

Referenced by AddToStomach().

◆ MarkAsLiquid()

void MarkAsLiquid ( int  liquid_type,
string  classname 
)
inlineprivate

References m_LiquidClassname, and m_LiquidType.

Referenced by SetUpNutritionalProfile().

Field Documentation

◆ m_Agents

◆ m_AgentsPerDigest

◆ m_Digestibility

◆ m_Energy

◆ m_FullnessIndex

◆ m_LiquidClassname

string m_LiquidClassname
private

Referenced by GetLiquidClassname(), and MarkAsLiquid().

◆ m_LiquidType

int m_LiquidType
private

◆ m_NutritionalIndex

◆ m_Toxicity

◆ m_WaterContent


The documentation for this class was generated from the following file: