#include <airinv/bom/SegmentDateHelper.hpp>
Static Public Member Functions | |
static void | fillFromRouting (stdair::SegmentDate &) |
static void | updateElapsedTimeFromRouting (stdair::SegmentDate &) |
static void | updateDistanceFromElapsedTime (stdair::SegmentDate &) |
Class representing the actual business functions for an airline segment-date.
Definition at line 16 of file SegmentDateHelper.hpp.
|
static |
Fill the attributes derived from the routing legs (e.g., board and off dates).
Definition at line 18 of file SegmentDateHelper.cpp.
References AIRINV::SegmentCabinHelper::initialiseAU(), and updateElapsedTimeFromRouting().
|
static |
Calculate and set the elapsed time according to the leg routing.
Actually, the elapsed time of the segment is the sum of the elapsed times of the routing legs, plus the stop-over times. The stop-over time is the difference between the board time of a routing leg, and the off time of the previous leg. That is, it is the time spent at the corresponding airport.
Of course, in case of mono-leg segments, there is no stop-over, and the elapsed time of the segment is equal to the elapsed time of the single routing leg.
Definition at line 72 of file SegmentDateHelper.cpp.
References updateDistanceFromElapsedTime().
Referenced by fillFromRouting().
|
static |
Method computing the distance of the segment (in kilometers).
Definition at line 115 of file SegmentDateHelper.cpp.
Referenced by updateElapsedTimeFromRouting().