#include <airtsp/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::AirlineCode_T | _airlineCode |
stdair::FlightNumber_T | _flightNumber |
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.
AIRTSP::LegStruct::LegStruct | ( | ) |
Default Constructor.
Definition at line 16 of file LegStruct.cpp.
void AIRTSP::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 _airlineCode, _boardingDateOffset, _boardingTime, _elapsed, _flightNumber, _offDateOffset, _offPoint, and _offTime.
const std::string AIRTSP::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 AIRTSP::LegCabinStruct::describe().
Referenced by AIRTSP::FlightPeriodStruct::describe().
stdair::AirlineCode_T AIRTSP::LegStruct::_airlineCode |
Definition at line 26 of file LegStruct.hpp.
Referenced by fill(), AIRTSP::ScheduleParserHelper::storeDateRangeEnd::operator()(), and AIRTSP::ScheduleParserHelper::storeOperatingAirlineCode::operator()().
stdair::FlightNumber_T AIRTSP::LegStruct::_flightNumber |
Definition at line 27 of file LegStruct.hpp.
Referenced by fill(), AIRTSP::ScheduleParserHelper::storeDateRangeEnd::operator()(), and AIRTSP::ScheduleParserHelper::storeOperatingFlightNumber::operator()().
stdair::AirportCode_T AIRTSP::LegStruct::_boardingPoint |
Definition at line 28 of file LegStruct.hpp.
Referenced by describe(), AIRTSP::SegmentPeriodHelper::fill(), and AIRTSP::ScheduleParserHelper::storeLegBoardingPoint::operator()().
stdair::DateOffset_T AIRTSP::LegStruct::_boardingDateOffset |
Definition at line 29 of file LegStruct.hpp.
Referenced by describe(), fill(), and AIRTSP::ScheduleParserHelper::storeOffTime::operator()().
stdair::Duration_T AIRTSP::LegStruct::_boardingTime |
Definition at line 30 of file LegStruct.hpp.
Referenced by describe(), fill(), and AIRTSP::ScheduleParserHelper::storeBoardingTime::operator()().
stdair::AirportCode_T AIRTSP::LegStruct::_offPoint |
Definition at line 31 of file LegStruct.hpp.
Referenced by describe(), AIRTSP::SegmentPeriodHelper::fill(), fill(), and AIRTSP::ScheduleParserHelper::storeLegOffPoint::operator()().
stdair::DateOffset_T AIRTSP::LegStruct::_offDateOffset |
Definition at line 32 of file LegStruct.hpp.
Referenced by describe(), AIRTSP::SegmentPeriodHelper::fill(), fill(), and AIRTSP::ScheduleParserHelper::storeElapsedTime::operator()().
stdair::Duration_T AIRTSP::LegStruct::_offTime |
Definition at line 33 of file LegStruct.hpp.
Referenced by describe(), AIRTSP::SegmentPeriodHelper::fill(), fill(), and AIRTSP::ScheduleParserHelper::storeOffTime::operator()().
stdair::Duration_T AIRTSP::LegStruct::_elapsed |
Definition at line 34 of file LegStruct.hpp.
Referenced by describe(), fill(), and AIRTSP::ScheduleParserHelper::storeElapsedTime::operator()().
LegCabinStructList_T AIRTSP::LegStruct::_cabinList |
Definition at line 35 of file LegStruct.hpp.
Referenced by describe(), AIRTSP::ScheduleParserHelper::storeLegBoardingPoint::operator()(), AIRTSP::ScheduleParserHelper::storeCapacity::operator()(), and AIRTSP::ScheduleParserHelper::doEndFlight::operator()().