65 vector<HK_Weight> DayWeight,
66 vector<string> DayComments
Declares HK_KeyValue And Derivative Classes.
Declare HK_Batches Class Methods.
A Class For Managing Dates.
A Class For Storing And Retieving Data For One Egg.
int GetResult()
Returns -1 If No Result, 0 If Hatched, And 2 If Egg Quit.
string GetComments()
Returns Egg Comments.
HK_Date HK_ResultDate
Holds Result Date.
int CalcDayLoss(int Day)
Returns The Percentage Of Weight Lost From Previous Weighing.
void SetDayWeight(vector< HK_Weight > Weight)
Sets Weight For All Days.
int HK_Fertile
0 == Unfertile, 1 == Fertile
void SetDate(HK_Date Date)
Sets Result Date.
string HK_Comments
Holds Comments For Egg.
int HK_Result
-1 == No Result, 0 == Quit, 1 == Hatched
void SetComments(string Comments)
Sets Egg Comments.
int GetDays()
Returns The Number Of Days For This Egg.
string GetTag2()
Returns Tag 2 As A String.
void Set(string Tag1, string Tag2, string Tag3, int Fertile, int Pipped, int Result, HK_Date Date, string Comments, vector< HK_Weight > DayWeight, vector< string > DayComments)
Sets All Data In One Function.
int CalcTotalLoss()
Returns The Total Percentage Of Weight Lost By This Egg.
vector< string > HK_DayComment
Holds 1 Comment per day.
void SetResult(int Result)
Sets Result Status.
string HK_Tag3
Holds Tag 3 For Egg.
HK_Date GetDate()
Returns The Date For The Result.
string GetTag3()
Returns Tag 3 As A String.
vector< HK_Weight > HK_DayWeight
Holds 1 weight per day.
string HK_Tag1
Holds Tag 1 For Egg.
void SetTag3(string Tag)
Sets The Third Tag.
void SetTag1(string Tag)
Sets The First Tag.
HK_Egg()
Default Constructor.
void SetFertile(int Fertile)
Sets Fertile Status.
vector< string > GetDayComments()
Returns An Array Containing A Comment For Every Day.
string HK_Tag2
Holds Tag 2 For Egg.
void ClearDayData()
Clears And Shrinks The Day Data Arrays.
void AddDayWeight(HK_Weight Weight)
Adds Weight For Another Day.
void AddDayComments(string Comments)
Adds Comments For Another Day.
vector< HK_Weight > GetDayWeight()
Returns An Array Containing A Weight For Every Day.
void SetPipped(int Pipped)
Sets Pip Status.
void SetTag2(string Tag)
Sets The Second Tag.
int GetPipped()
Returns 0 If Egg Is Not Pipped And 1 If It Is.
string GetTag1()
Returns Tag 1 As A String.
HK_KeyValue Search(string Value, string BatchName, int Egg)
Searches This Egg For Matches To Value.
int GetFertile()
Returns 0 If Egg Is Not Fertile And 1 If It Is.
void SetDayComments(vector< string > Comments)
Sets Comments For All Days.
int HK_Pipped
0 == Unpipped, 1 == Pipped
A Key and Value Type Storage.
A Class For Managing Data For One Weight.