-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathTypes.h
34 lines (25 loc) · 960 Bytes
/
Types.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
#ifndef _AirportTypes_h
#define _AirportTypes_h
/// ---------- TYPEDEFS ----------
// Boolean support
typedef int bool;
#define true 1
#define false 0
/*
* Having all airport's types centralized allows us to not have to remember each
* variable properties and eases any change we need in the future.
*/
// Local code of an airport (3 Chars from 'A' to 'Z' plus the terminating character)
typedef char tLocal[4];
typedef char * Local;
// OACI code of an airport (4 Chars from 'A' to 'Z' plus the terminating character)
typedef char tOACI[5];
typedef char * OACI;
// International code of an airport (Empty or 3 Chars from 'A' to 'Z' plus the terminating character)
typedef char tIATA[4];
typedef char * IATA;
// Name of an airport (Can contain ASCII extensions, 70 characters plus the terminating character)
typedef char tDenomination[71];
typedef char * Denomination;
/// ---------- ----------
#endif