-
Notifications
You must be signed in to change notification settings - Fork 0
/
Airport.h
41 lines (33 loc) · 1.06 KB
/
Airport.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
#ifndef SMOOTHSKIES_AIRPORT_H
#define SMOOTHSKIES_AIRPORT_H
#include <iostream>
#include <fstream>
#include <sstream>
#include <algorithm>
using namespace std;
class Airport {
string _airportName, _airportCode;
int _numLateFlights, _numSecurityDelays, _numWeatherDelays, _numFlightsCancelled;
int _numDelayedFlights, _numFlightsTotaled, _numMinutesDelayed;
public:
Airport();
void setCode(string& code);
void setName(string& name);
void setNumLate(int num);
void setSecurityDelays(int num);
void setNumWeatherDelays(int num);
void setNumFlightsCancelled(int num);
void setNumDelayedFlights(int num);
void setNumFlightsTotaled(int num);
void setNumMinutesDelayed(int num);
string getAirportCode() const;
string getAirportName() const;
int getNumLate() const;
int getSecurityDelays() const;
int getNumWeatherDelays() const;
int getNumFlightsCancelled() const;
int getNumDelayedFlights() const;
int getNumFlightsTotaled() const;
int getNumMinutesDelayed() const;
};
#endif //SMOOTHSKIES_AIRPORT_H