1
0
Fork 0

Add a method to return a const pointer to the raw airport data, plus a couple of whitespace cleanups

This commit is contained in:
daveluff 2005-11-29 20:24:32 +00:00
parent 49b6bef6bb
commit a7e6a0e294

View file

@ -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
*/