1#ifndef __STDAIR_BOM_FLIGHTDATE_HPP
2#define __STDAIR_BOM_FLIGHTDATE_HPP
35 struct SegmentDateKey;
43 template <
typename BOM>
friend class FacBom;
71 return _key.getFlightNumber();
76 return _key.getDepartureDate();
171 return _key.toString();
180 template<
class Archive>
181 void serialize (Archive& ar,
const unsigned int iFileVersion);
191 void serialisationImplementationExport()
const;
192 void serialisationImplementationImport();
Handle on the StdAir library context.
boost::gregorian::date Date_T
std::map< const std::type_info *, BomAbstract * > HolderMap_T
unsigned short FlightNumber_T
std::string AirlineCode_T
Class representing the actual attributes for an airline flight-date.
const std::string describeKey() const
SegmentDate * getSegmentDate(const std::string &iSegmentDateKeyStr) const
const HolderMap_T & getHolderMap() const
void serialize(Archive &ar, const unsigned int iFileVersion)
const AirlineCode_T & getAirlineCode() const
const FlightNumber_T & getFlightNumber() const
BomAbstract *const getParent() const
void fromStream(std::istream &ioIn)
LegDate * getLegDate(const std::string &iLegDateKeyStr) const
friend class boost::serialization::access
friend class FacBomManager
std::string toString() const
void toStream(std::ostream &ioOut) const
const Date_T & getDepartureDate() const
FlightDate(const Key_T &)
const Key_T & getKey() const
Key of a given flight-date, made of a flight number and a departure date.
Class representing the actual attributes for an airline segment-date.
Key of a given segment-date, made of an origin and a destination airports.