-
Notifications
You must be signed in to change notification settings - Fork 0
/
Flight.h
60 lines (55 loc) · 1.23 KB
/
Flight.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
54
55
56
57
58
59
#include <string>
#include <map>
#include <iostream>
using namespace std;
class Flight
{
private:
string PlaneID;
string PilotID;
string CoPilotID;
string cwID1;
string cwID2;
string cwID3;
string sDate;
string eDate;
int sTime;
int eTime;
string sCode;
string eCode;
int NumberOfPassengers;
string Status;
public:
Flight();
Flight(string plID, string pID, string cID, string c1, string c2, string c3, string SD, string ED, int ST, int ET, string SC, string EC, int pass, string stat);
~Flight();
void setPlaneID(string tmp);
void setPilotID(string tmp);
void setCoPilotID(string tmp);
void setCrew1(string tmp);
void setCrew2(string tmp);
void setCrew3(string tmp);
void setSdate(string tmp);
void setEdate(string tmp);
void setStime(int num);
void setEtime(int num);
void setScode(string tmp);
void setEcode(string tmp);
void setPass(int num);
void setStatus(string tmp);
string getPlaneID();
string getCoPilotID();
string getPilotID();
string getCrew1();
string getCrew2();
string getCrew3();
string getSdate();
string getEdate();
int getStime();
int getEtime();
string getScode();
string getEcode();
int getPass();
string getStatus();
void Print();
};