-
Notifications
You must be signed in to change notification settings - Fork 1
/
data_center.h
51 lines (41 loc) · 1.19 KB
/
data_center.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
//CS 300 - W21 - Mack Foggia
#ifndef DATA_CENTER_H
#define DATA_CENTER_H
#include <string>
#include <iostream>
#include <fstream>
#include "member-provider_list.h"
#include "person.h"
#include "provider_directory.h"
class DataCenter{
public:
DataCenter();
~DataCenter();
//Start the program from either perspective
void providerMenu();
void managerMenu();
private:
//Objects
member_list memberList;
provider_list providerList;
ProviderDirectory providerDirectory;
//Other things
std::string providerOptions;
std::string managerOptions;
int currentProviderNumber;
//Internal helper functions
int manipulateMembers();
int manipulateProviders();
int recordService();
int createPerson(int type);
int removePerson(int type);
int editProvider();
int editMember();
//UI helper functions
void UIPrompt(std::string, int flag);
void UI(std::string);
void UI(std::string &, std::string, int max = 0);
void UI(int &, std::string, int max = 0, int min = 0);
void UI(char &, std::string);
};
#endif