Add a method to return a const pointer to the raw airport data, plus a couple of whitespace cleanups
This commit is contained in:
parent
49b6bef6bb
commit
a7e6a0e294
1 changed files with 15 additions and 8 deletions
|
@ -444,6 +444,8 @@ typedef airport_map::iterator airport_map_iterator;
|
|||
typedef airport_map::const_iterator const_airport_map_iterator;
|
||||
|
||||
typedef vector < FGAirport * > airport_list;
|
||||
typedef airport_list::iterator airport_list_iterator;
|
||||
typedef airport_list::const_iterator const_airport_list_iterator;
|
||||
|
||||
|
||||
class FGAirportList {
|
||||
|
@ -495,6 +497,11 @@ public:
|
|||
*/
|
||||
const FGAirport *getAirport( unsigned int index ) const;
|
||||
|
||||
/**
|
||||
* Return a pointer to the raw airport list
|
||||
*/
|
||||
inline const airport_list* getAirportList() { return(&airports_array); }
|
||||
|
||||
/**
|
||||
* Mark the specified airport record as not having metar
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue