13 SegmentPeriod::SegmentPeriod (
const Key_T& iKey)
14 : _key (iKey), _parent (NULL), _boardingDateOffset (0), _offDateOffset (0) {
18 SegmentPeriod::SegmentPeriod (
const SegmentPeriod& iSegmentPeriod)
19 : _key (iSegmentPeriod.getKey()),
21 _boardingTime (iSegmentPeriod._boardingTime),
22 _offTime (iSegmentPeriod._offTime),
23 _boardingDateOffset (iSegmentPeriod._boardingDateOffset),
24 _offDateOffset (iSegmentPeriod._offDateOffset),
25 _elapsedTime (iSegmentPeriod._elapsedTime) {
34 std::ostringstream oStr;
44 insert (CabinBookingClassMap_T::value_type (iCabinCode,
45 iClassCodeList)).second;
46 assert (insert ==
true);