-
Notifications
You must be signed in to change notification settings - Fork 0
/
main_menu.h
53 lines (42 loc) · 984 Bytes
/
main_menu.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
#pragma once
#include <iostream>
#include <string>
#include <vector>
#include <fstream>
#include "json.hpp"
#include "Database.h"
#include "json.hpp"
#include <time.h>
using json = nlohmann::json;
using namespace std;
class Menu {
private:
string file_name;
//stores the databases
vector<Database> databaseContainer;
vector<string> databaseNames;
public:
void specify_file();
void parse_file();
void runQuery();
//menu options
void menuOptions();
void displayUserInformation();
void displayBusinessInformation();
void combineInformation();
//functions for Review of businesss
void reviewOptions();
void summaryOfReviews();
void getStarReview();
void getRecentReview();
void getOldReview();
void getUserReview();
//functions for User
void userOptions();
void summaryOfUsers();
//functions for business
void businessOptions();
void summaryOfBusiness();
//check functions
void checkTable();
};