11 #include "../headers/Egg.h"
49 void Set(
int ID,
int Unit,
int Days, vector<HK_Egg> Eggs);
54 void SetEggs(vector<HK_Egg> Eggs);
A Class For Managing Multiple HK_Egg Instances.
HK_Egg GetEgg(int Select)
Returns The Selected Egg.
int GetEggCount()
Returns The Number Of Eggs.
void SetEggs(vector< HK_Egg > Eggs)
Sets All Eggs At Once.
vector< HK_Egg > HK_AdvEggs
void SetUpdate(bool Status)
Sets Update Status For This HK_Advanced.
HK_KeyValue Search(string Value, string BatchName)
Searches Eggs For Matches To Value.
vector< string > GetUpdate()
Returns An Array Of SQL Strings To Update Database.
void AddEgg(HK_Egg Egg)
Adds An HK_Egg To HK_AdvEggs Vector.
int GetChicks()
Returns The Number Of Eggs That Hatched Based On HK_Egg Data.
int GetDays()
Returns Incubation Days.
void SetID(int ID)
Sets ID.
HK_Advanced()
Default Constructor.
int CalcAvgLoss()
Returns The Average Weight Loss For All Eggs In Batch.
void Clear()
Clears All Data From This Object.
void SetEgg(HK_Egg Egg, int Select)
Sets Selected Egg.
int GetFertile()
Returns The Number Of Eggs That Are Fertile Based On HK_Egg Data.
void SetUnit(int Unit)
Sets Weight Unit Used.
void SetDays(int Days)
Sets Incubation Days.
int GetUnit()
Returns Weight Unit.
bool GetUpdateStatus()
Returns True If This HK_Advanced Has Data That Needs To Be Updated.
void Set(int ID, int Unit, int Days, vector< HK_Egg > Eggs)
Initialize In One Function Call.
vector< HK_Egg > GetEggs()
Returns An Array Of HK_Egg Objects.
A Class For Storing And Retieving Data For One Egg.
A Key and Value Type Storage.