17 SegmentDate::SegmentDate()
19 _operatingSegmentDate (NULL) {
24 SegmentDate::SegmentDate (
const SegmentDate& iSegmentDate)
25 : _key (iSegmentDate._key),
27 _operatingSegmentDate (NULL),
28 _boardingDate (iSegmentDate._boardingDate),
29 _boardingTime (iSegmentDate._boardingTime),
30 _offDate (iSegmentDate._offDate),
31 _offTime (iSegmentDate._offTime),
32 _elapsedTime (iSegmentDate._elapsedTime),
33 _distance (iSegmentDate._distance),
34 _routingLegKeyList (iSegmentDate._routingLegKeyList) {
38 SegmentDate::SegmentDate (
const Key_T& iKey)
39 : _key (iKey), _parent (NULL) ,
40 _operatingSegmentDate (NULL) {
49 std::ostringstream oStr;
60 const Duration_T lDateOffsetInHours (lDateOffset.days() * 24, 0, 0);
const AirportCode_T DEFAULT_ORIGIN
std::string toString() const
Handle on the StdAir library context.
boost::posix_time::time_duration Duration_T
const DateOffset_T getDateOffset() const
const Duration_T getTimeOffset() const
const AirportCode_T DEFAULT_DESTINATION
const std::string describeKey() const
boost::gregorian::date_duration DateOffset_T
Key of a given segment-date, made of an origin and a destination airports.