#include <airinv/bom/LegStruct.hpp>
Public Member Functions | |
void | fill (const stdair::Date_T &iRefDate, stdair::LegDate &) const |
void | fill (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::Date_T | _boardingDate |
stdair::Duration_T | _boardingTime |
stdair::AirportCode_T | _offPoint |
stdair::DateOffset_T | _offDateOffset |
stdair::Date_T | _offDate |
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.
AIRINV::LegStruct::LegStruct | ( | ) |
Default Constructor.
Definition at line 16 of file LegStruct.cpp.
void AIRINV::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 41 of file LegStruct.cpp.
References _airlineCode, _boardingDateOffset, _boardingTime, _elapsed, _flightNumber, _offDateOffset, _offPoint, and _offTime.
void AIRINV::LegStruct::fill | ( | stdair::LegDate & | ioLegDate | ) | const |
Fill the LegDate objects with the attributes of the LegStruct.
Definition at line 62 of file LegStruct.cpp.
References _airlineCode, _boardingTime, _elapsed, _flightNumber, _offDate, _offPoint, and _offTime.
const std::string AIRINV::LegStruct::describe | ( | ) | const |
Give a description of the structure (for display purposes).
Definition at line 21 of file LegStruct.cpp.
References _boardingDate, _boardingPoint, _boardingTime, _cabinList, _elapsed, _offDate, _offPoint, _offTime, and AIRINV::LegCabinStruct::describe().
Referenced by AIRINV::FlightPeriodStruct::describe(), and AIRINV::FlightDateStruct::describe().
stdair::AirlineCode_T AIRINV::LegStruct::_airlineCode |
Definition at line 26 of file LegStruct.hpp.
Referenced by fill(), AIRINV::ScheduleParserHelper::storeDateRangeEnd::operator()(), AIRINV::InventoryParserHelper::storeLegBoardingPoint::operator()(), AIRINV::ScheduleParserHelper::storeOperatingAirlineCode::operator()(), and AIRINV::InventoryParserHelper::storeOperatingAirlineCode::operator()().
stdair::FlightNumber_T AIRINV::LegStruct::_flightNumber |
Definition at line 27 of file LegStruct.hpp.
Referenced by fill(), AIRINV::ScheduleParserHelper::storeDateRangeEnd::operator()(), AIRINV::InventoryParserHelper::storeLegBoardingPoint::operator()(), AIRINV::ScheduleParserHelper::storeOperatingFlightNumber::operator()(), and AIRINV::InventoryParserHelper::storeOperatingFlightNumber::operator()().
stdair::AirportCode_T AIRINV::LegStruct::_boardingPoint |
Definition at line 28 of file LegStruct.hpp.
Referenced by describe(), AIRINV::ScheduleParserHelper::storeLegBoardingPoint::operator()(), and AIRINV::InventoryParserHelper::storeLegBoardingPoint::operator()().
stdair::DateOffset_T AIRINV::LegStruct::_boardingDateOffset |
Definition at line 29 of file LegStruct.hpp.
Referenced by fill(), and AIRINV::ScheduleParserHelper::storeOffTime::operator()().
stdair::Date_T AIRINV::LegStruct::_boardingDate |
Definition at line 30 of file LegStruct.hpp.
Referenced by describe(), and AIRINV::InventoryParserHelper::storeBoardingDate::operator()().
stdair::Duration_T AIRINV::LegStruct::_boardingTime |
Definition at line 31 of file LegStruct.hpp.
Referenced by describe(), fill(), AIRINV::ScheduleParserHelper::storeBoardingTime::operator()(), and AIRINV::InventoryParserHelper::storeBoardingTime::operator()().
stdair::AirportCode_T AIRINV::LegStruct::_offPoint |
Definition at line 32 of file LegStruct.hpp.
Referenced by describe(), fill(), AIRINV::ScheduleParserHelper::storeLegOffPoint::operator()(), and AIRINV::InventoryParserHelper::storeLegOffPoint::operator()().
stdair::DateOffset_T AIRINV::LegStruct::_offDateOffset |
Definition at line 33 of file LegStruct.hpp.
Referenced by fill(), and AIRINV::ScheduleParserHelper::storeElapsedTime::operator()().
stdair::Date_T AIRINV::LegStruct::_offDate |
Definition at line 34 of file LegStruct.hpp.
Referenced by describe(), fill(), and AIRINV::InventoryParserHelper::storeOffDate::operator()().
stdair::Duration_T AIRINV::LegStruct::_offTime |
Definition at line 35 of file LegStruct.hpp.
Referenced by describe(), fill(), AIRINV::ScheduleParserHelper::storeOffTime::operator()(), and AIRINV::InventoryParserHelper::storeOffTime::operator()().
stdair::Duration_T AIRINV::LegStruct::_elapsed |
Definition at line 36 of file LegStruct.hpp.
Referenced by describe(), fill(), and AIRINV::ScheduleParserHelper::storeElapsedTime::operator()().
LegCabinStructList_T AIRINV::LegStruct::_cabinList |
Definition at line 37 of file LegStruct.hpp.
Referenced by describe(), AIRINV::InventoryParserHelper::storeAirlineCode::operator()(), AIRINV::ScheduleParserHelper::storeLegBoardingPoint::operator()(), AIRINV::InventoryParserHelper::storeLegBoardingPoint::operator()(), AIRINV::ScheduleParserHelper::storeCapacity::operator()(), AIRINV::InventoryParserHelper::storeLegCabinCode::operator()(), AIRINV::ScheduleParserHelper::doEndFlight::operator()(), and AIRINV::InventoryParserHelper::storeSegmentBoardingPoint::operator()().