-
Notifications
You must be signed in to change notification settings - Fork 0
/
FlightExt.cpp
42 lines (39 loc) · 1001 Bytes
/
FlightExt.cpp
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
//
// Created by citteny on 11/26/18.
//
#include "FlightExt.h"
string FlightExt::getID() {
return this->ID;
}
int FlightExt::getModelNumber() {
return this->modelNum;
}
list<Reservation *> FlightExt::getReservations() {
return this->reservations;
}
Date FlightExt::getDate() {
return this->dateFlight;
}
list<Employee *> FlightExt::getAssignedCrew() {
return this->crew;
}
string FlightExt::getSource() {
return this->sourceLocation;
}
string FlightExt::getDestination() {
return this->destLoaction;
}
FlightExt::FlightExt(string flightID,
int planeModNum,
list<Reservation *> res,
list<Employee *> crew,
string flightSource,
string flightDest,
Date date) : dateFlight(date) {
this->ID = flightID;
this->modelNum = planeModNum;
this->reservations = res;
this->crew = crew;
this->sourceLocation = flightSource;
this->destLoaction = flightDest;
}