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