-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMeeting.cpp
More file actions
57 lines (45 loc) · 1.08 KB
/
Meeting.cpp
File metadata and controls
57 lines (45 loc) · 1.08 KB
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
#include "Meeting.h"
Meeting::Meeting() {
sponsor_ = "Lams";
participator_ = "Silly";
startDate_ = endDate_ = Date();
title_ = "hahaha";
}
Meeting::Meeting(std::string sponsor, std::string participator,
Date startTime, Date endTime, std::string title) {
sponsor_ = sponsor;
participator_ = participator;
startDate_ = startTime;
endDate_ = endTime;
title_ = title;
}
std::string Meeting::getSponsor(void) const {
return sponsor_;
}
std::string Meeting::getParticipator(void) const {
return participator_;
}
Date Meeting::getStartDate(void) const {
return startDate_;
}
Date Meeting::getEndDate(void) const {
return endDate_;
}
std::string Meeting::getTitle(void) const {
return title_;
}
void Meeting::setSponsor(std::string sponsor) {
sponsor_ = sponsor;
}
void Meeting::setParticipator(std::string participator) {
participator_ = participator;
}
void Meeting::setStartDate(Date startTime) {
startDate_ = startTime;
}
void Meeting::setEndDate(Date endTime) {
endDate_ = endTime;
}
void Meeting::setTitle(std::string title) {
title_ = title;
}