1 #ifndef __STDAIR_BOM_FLIGHTDATE_HPP
2 #define __STDAIR_BOM_FLIGHTDATE_HPP
18 namespace serialization {
28 struct SegmentDateKey;
36 template <
typename BOM>
friend class FacBom;
172 template<
class Archive>
173 void serialize (Archive& ar,
const unsigned int iFileVersion);
183 void serialisationImplementationExport()
const;
184 void serialisationImplementationImport();
230 #endif // __STDAIR_BOM_FLIGHTDATE_HPP
void serialize(Archive &ar, const unsigned int iFileVersion)
LegDate * getLegDate(const std::string &iLegDateKeyStr) const
Base class for Factory layer.
std::map< const std::type_info *, BomAbstract * > HolderMap_T
const Date_T & getDepartureDate() const
Key of a given flight-date, made of a flight number and a departure date.
BomAbstract *const getParent() const
const FlightNumber_T & getFlightNumber() const
void fromStream(std::istream &ioIn)
const Date_T & getDepartureDate() const
friend class boost::serialization::access
Base class for the Business Object Model (BOM) layer.
std::string AirlineCode_T
Key of a given segment-date, made of an origin and a destination airports.
Class representing the actual attributes for an airline flight-date.
unsigned short FlightNumber_T
Base class for Factory layer.
void toStream(std::ostream &ioOut) const
const AirlineCode_T & getAirlineCode() const
boost::gregorian::date Date_T
const FlightNumber_T & getFlightNumber() const
const Key_T & getKey() const
SegmentDate * getSegmentDate(const std::string &iSegmentDateKeyStr) const
const std::string describeKey() const
const HolderMap_T & getHolderMap() const
Class representing the actual attributes for an airline segment-date.
const std::string toString() const
Utility class for linking StdAir-based objects.
std::string toString() const