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