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