AirInv Logo  1.00.0
C++ Simulated Airline Inventory Management System library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
AIRINV::ScheduleParserHelper Namespace Reference

Classes

struct  ParserSemanticAction
struct  storeAirlineCode
struct  storeFlightNumber
struct  storeDateRangeStart
struct  storeDateRangeEnd
struct  storeDow
struct  storeLegBoardingPoint
struct  storeLegOffPoint
struct  storeOperatingAirlineCode
struct  storeOperatingFlightNumber
struct  storeBoardingTime
struct  storeOffTime
struct  storeElapsedTime
struct  storeLegCabinCode
struct  storeCapacity
struct  storeSegmentSpecificity
struct  storeSegmentBoardingPoint
struct  storeSegmentOffPoint
struct  storeSegmentCabinCode
struct  storeClasses
struct  storeFamilyCode
struct  storeFRAT5CurveKey
struct  storeFFDisutilityCurveKey
struct  storeFClasses
struct  doEndFlight
struct  FlightPeriodParser

Functions

repeat_p_t airline_code_p (chset_t("0-9A-Z").derived(), 2, 3)
bounded1_4_p_t flight_number_p (uint1_4_p.derived(), 0u, 9999u)
bounded4_p_t year_p (uint4_p.derived(), 2000u, 2099u)
bounded2_p_t month_p (uint2_p.derived(), 1u, 12u)
bounded2_p_t day_p (uint2_p.derived(), 1u, 31u)
repeat_p_t dow_p (chset_t("0-1").derived().derived(), 7, 7)
repeat_p_t airport_p (chset_t("0-9A-Z").derived(), 3, 3)
bounded2_p_t hours_p (uint2_p.derived(), 0u, 23u)
bounded2_p_t minutes_p (uint2_p.derived(), 0u, 59u)
bounded2_p_t seconds_p (uint2_p.derived(), 0u, 59u)
chset_t cabin_code_p ("A-Z")
repeat_p_t key_p (chset_t("0-9A-Z").derived(), 1, 10)
repeat_p_t class_code_list_p (chset_t("A-Z").derived(), 1, 26)

Variables

int1_p_t int1_p
uint2_p_t uint2_p
uint4_p_t uint4_p
uint1_4_p_t uint1_4_p
int1_p_t family_code_p

Function Documentation

repeat_p_t AIRINV::ScheduleParserHelper::airline_code_p ( chset_t("0-9A-Z").derived()  ,
,
 
)

Airline Code Parser: repeat_p(2,3)[chset_p("0-9A-Z")]

Referenced by AIRINV::ScheduleParserHelper::FlightPeriodParser::definition< ScannerT >::definition().

bounded1_4_p_t AIRINV::ScheduleParserHelper::flight_number_p ( uint1_4_p.  derived(),
0u  ,
9999u   
)

Flight Number Parser: limit_d(0u, 9999u)[uint1_4_p]

Referenced by AIRINV::ScheduleParserHelper::FlightPeriodParser::definition< ScannerT >::definition().

bounded4_p_t AIRINV::ScheduleParserHelper::year_p ( uint4_p.  derived(),
2000u  ,
2099u   
)

Year Parser: limit_d(2000u, 2099u)[uint4_p]

Referenced by AIRINV::ScheduleParserHelper::FlightPeriodParser::definition< ScannerT >::definition().

bounded2_p_t AIRINV::ScheduleParserHelper::month_p ( uint2_p.  derived(),
1u  ,
12u   
)
bounded2_p_t AIRINV::ScheduleParserHelper::day_p ( uint2_p.  derived(),
1u  ,
31u   
)
repeat_p_t AIRINV::ScheduleParserHelper::dow_p ( chset_t("0-1").derived().derived()  ,
,
 
)

DOW (Day-Of-the-Week) Parser: repeat_p(7)[chset_p("0-1")]

Referenced by AIRINV::ScheduleParserHelper::FlightPeriodParser::definition< ScannerT >::definition().

repeat_p_t AIRINV::ScheduleParserHelper::airport_p ( chset_t("0-9A-Z").derived()  ,
,
 
)

Airport Parser: repeat_p(3)[chset_p("0-9A-Z")]

Referenced by AIRINV::ScheduleParserHelper::FlightPeriodParser::definition< ScannerT >::definition().

bounded2_p_t AIRINV::ScheduleParserHelper::hours_p ( uint2_p.  derived(),
0u  ,
23u   
)
bounded2_p_t AIRINV::ScheduleParserHelper::minutes_p ( uint2_p.  derived(),
0u  ,
59u   
)

Minute Parser: limit_d(0u, 59u)[uint2_p]

Referenced by AIRINV::ScheduleParserHelper::FlightPeriodParser::definition< ScannerT >::definition().

bounded2_p_t AIRINV::ScheduleParserHelper::seconds_p ( uint2_p.  derived(),
0u  ,
59u   
)

Second Parser: limit_d(0u, 59u)[uint2_p]

Referenced by AIRINV::ScheduleParserHelper::FlightPeriodParser::definition< ScannerT >::definition().

chset_t AIRINV::ScheduleParserHelper::cabin_code_p ( "A-Z"  )
repeat_p_t AIRINV::ScheduleParserHelper::key_p ( chset_t("0-9A-Z").derived()  ,
,
10   
)

Key Parser: repeat_p(1,10)[chset_p("0-9A-Z")]

Referenced by AIRINV::ScheduleParserHelper::FlightPeriodParser::definition< ScannerT >::definition().

repeat_p_t AIRINV::ScheduleParserHelper::class_code_list_p ( chset_t("A-Z").derived()  ,
,
26   
)

Class Code List Parser: repeat_p(1,26)[chset_p("A-Z")]

Referenced by AIRINV::ScheduleParserHelper::FlightPeriodParser::definition< ScannerT >::definition().


Variable Documentation

int1_p_t AIRINV::ScheduleParserHelper::int1_p
uint2_p_t AIRINV::ScheduleParserHelper::uint2_p

2-digit-integer parser

Definition at line 472 of file ScheduleParserHelper.cpp.

uint4_p_t AIRINV::ScheduleParserHelper::uint4_p

4-digit-integer parser

Definition at line 475 of file ScheduleParserHelper.cpp.

uint1_4_p_t AIRINV::ScheduleParserHelper::uint1_4_p

Up-to-4-digit-integer parser

Definition at line 478 of file ScheduleParserHelper.cpp.

int1_p_t AIRINV::ScheduleParserHelper::family_code_p