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;
39 friend class boost::serialization::access;
63 return _key.getFlightNumber();
68 return _key.getDepartureDate();
97 LegDate* getLegDate (
const std::string& iLegDateKeyStr)
const;
121 SegmentDate* getSegmentDate (
const std::string& iSegmentDateKeyStr)
const;
157 std::string toString()
const;
163 return _key.toString();
172 template<
class Archive>
173 void serialize (Archive& ar,
const unsigned int iFileVersion);
183 void serialisationImplementationExport()
const;
184 void serialisationImplementationImport();
198 #if BOOST_VERSION == 106300 234 #endif // __STDAIR_BOM_FLIGHTDATE_HPP
Key of a given segment-date, made of an origin and a destination airports.
Base class for Factory layer.
Class representing the actual attributes for an airline flight-date.
std::map< const std::type_info *, BomAbstract * > HolderMap_T
std::string AirlineCode_T
boost::gregorian::date Date_T
const Key_T & getKey() const
void fromStream(std::istream &ioIn)
BomAbstract *const getParent() const
unsigned short FlightNumber_T
const std::string describeKey() const
const FlightNumber_T & getFlightNumber() const
Handle on the StdAir library context.
Class representing the actual attributes for an airline segment-date.
Utility class for linking StdAir-based objects.
const HolderMap_T & getHolderMap() const
Base class for the Business Object Model (BOM) layer.
void toStream(std::ostream &ioOut) const
const Date_T & getDepartureDate() const
Key of a given flight-date, made of a flight number and a departure date.
Base class for Factory layer.