HatchKeeper  0.90
The Free Open-Source Egg Incubation Software
Documents.h
Go to the documentation of this file.
1 /******************************************************************/
9 #include "Batches.h"
10 #include "Storage.h"
11 #include "Info.h"
12 #include <sstream>
13 #include <fstream>
14 #include <iostream>
15 #include <cstring>
16 
17 #include <tinyxml2.h>
18 
19 using namespace std;
20 
28  public:
29  HK_Documents();
30 
31  string BatchHTMLReport(HK_Batch Batch,HK_KeyValue Settings);
32  string BatchICal(HK_Batch Batch, bool DatesOnly);
33  string BatchTextReport(HK_Batch Batch, HK_KeyValue Settings);
34 
35  bool ExportHKBF(string Filename, HK_Batches Batches, HK_Storage Groups);
37 
38  string GroupHTMLReport(HK_Batches GrBatches, string GroupName, string Comments, HK_KeyValue Settings);
39  string GroupTextReport(HK_Batches GrBatches, string GroupName, string Comments, HK_KeyValue Settings);
40  string GroupICal(HK_Batches GrBatches, string GroupName);
41 
42  string HTMLCalendar(HK_Date Selection, HK_Batches Batches);
43 
44  vector<string> ImportHKBF(string Filename, HK_Batches * Batches, HK_Storage * Groups, HK_Storage * Types, HK_Storage * Breeds, HK_Storage * Schedules);
45 };
Declare HK_Batches Class Methods.
HK_KeyValue Settings
Definition: Declare.h:36
HK_Batches Batches
Definition: Declare.h:44
HK_Storage Types
Definition: Declare.h:38
HK_Storage Breeds
Definition: Declare.h:37
HK_Storage Groups
Definition: Declare.h:41
HK_Storage Schedules
Definition: Declare.h:39
Holds Data For One Batch, Includes Basic Set/Get Methods.
Definition: Batch.h:22
A Class For Managing Mulitple HK_Batch Objects.
Definition: Batches.h:22
A Class For Managing Dates.
Definition: Date.h:25
A Class For Generating/Manipulating HKBF, iCal, Reports And Other Documents.
Definition: Documents.h:27
A Key and Value Type Storage.
Definition: KeyValue.h:25
A Class For Storing Values.
Definition: Storage.h:26