Inheritance diagram for Eaagles::Dafif::AirportLoader:


Public Member Functions | |
| AirportLoader () | |
| AirportLoader (const char *country, const char *file="file0", const char *path="/eaagles3rdParty/dafif/fullall/") | |
| virtual Airport * | airport (const int n) |
| virtual Airport * | getAirport (const int n) |
| virtual Runway * | getRunway (const int n) |
| virtual Ils * | getIls (const int n) |
| virtual int | queryByLength (const float minRwLen) |
| virtual int | queryByType (const Airport::AirportType type) |
| virtual int | queryByFreq (const float freq) |
| virtual int | queryByChannel (const int chan) |
| virtual int | getNumRunwayRecords (const char *key) |
| virtual int | queryRunwayByNumber (const char *key, const int n) |
| virtual int | queryRunwayByIdent (const char *id) |
| virtual int | queryRunwayBySubkey (const char *subkey) |
| virtual int | queryRunwayByRange () |
| virtual int | queryRunwayByLength (const float length) |
| virtual int | queryRunwayByFreq (const float freq) |
| virtual int | queryRunwayByChannel (const int chan) |
| virtual int | getNumIlsRecords (const char *key) |
| virtual int | queryIlsByNumber (const char *key, const int n) |
| virtual int | queryIlsByIdent (const char *id) |
| virtual int | queryIlsBySubkey (const char *subkey) |
| virtual int | queryIlsByRange () |
| virtual int | queryIlsByType (const Ils::IlsType type) |
| virtual int | queryIlsByFreq (const float freq) |
| virtual int | queryIlsByChannel (const int chan) |
| virtual bool | load (const char *code=0) |
| virtual int | getRecordLength () |
| virtual int | getMaxRecords () |
| virtual int | queryByRange () |
| virtual int | queryByIdent (const char *id) |
| virtual int | queryByKey (const char *key) |
| virtual void | printLoaded (std::ostream &sout) |
| virtual void | printResults (std::ostream &sout) |
Protected Types | |
| enum | { AIRPORT_MAX_RECORDS = 40000 } |
Protected Member Functions | |
| int | queryAirport (const Airport::AirportType type, const float minRwLen) |
| int | chkRwLen (const AirportKey *key, const float minRwLen) |
| int | chkIlsFreq (const AirportKey *key, const float freq) |
| int | chkRwIlsFreq (const RunwayKey *key, const float freq) |
| int | chkIlsChan (const AirportKey *key, const int chan) |
| int | chkRwIlsChan (const RunwayKey *key, const int chan) |
| void | makeSimpleLinkedList () |
| void | findGlideSlope (const RunwayKey *rwKey, const IlsKey *ilsKey) |
Static Protected Member Functions | |
| static int | kl_cmp (const void *p1, const void *p2) |
Protected Attributes | |
| AirportKey * | firstAirport |
Classes | |
| struct | IlsKey |
| Key used for quick ILS record lookup. More... | |
| struct | RunwayKey |
| Key used for quick Airport record lookup. More... | |
| Eaagles::Dafif::AirportLoader::AirportLoader | ( | ) |
Constructors: Load only records with 'country' code from 'file' in directory 'path'.
| Eaagles::Dafif::AirportLoader::AirportLoader | ( | const char * | country, | |
| const char * | file = "file0", |
|||
| const char * | path = "/eaagles3rdParty/dafif/fullall/" | |||
| ) |
| Airport * Eaagles::Dafif::AirportLoader::airport | ( | const int | n | ) | [virtual] |
Returns the n'th airport loaded. Range: 0 .. numberOfRecords()-1
| Airport * Eaagles::Dafif::AirportLoader::getAirport | ( | const int | n | ) | [virtual] |
Get the n'th airport found by last query. Range: 0 .. numberFound()-1
| Runway * Eaagles::Dafif::AirportLoader::getRunway | ( | const int | n | ) | [virtual] |
| Ils * Eaagles::Dafif::AirportLoader::getIls | ( | const int | n | ) | [virtual] |
| int Eaagles::Dafif::AirportLoader::queryByLength | ( | const float | minRwLen | ) | [virtual] |
Find all records within the search area with a runway length of at least 'minRwLen' feet.
| int Eaagles::Dafif::AirportLoader::queryByType | ( | const Airport::AirportType | type | ) | [virtual] |
| int Eaagles::Dafif::AirportLoader::queryByFreq | ( | const float | freq | ) | [virtual] |
| int Eaagles::Dafif::AirportLoader::queryByChannel | ( | const int | chan | ) | [virtual] |
| int Eaagles::Dafif::AirportLoader::getNumRunwayRecords | ( | const char * | key | ) | [virtual] |
| int Eaagles::Dafif::AirportLoader::queryRunwayByNumber | ( | const char * | key, | |
| const int | n | |||
| ) | [virtual] |
| int Eaagles::Dafif::AirportLoader::queryRunwayByIdent | ( | const char * | id | ) | [virtual] |
| int Eaagles::Dafif::AirportLoader::queryRunwayBySubkey | ( | const char * | subkey | ) | [virtual] |
| int Eaagles::Dafif::AirportLoader::queryRunwayByRange | ( | ) | [virtual] |
| int Eaagles::Dafif::AirportLoader::queryRunwayByLength | ( | const float | length | ) | [virtual] |
| int Eaagles::Dafif::AirportLoader::queryRunwayByFreq | ( | const float | freq | ) | [virtual] |
| int Eaagles::Dafif::AirportLoader::queryRunwayByChannel | ( | const int | chan | ) | [virtual] |
| int Eaagles::Dafif::AirportLoader::getNumIlsRecords | ( | const char * | key | ) | [virtual] |
| int Eaagles::Dafif::AirportLoader::queryIlsByNumber | ( | const char * | key, | |
| const int | n | |||
| ) | [virtual] |
| int Eaagles::Dafif::AirportLoader::queryIlsByIdent | ( | const char * | id | ) | [virtual] |
| int Eaagles::Dafif::AirportLoader::queryIlsBySubkey | ( | const char * | subkey | ) | [virtual] |
| int Eaagles::Dafif::AirportLoader::queryIlsByRange | ( | ) | [virtual] |
| int Eaagles::Dafif::AirportLoader::queryIlsByType | ( | const Ils::IlsType | type | ) | [virtual] |
| int Eaagles::Dafif::AirportLoader::queryIlsByFreq | ( | const float | freq | ) | [virtual] |
| int Eaagles::Dafif::AirportLoader::queryIlsByChannel | ( | const int | chan | ) | [virtual] |
| bool Eaagles::Dafif::AirportLoader::load | ( | const char * | code = 0 |
) | [virtual] |
| int Eaagles::Dafif::AirportLoader::getRecordLength | ( | ) | [virtual] |
Implements Eaagles::Dafif::Database.
| int Eaagles::Dafif::AirportLoader::getMaxRecords | ( | ) | [virtual] |
Implements Eaagles::Dafif::Database.
| int Eaagles::Dafif::AirportLoader::queryByRange | ( | ) | [virtual] |
| int Eaagles::Dafif::AirportLoader::queryByIdent | ( | const char * | id | ) | [virtual] |
| int Eaagles::Dafif::AirportLoader::queryByKey | ( | const char * | key | ) | [virtual] |
| void Eaagles::Dafif::AirportLoader::printLoaded | ( | std::ostream & | sout | ) | [virtual] |
| void Eaagles::Dafif::AirportLoader::printResults | ( | std::ostream & | sout | ) | [virtual] |
| int Eaagles::Dafif::AirportLoader::queryAirport | ( | const Airport::AirportType | type, | |
| const float | minRwLen | |||
| ) | [protected] |
| int Eaagles::Dafif::AirportLoader::chkRwLen | ( | const AirportKey * | key, | |
| const float | minRwLen | |||
| ) | [protected] |
| int Eaagles::Dafif::AirportLoader::chkIlsFreq | ( | const AirportKey * | key, | |
| const float | freq | |||
| ) | [protected] |
| int Eaagles::Dafif::AirportLoader::chkRwIlsFreq | ( | const RunwayKey * | key, | |
| const float | freq | |||
| ) | [protected] |
| int Eaagles::Dafif::AirportLoader::chkIlsChan | ( | const AirportKey * | key, | |
| const int | chan | |||
| ) | [protected] |
| int Eaagles::Dafif::AirportLoader::chkRwIlsChan | ( | const RunwayKey * | key, | |
| const int | chan | |||
| ) | [protected] |
| void Eaagles::Dafif::AirportLoader::makeSimpleLinkedList | ( | ) | [protected] |
| void Eaagles::Dafif::AirportLoader::findGlideSlope | ( | const RunwayKey * | rwKey, | |
| const IlsKey * | ilsKey | |||
| ) | [protected] |
| int Eaagles::Dafif::AirportLoader::kl_cmp | ( | const void * | p1, | |
| const void * | p2 | |||
| ) | [static, protected] |
AirportKey* Eaagles::Dafif::AirportLoader::firstAirport [protected] |
first airport in linked-list
1.5.0