18 FlightDate::FlightDate()
24 FlightDate::FlightDate (
const FlightDate& iFlightDate)
25 : _key (iFlightDate._key), _parent (NULL) {
29 FlightDate::FlightDate (
const Key_T& iKey) : _key (iKey), _parent (NULL) {
40 assert (lInventory_ptr != NULL);
46 std::ostringstream oStr;
54 BomManager::getObjectPtr<LegDate> (*
this, iLegDateKeyStr);
67 BomManager::getObjectPtr<SegmentDate> (*
this, iSegmentDateKeyStr);
68 return oSegmentDate_ptr;
const std::string toString() const
const Date_T DEFAULT_DEPARTURE_DATE
const std::string toString() const
Class representing the actual attributes for an airline segment-date.
Handle on the StdAir library context.
std::string toString() const
std::string AirlineCode_T
const AirlineCode_T & getAirlineCode() const
Key of a given flight-date, made of a flight number and a departure date.
const AirlineCode_T & getAirlineCode() const
SegmentDate * getSegmentDate(const std::string &iSegmentDateKeyStr) const
Class representing the actual attributes for an airline inventory.
const FlightNumber_T DEFAULT_FLIGHT_NUMBER
Key of a given segment-date, made of an origin and a destination airports.
LegDate * getLegDate(const std::string &iLegDateKeyStr) const
const std::string describeKey() const
BomAbstract *const getParent() const