- FGParking() { available = true;};
- //FGParking(FGParking &other);
- FGParking(double lat,
- double lon,
- double hdg,
- double rad,
- int idx,
- const string& name,
- const string& tpe,
- const string& codes);
- void setLatitude (const string& lat) { latitude = processPosition(lat); };
- void setLongitude(const string& lon) { longitude = processPosition(lon); };
+ FGParking() :
+ heading(0),
+ radius(0),
+ available(true),
+ pushBackPoint(0),
+ pushBackRoute(0)
+ {
+ };
+
+ FGParking(const FGParking &other) :
+ FGTaxiNode (other),
+ heading (other.heading),
+ radius (other.radius),
+ parkingName (other.parkingName),
+ type (other.type),
+ airlineCodes (other.airlineCodes),
+ available (other.available),
+ pushBackPoint(other.pushBackPoint),
+ pushBackRoute(other.pushBackRoute)
+ {
+ };
+
+
+ FGParking& operator =(const FGParking &other)
+ {
+ FGTaxiNode::operator=(other);
+ heading = other.heading;
+ radius = other.radius;
+ parkingName = other.parkingName;
+ type = other.type;
+ airlineCodes = other.airlineCodes;
+ available = other.available;
+ pushBackPoint= other.pushBackPoint;
+ pushBackRoute= other.pushBackRoute;
+ return *this;
+ };
+ ~FGParking();
+// FGParking(double lat,
+// double lon,
+// double hdg,
+// double rad,
+// int idx,
+// const string& name,
+// const string& tpe,
+// const string& codes);
+