#include <airsched/bom/LegStruct.hpp>
Public Member Functions | |
void | fill (const stdair::Date_T &iRefDate, stdair::LegDate &) const |
const std::string | describe () const |
LegStruct () | |
Public Attributes | |
stdair::AirportCode_T | _boardingPoint |
stdair::DateOffset_T | _boardingDateOffset |
stdair::Duration_T | _boardingTime |
stdair::AirportCode_T | _offPoint |
stdair::DateOffset_T | _offDateOffset |
stdair::Duration_T | _offTime |
stdair::Duration_T | _elapsed |
LegCabinStructList_T | _cabinList |
Utility Structure for the parsing of Leg structures.
Definition at line 24 of file LegStruct.hpp.
AIRSCHED::LegStruct::LegStruct | ( | ) |
Default Constructor.
Definition at line 16 of file LegStruct.cpp.
void AIRSCHED::LegStruct::fill | ( | const stdair::Date_T & | iRefDate, |
stdair::LegDate & | ioLegDate | ||
) | const |
Fill the LegDate objects with the attributes of the LegStruct.
The given reference date corresponds to the date of the FlightDate. Indeed, each Leg gets date off-sets, when compared to that (reference) flight-date, both for the boarding date and for the off date.
Definition at line 48 of file LegStruct.cpp.
References _boardingDateOffset, _boardingTime, _elapsed, _offDateOffset, _offPoint, and _offTime.
const std::string AIRSCHED::LegStruct::describe | ( | ) | const |
Give a description of the structure (for display purposes).
Definition at line 22 of file LegStruct.cpp.
References _boardingDateOffset, _boardingPoint, _boardingTime, _cabinList, _elapsed, _offDateOffset, _offPoint, _offTime, and AIRSCHED::LegCabinStruct::describe().
Referenced by AIRSCHED::FlightPeriodStruct::describe().
stdair::AirportCode_T AIRSCHED::LegStruct::_boardingPoint |
Definition at line 26 of file LegStruct.hpp.
Referenced by describe(), AIRSCHED::SegmentPeriodHelper::fill(), and AIRSCHED::ScheduleParserHelper::storeLegBoardingPoint::operator()().
stdair::DateOffset_T AIRSCHED::LegStruct::_boardingDateOffset |
Definition at line 27 of file LegStruct.hpp.
Referenced by describe(), fill(), and AIRSCHED::ScheduleParserHelper::storeOffTime::operator()().
stdair::Duration_T AIRSCHED::LegStruct::_boardingTime |
Definition at line 28 of file LegStruct.hpp.
Referenced by describe(), fill(), and AIRSCHED::ScheduleParserHelper::storeBoardingTime::operator()().
stdair::AirportCode_T AIRSCHED::LegStruct::_offPoint |
Definition at line 29 of file LegStruct.hpp.
Referenced by describe(), AIRSCHED::SegmentPeriodHelper::fill(), fill(), and AIRSCHED::ScheduleParserHelper::storeLegOffPoint::operator()().
stdair::DateOffset_T AIRSCHED::LegStruct::_offDateOffset |
Definition at line 30 of file LegStruct.hpp.
Referenced by describe(), AIRSCHED::SegmentPeriodHelper::fill(), fill(), and AIRSCHED::ScheduleParserHelper::storeElapsedTime::operator()().
stdair::Duration_T AIRSCHED::LegStruct::_offTime |
Definition at line 31 of file LegStruct.hpp.
Referenced by describe(), AIRSCHED::SegmentPeriodHelper::fill(), fill(), and AIRSCHED::ScheduleParserHelper::storeOffTime::operator()().
stdair::Duration_T AIRSCHED::LegStruct::_elapsed |
Definition at line 32 of file LegStruct.hpp.
Referenced by describe(), fill(), and AIRSCHED::ScheduleParserHelper::storeElapsedTime::operator()().
Definition at line 33 of file LegStruct.hpp.
Referenced by describe(), AIRSCHED::ScheduleParserHelper::doEndFlight::operator()(), AIRSCHED::ScheduleParserHelper::storeCapacity::operator()(), and AIRSCHED::ScheduleParserHelper::storeLegBoardingPoint::operator()().