1 #ifndef __AIRTSP_BOM_SEGMENTPATHPERIODKEY_HPP
2 #define __AIRTSP_BOM_SEGMENTPATHPERIODKEY_HPP
11 #include <stdair/stdair_basic_types.hpp>
12 #include <stdair/stdair_date_time_types.hpp>
13 #include <stdair/bom/KeyAbstract.hpp>
14 #include <stdair/bom/PeriodStruct.hpp>
20 namespace serialization {
42 const stdair::Duration_T& iBoardingTime,
43 const stdair::Duration_T& iElapsed,
45 const stdair::NbOfAirlines_T&);
76 return _boardingDateOffsetList;
83 return _boardingDateOffsetList.size();
104 return _boardingTime;
116 _boardingDateOffsetList = iList;
121 _nbOfAirlines = iNbOfAirlines;
131 _boardingTime = iBoardingTime;
139 return _period.isValid ();
150 void toStream (std::ostream& ioOut)
const;
176 template<
class Archive>
177 void serialize (Archive& ar,
const unsigned int iFileVersion);
184 void serialisationImplementationExport()
const;
185 void serialisationImplementationImport();
193 stdair::PeriodStruct _period;
198 stdair::Duration_T _boardingTime;
203 stdair::Duration_T _elapsed;
214 stdair::NbOfAirlines_T _nbOfAirlines;
218 #endif // __AIRTSP_BOM_SEGMENTPATHPERIODKEY_HPP