HatchKeeper
0.90
The Free Open-Source Egg Incubation Software
|
Class For Managing Notifications In Database. More...
#include <Notifications.h>
Public Member Functions | |
string | AddNotification (string Name, HK_Date Date, string Message) |
Returns A SQL Statment For Adding Notification To Database. More... | |
vector< string > | CheckDates (HK_Batches Batches, HK_Storage Reminders) |
Checks The HK_Batches and HK_Storage Objects For New Notifications. More... | |
Public Member Functions inherited from HK_Storage | |
HK_Storage () | |
Constructor. More... | |
void | Add (string Name, int ID, HK_Date Date, string Text, int Number) |
Adds An Item To Storage. More... | |
void | Add (string Name, int ID, HK_Date Date, string Text) |
Overloaded Adds An Item To Storage, Without Number. More... | |
void | Add (string Name, int ID, string Text, int Number) |
Overloaded Add An Item To Storage With No Date or Number. More... | |
void | Add (string Name, int ID, string Text) |
Overloaded Add An Item To Storage With No Date or Number. More... | |
void | Add (string Name, int ID, int Number) |
Overloaded Add An Item To Storage With No Date or Text. More... | |
void | Add (string Name, int ID, HK_Date Date) |
Overloaded Add An Item To Storage With No Number or Text. More... | |
void | Clear () |
Clears All Data And Shrinks The Arrays. More... | |
int | GetCount () |
Returns The Number Of Elements Stored. More... | |
HK_Date | GetDate (int Select) |
Returns The Selected Stored Date. More... | |
int | GetDay (int Select) |
Returns The Selected Day From The Stored Date. More... | |
int | GetID (int Select) |
Returns The Selected Stored ID. More... | |
int | GetMonth (int Select) |
Returns The Selected Month From The Stored Date. More... | |
string | GetName (int Select) |
Returns The Selected Stored Name. More... | |
int | GetNumber (int Select) |
Returns The Selected Stored Number. More... | |
string | GetText (int Select) |
Returns The Selected Stored Text. More... | |
int | GetValidID () |
Returns A Valid ID For Adding Entries To The Database. More... | |
int | GetYear (int Select) |
Returns The Selected Year From The Stored Date. More... | |
bool | IsValidName (string Name) |
Returns True If Name Isn't Already In Use. More... | |
HK_KeyValue | Search (string Prefix, string Value) |
Returned HK_KeyValue's Key Holds Name And Value Holds String Where Match Was Found. More... | |
void | SetDate (int Select, HK_Date Date) |
Sets The Selected Stored Date. More... | |
void | SetDay (int Select, int Days) |
Sets The Selected Day From The Stored Date. More... | |
void | SetID (int Select, int ID) |
Sets The Selected Stored ID. More... | |
void | SetMonth (int Select, int Month) |
Sets The Selected Month From The Stored Date. More... | |
void | SetName (int Select, string Name) |
Sets The Selected Stored Name. More... | |
void | SetNumber (int Select, int Number) |
Sets The Selected Stored Number. More... | |
void | SetText (int Select, string Text) |
Sets The Selected Stored Text. More... | |
void | SetYear (int Select, int Year) |
Sets The Selected Year From The Stored Date. More... | |
Class For Managing Notifications In Database.
Definition at line 21 of file Notifications.h.
string HK_Notifications::AddNotification | ( | string | Name, |
HK_Date | Date, | ||
string | Message | ||
) |
Returns A SQL Statment For Adding Notification To Database.
Definition at line 16 of file HK_Notifications.cpp.
vector< string > HK_Notifications::CheckDates | ( | HK_Batches | Batches, |
HK_Storage | Reminders | ||
) |
Checks The HK_Batches and HK_Storage Objects For New Notifications.
Definition at line 44 of file HK_Notifications.cpp.