1 #ifndef __STDAIR_BOM_SEGMENTDATE_HPP
2 #define __STDAIR_BOM_SEGMENTDATE_HPP
18 namespace serialization {
26 struct SegmentCabinKey;
37 template <
typename BOM>
friend class FacBom;
222 void linkWithOperating (
SegmentDate& iSegmentDate) {
263 template<
class Archive>
264 void serialize (Archive& ar,
const unsigned int iFileVersion);
274 void serialisationImplementationExport()
const;
275 void serialisationImplementationImport();
372 #endif // __STDAIR_BOM_SEGMENTDATE_HPP
void toStream(std::ostream &ioOut) const
LocationCode_T AirportCode_T
const Duration_T & getElapsedTime() const
const std::string toString() const
friend class boost::serialization::access
const AirportCode_T & getOffPoint() const
Utility class for linking StdAir-based objects.
std::string toString() const
void addLegKey(const std::string &iLegKey)
const Duration_T & getOffTime() const
Class representing the actual attributes for an airline segment-date.
Handle on the StdAir library context.
boost::posix_time::time_duration Duration_T
void setBoardingTime(const Duration_T &iBoardingTime)
std::map< const std::type_info *, BomAbstract * > HolderMap_T
const DateOffset_T getDateOffset() const
Base class for the Business Object Model (BOM) layer.
std::list< std::string > RoutingLegKeyList_T
SegmentDate * _operatingSegmentDate
void serialize(Archive &ar, const unsigned int iFileVersion)
const Duration_T & getBoardingTime() const
const Duration_T getTimeOffset() const
const AirportCode_T & getBoardingPoint() const
RoutingLegKeyList_T _routingLegKeyList
std::list< SegmentDate * > SegmentDateList_T
Base class for Factory layer.
const std::string describeKey() const
void fromStream(std::istream &ioIn)
SegmentDate * getOperatingSegmentDate() const
BomAbstract *const getParent() const
const SegmentDateList_T & getMarketingSegmentDateList() const
const Date_T & getOffDate() const
const Key_T & getKey() const
const Date_T & getBoardingDate() const
boost::gregorian::date Date_T
const AirportCode_T & getOffPoint() const
Class representing the actual attributes for an airline segment-cabin.
boost::gregorian::date_duration DateOffset_T
SegmentDateList_T _marketingSegmentDateList
Key of a given segment-date, made of an origin and a destination airports.
void setOffTime(const Duration_T &iOffTime)
const AirportCode_T & getBoardingPoint() const
const HolderMap_T & getHolderMap() const
void setOffDate(const Date_T &iOffDate)
Base class for Factory layer.
const Distance_T & getDistance() const
void setElapsedTime(const Duration_T &iElapsedTime)
unsigned long int Distance_T
const RoutingLegKeyList_T & getLegKeyList() const
void setDistance(const Distance_T &iDistance)
void setBoardingDate(const Date_T &iBoardingDate)