AirInv Logo  1.00.12
C++ Simulated Airline Inventory Management System Library
Loading...
Searching...
No Matches
AIRINV::InventoryParserHelper Namespace Reference

Classes

struct  doEndFlightDate
struct  InventoryParser
struct  ParserSemanticAction
struct  storeACP
struct  storeAirlineCode
struct  storeAU
struct  storeBoardingDate
struct  storeBoardingTime
struct  storeBookingCounter
struct  storeBucketAvaibality
struct  storeClassAvailability
struct  storeClassCode
struct  storeClassETB
struct  storeCumulatedProtection
struct  storeETB
struct  storeFamilyCode
struct  storeFClasses
struct  storeFlightDate
struct  storeFlightNumber
struct  storeFlightTypeCode
struct  storeFlightVisibilityCode
struct  storeGAV
struct  storeLegBoardingPoint
struct  storeLegCabinCode
struct  storeLegOffPoint
struct  storeNAV
struct  storeNbOfBkgs
struct  storeNbOfGroupBkgs
struct  storeNbOfPendingGroupBkgs
struct  storeNbOfStaffBkgs
struct  storeNbOfWLBkgs
struct  storeNego
struct  storeNoShow
struct  storeOffDate
struct  storeOffTime
struct  storeOperatingAirlineCode
struct  storeOperatingFlightNumber
struct  storeOverbooking
struct  storeParentClassCode
struct  storeParentSubclassCode
struct  storeProtection
struct  storeRevenueAvailability
struct  storeSaleableCapacity
struct  storeSeatIndex
struct  storeSegmentAvailability
struct  storeSegmentBoardingPoint
struct  storeSegmentCabinBookingCounter
struct  storeSegmentCabinCode
struct  storeSegmentOffPoint
struct  storeSnapshotDate
struct  storeSubclassCode
struct  storeUPR
struct  storeYieldUpperRange

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)
bounded2_p_t year_p (uint2_p.derived(), 0u, 99u)
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)
bounded1_2_p_t hours_p (uint1_2_p.derived(), 0u, 24u)
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")
chset_t class_code_p ("A-Z")
chset_t passenger_type_p ("A-Z")
repeat_p_t class_code_list_p (chset_t("A-Z").derived(), 1, 26)
bounded1_3_p_t stay_duration_p (uint1_3_p.derived(), 0u, 999u)

Variables

int1_p_t int1_p
uint2_p_t uint2_p
uint1_2_p_t uint1_2_p
uint1_3_p_t uint1_3_p
uint4_p_t uint4_p
uint1_4_p_t uint1_4_p
int1_p_t family_code_p

Function Documentation

◆ airline_code_p()

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

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

Referenced by AIRINV::InventoryParserHelper::InventoryParser::definition< ScannerT >::definition().

◆ flight_number_p()

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

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

References uint1_4_p.

Referenced by AIRINV::InventoryParserHelper::InventoryParser::definition< ScannerT >::definition().

◆ year_p()

bounded2_p_t AIRINV::InventoryParserHelper::year_p ( uint2_p. derived(),
0u ,
99u  )

Year Parser: limit_d(00u, 99u)[uint4_p]

References uint2_p.

Referenced by AIRINV::InventoryParserHelper::InventoryParser::definition< ScannerT >::definition().

◆ month_p()

bounded2_p_t AIRINV::InventoryParserHelper::month_p ( uint2_p. derived(),
1u ,
12u  )

Month Parser: limit_d(1u, 12u)[uint2_p]

References uint2_p.

Referenced by AIRINV::InventoryParserHelper::InventoryParser::definition< ScannerT >::definition().

◆ day_p()

bounded2_p_t AIRINV::InventoryParserHelper::day_p ( uint2_p. derived(),
1u ,
31u  )

Day Parser: limit_d(1u, 31u)[uint2_p]

References uint2_p.

Referenced by AIRINV::InventoryParserHelper::InventoryParser::definition< ScannerT >::definition().

◆ dow_p()

repeat_p_t AIRINV::InventoryParserHelper::dow_p ( chset_t("0-1").derived().derived() ,
7 ,
7  )

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

◆ airport_p()

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

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

Referenced by AIRINV::InventoryParserHelper::InventoryParser::definition< ScannerT >::definition().

◆ hours_p()

bounded1_2_p_t AIRINV::InventoryParserHelper::hours_p ( uint1_2_p. derived(),
0u ,
24u  )

Hour Parser: limit_d(0u, 24u)[uint2_p]

References uint1_2_p.

Referenced by AIRINV::InventoryParserHelper::InventoryParser::definition< ScannerT >::definition().

◆ minutes_p()

bounded2_p_t AIRINV::InventoryParserHelper::minutes_p ( uint2_p. derived(),
0u ,
59u  )

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

References uint2_p.

Referenced by AIRINV::InventoryParserHelper::InventoryParser::definition< ScannerT >::definition().

◆ seconds_p()

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

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

References uint2_p.

Referenced by AIRINV::InventoryParserHelper::InventoryParser::definition< ScannerT >::definition().

◆ cabin_code_p()

chset_t AIRINV::InventoryParserHelper::cabin_code_p ( "A-Z" )

◆ class_code_p()

chset_t AIRINV::InventoryParserHelper::class_code_p ( "A-Z" )

Booking class code parser: chset_p("A-Z")

Referenced by AIRINV::InventoryParserHelper::InventoryParser::definition< ScannerT >::definition().

◆ passenger_type_p()

chset_t AIRINV::InventoryParserHelper::passenger_type_p ( "A-Z" )

Passenger type parser: chset_p("A-Z")

◆ class_code_list_p()

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

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

Referenced by AIRINV::InventoryParserHelper::InventoryParser::definition< ScannerT >::definition().

◆ stay_duration_p()

bounded1_3_p_t AIRINV::InventoryParserHelper::stay_duration_p ( uint1_3_p. derived(),
0u ,
999u  )

Stay duration Parser: limit_d(0u, 999u)[uint3_p]

References uint1_3_p.

Variable Documentation

◆ int1_p

int1_p_t AIRINV::InventoryParserHelper::int1_p

1-digit-integer parser

Definition at line 823 of file InventoryParserHelper.cpp.

◆ uint2_p

uint2_p_t AIRINV::InventoryParserHelper::uint2_p

2-digit-integer parser

Definition at line 826 of file InventoryParserHelper.cpp.

Referenced by day_p(), minutes_p(), month_p(), seconds_p(), and year_p().

◆ uint1_2_p

uint1_2_p_t AIRINV::InventoryParserHelper::uint1_2_p

Up-to-2-digit-integer parser

Definition at line 829 of file InventoryParserHelper.cpp.

Referenced by AIRINV::InventoryParserHelper::InventoryParser::definition< ScannerT >::definition(), and hours_p().

◆ uint1_3_p

uint1_3_p_t AIRINV::InventoryParserHelper::uint1_3_p

◆ uint4_p

uint4_p_t AIRINV::InventoryParserHelper::uint4_p

4-digit-integer parser

Definition at line 835 of file InventoryParserHelper.cpp.

◆ uint1_4_p

uint1_4_p_t AIRINV::InventoryParserHelper::uint1_4_p

Up-to-4-digit-integer parser

Definition at line 838 of file InventoryParserHelper.cpp.

Referenced by flight_number_p().

◆ family_code_p

int1_p_t AIRINV::InventoryParserHelper::family_code_p