-
Notifications
You must be signed in to change notification settings - Fork 0
/
identify.h
62 lines (58 loc) · 1.32 KB
/
identify.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
// Name: identify.h
// Author: Abigail Kennedy
// Date: 11/14/2020
// Description: The header file for identify
#include "bacteria.h"
#include <iostream>
#include <string>
#include <fstream>
#include <vector>
using namespace std;
class Identify {
public:
// Name: Identify (Constructor)
// Desc: Creates a new ID and sets the filename based on what was passed
// Precon: Input file passed
// Postcon: Identify created
Identify(string);
// Name: Identify (Destructor)
// Desc: Destroys all items in identify
// Precon:
// Postcon:
~Identify();
// Name: LoadFile
// Desc: Loads in a new file
// Precon:
// Postcon:
void LoadFile();
// Name: Menu
// Desc: Displays the menu and the menu choices
// Precon:
// Postcon: Returns choice
int Menu();
// Name: Start
// Desc: Starts the ID program
// Precon:
// Postcom:
void Start();
// Name: ID
// Desc: IDs the item
// Precon: Item exists
// Postcon: Item has been IDd
void IDMenu();
// Name: Display
// Desc: Displays all available items
// Precon: Items exist
// Postcon: Items have been displayed
void Display();
void GramID();
int ShapeID();
void AcidfastID();
void CatalaseID();
void MorphologyID();
void ClusterID();
void ID();
private:
vector<Bacteria*> m_ID; // List of all potential IDs
string m_filename;
};