-
Notifications
You must be signed in to change notification settings - Fork 0
/
info.hpp
65 lines (56 loc) · 1.71 KB
/
info.hpp
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
63
64
65
#ifndef INFO_H
#define INFO_H
#include <iostream>
#include <string>
#include <vector>
#include <fstream>
#include <sstream>
using namespace std;
class Person_info { // Information about the person
private:
string first_name, last_name, email, institution;
public:
Person_info(); // constructor
void setFirstName(string fn);
void setLastName(string ln);
void setEmail(string el);
void setInstitution(string in);
string getFirstName();
string getLastName();
string getEmail();
string getInstitution();
//~Person_info(){};
};
class Presentation_info { //Information about the presentation
private:
string presentation_name, room_name, day, description, presentation_type;
int startHour,startMin,endHour,endMin;
bool accepted;
vector<Person_info> presenters;//will hold all presentations and info
public:
Presentation_info(); //constructor
Presentation_info(string pn, string rn, string da, string de, bool ac); // another constructor
void setPresentationName(string pn);//start of setters
void setRoomName(string rn);
void setDay(string da);
void setDescription(string de);
void setStartHour(int sh);
void setStartMin(int sm);
void setEndHour(int eh);
void setEndMin(int em);
string getPresentationName();//start of getters
string getRoomName();
string getDay();
string getDescription();
int getStartHour();
int getStartMin();
int getEndHour();
int getEndMin();
void addPerson(Person_info temp); // adds presentor
void setDataInfo(ifstream& infile, string line); //gets data from txt file
void printPresentationData(); //prints out the data of the presentation
void emailList();
void searchName(string fn, string ln, bool &in_list);
//~Presentation_info(){};
};
#endif