-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAeroporto.cpp
More file actions
74 lines (57 loc) · 1.41 KB
/
Copy pathAeroporto.cpp
File metadata and controls
74 lines (57 loc) · 1.41 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
#include "Aeroporto.h"
using namespace std;
Aeroporto::Aeroporto(int codigo) {
this->codigo = codigo;
this->numeroPousos = 0;
this->numeroDecolagens = 0;
this->codigoVoo = 0;
this->origemVoo = 0;
this->horarioChegada = 0;
this->horarioPartida = 0;
this->tempoVoo = 0;
}
int Aeroporto::getCodigo() {
return this->codigo;
}
int Aeroporto::getNumeroPousos() {
return this->numeroPousos;
}
void Aeroporto::setNumeroPousos(int numeroPousos) {
this->numeroPousos = numeroPousos;
}
int Aeroporto::getNumeroDecolagens() {
return this->numeroDecolagens;
}
void Aeroporto::setNumeroDecolagens(int numeroDecolagens) {
this->numeroDecolagens = numeroDecolagens;
}
int Aeroporto::getCodigoVoo() {
return this->codigoVoo;
}
void Aeroporto::setCodigoVoo(int codigoVoo) {
this->codigoVoo = codigoVoo;
}
int Aeroporto::getOrigemVoo() {
return this->origemVoo;
}
void Aeroporto::setOrigemVoo(int origemVoo) {
this->origemVoo = origemVoo;
}
int Aeroporto::getHorarioChegada() {
return this->horarioChegada;
}
void Aeroporto::setHorarioChegada(int horarioChegada) {
this->horarioChegada = horarioChegada;
}
int Aeroporto::getHorarioPartida() {
return this->horarioPartida;
}
void Aeroporto::setHorarioPartida(int horarioPartida) {
this->horarioPartida = horarioPartida;
}
int Aeroporto::getTempoVoo() {
return this->tempoVoo;
}
void Aeroporto::setTempoVoo(int tempoVoo) {
this->tempoVoo = tempoVoo;
}