#include <airsched/bom/OnDPeriodStruct.hpp>
Public Member Functions | |
const stdair::AirlineCode_T & | getFirstAirlineCode () const |
stdair::Date_T | getDate () const |
stdair::Duration_T | getTime () const |
const std::string | describe () const |
const std::string | describeTSKey () const |
OnDPeriodStruct () | |
Public Attributes | |
stdair::AirportCode_T | _origin |
stdair::AirportCode_T | _destination |
stdair::DatePeriod_T | _datePeriod |
stdair::Duration_T | _timeRangeStart |
stdair::Duration_T | _timeRangeEnd |
stdair::NbOfAirlines_T | _nbOfAirlines |
stdair::AirlineCode_T | _airlineCode |
stdair::ClassCode_T | _classCode |
stdair::AirlineCodeList_T | _airlineCodeList |
stdair::ClassCodeList_T | _classCodeList |
stdair::Date_T | _dateRangeStart |
stdair::Date_T | _dateRangeEnd |
unsigned int | _itYear |
unsigned int | _itMonth |
unsigned int | _itDay |
long | _itHours |
long | _itMinutes |
long | _itSeconds |
Utility Structure for the parsing of FareRule structures.
Definition at line 15 of file OnDPeriodStruct.hpp.
AIRSCHED::OnDPeriodStruct::OnDPeriodStruct | ( | ) |
Default constructor.
Definition at line 17 of file OnDPeriodStruct.cpp.
const stdair::AirlineCode_T & AIRSCHED::OnDPeriodStruct::getFirstAirlineCode | ( | ) | const |
Get the first airline code.
Definition at line 64 of file OnDPeriodStruct.cpp.
References _airlineCodeList.
stdair::Date_T AIRSCHED::OnDPeriodStruct::getDate | ( | ) | const |
Get the date from the staging details.
Definition at line 28 of file OnDPeriodStruct.cpp.
References _itDay, _itMonth, and _itYear.
Referenced by AIRSCHED::OnDParserHelper::storeDateRangeEnd::operator()(), and AIRSCHED::OnDParserHelper::storeDateRangeStart::operator()().
stdair::Duration_T AIRSCHED::OnDPeriodStruct::getTime | ( | ) | const |
Get the time from the staging details.
Definition at line 33 of file OnDPeriodStruct.cpp.
References _itHours, _itMinutes, and _itSeconds.
Referenced by AIRSCHED::OnDParserHelper::storeEndRangeTime::operator()(), and AIRSCHED::OnDParserHelper::storeStartRangeTime::operator()().
const std::string AIRSCHED::OnDPeriodStruct::describe | ( | ) | const |
Give a description of the structure (for display purposes).
Definition at line 40 of file OnDPeriodStruct.cpp.
References _airlineCode, _classCode, _datePeriod, _destination, _origin, _timeRangeEnd, and _timeRangeStart.
const std::string AIRSCHED::OnDPeriodStruct::describeTSKey | ( | ) | const |
Give a short description of the key required in the travel solution object to differentiate fare rule structures.
Definition at line 55 of file OnDPeriodStruct.cpp.
References _airlineCode, _classCode, _destination, and _origin.
stdair::AirportCode_T AIRSCHED::OnDPeriodStruct::_origin |
Definition at line 41 of file OnDPeriodStruct.hpp.
Referenced by describe(), describeTSKey(), and AIRSCHED::OnDParserHelper::storeOrigin::operator()().
stdair::AirportCode_T AIRSCHED::OnDPeriodStruct::_destination |
Definition at line 42 of file OnDPeriodStruct.hpp.
Referenced by describe(), describeTSKey(), and AIRSCHED::OnDParserHelper::storeDestination::operator()().
stdair::DatePeriod_T AIRSCHED::OnDPeriodStruct::_datePeriod |
Definition at line 43 of file OnDPeriodStruct.hpp.
Referenced by describe(), and AIRSCHED::OnDParserHelper::storeDateRangeEnd::operator()().
stdair::Duration_T AIRSCHED::OnDPeriodStruct::_timeRangeStart |
Definition at line 44 of file OnDPeriodStruct.hpp.
Referenced by describe(), and AIRSCHED::OnDParserHelper::storeStartRangeTime::operator()().
stdair::Duration_T AIRSCHED::OnDPeriodStruct::_timeRangeEnd |
Definition at line 45 of file OnDPeriodStruct.hpp.
Referenced by describe(), and AIRSCHED::OnDParserHelper::storeEndRangeTime::operator()().
stdair::NbOfAirlines_T AIRSCHED::OnDPeriodStruct::_nbOfAirlines |
Definition at line 46 of file OnDPeriodStruct.hpp.
Referenced by AIRSCHED::OnDParserHelper::storeAirlineCode::operator()(), and AIRSCHED::OnDParserHelper::storeOrigin::operator()().
stdair::AirlineCode_T AIRSCHED::OnDPeriodStruct::_airlineCode |
Definition at line 47 of file OnDPeriodStruct.hpp.
Referenced by describe(), describeTSKey(), AIRSCHED::OnDParserHelper::storeAirlineCode::operator()(), and AIRSCHED::OnDParserHelper::storeOrigin::operator()().
stdair::ClassCode_T AIRSCHED::OnDPeriodStruct::_classCode |
Definition at line 48 of file OnDPeriodStruct.hpp.
Referenced by describe(), describeTSKey(), AIRSCHED::OnDParserHelper::storeClassCode::operator()(), and AIRSCHED::OnDParserHelper::storeOrigin::operator()().
stdair::AirlineCodeList_T AIRSCHED::OnDPeriodStruct::_airlineCodeList |
Definition at line 49 of file OnDPeriodStruct.hpp.
Referenced by getFirstAirlineCode(), AIRSCHED::OnDParserHelper::storeAirlineCode::operator()(), and AIRSCHED::OnDParserHelper::storeOrigin::operator()().
stdair::ClassCodeList_T AIRSCHED::OnDPeriodStruct::_classCodeList |
Definition at line 50 of file OnDPeriodStruct.hpp.
Referenced by AIRSCHED::OnDParserHelper::storeClassCode::operator()(), and AIRSCHED::OnDParserHelper::storeOrigin::operator()().
stdair::Date_T AIRSCHED::OnDPeriodStruct::_dateRangeStart |
Staging Date.
Definition at line 53 of file OnDPeriodStruct.hpp.
Referenced by AIRSCHED::OnDParserHelper::storeDateRangeEnd::operator()(), and AIRSCHED::OnDParserHelper::storeDateRangeStart::operator()().
stdair::Date_T AIRSCHED::OnDPeriodStruct::_dateRangeEnd |
Definition at line 54 of file OnDPeriodStruct.hpp.
Referenced by AIRSCHED::OnDParserHelper::storeDateRangeEnd::operator()().
unsigned int AIRSCHED::OnDPeriodStruct::_itYear |
Definition at line 55 of file OnDPeriodStruct.hpp.
Referenced by getDate().
unsigned int AIRSCHED::OnDPeriodStruct::_itMonth |
Definition at line 56 of file OnDPeriodStruct.hpp.
Referenced by getDate().
unsigned int AIRSCHED::OnDPeriodStruct::_itDay |
Definition at line 57 of file OnDPeriodStruct.hpp.
Referenced by getDate().
Definition at line 61 of file OnDPeriodStruct.hpp.
Referenced by getTime().
Definition at line 62 of file OnDPeriodStruct.hpp.
Referenced by getTime(), AIRSCHED::OnDParserHelper::storeEndRangeTime::operator()(), AIRSCHED::OnDParserHelper::storeStartRangeTime::operator()(), AIRSCHED::OnDParserHelper::storeDateRangeEnd::operator()(), and AIRSCHED::OnDParserHelper::storeDateRangeStart::operator()().