unsigned int numTaxiways() const;
FGTaxiway* getTaxiwayByIndex(unsigned int aIndex) const;
- bool hasTaxiwayWithIdent(const std::string& aIdent) const;
- FGTaxiway* getTaxiwayByIdent(const std::string& aIdent) const;
-
unsigned int numPavements() const;
FGPavement* getPavementByIndex(unsigned int aIndex) const;
mutable PositionedIDVec mTaxiways;
PositionedIDVec mPavements;
- std::vector<flightgear::SID*> mSIDs;
- std::vector<flightgear::STAR*> mSTARs;
- std::vector<flightgear::Approach*> mApproaches;
+ typedef SGSharedPtr<flightgear::SID> SIDRef;
+ typedef SGSharedPtr<flightgear::STAR> STARRef;
+ typedef SGSharedPtr<flightgear::Approach> ApproachRef;
+
+ std::vector<SIDRef> mSIDs;
+ std::vector<STARRef> mSTARs;
+ std::vector<ApproachRef> mApproaches;
};
// find basic airport location info from airport database