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::InventoryParserHelper Namespace Reference

Classes

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

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

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

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

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

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]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

chset_t AIRINV::InventoryParserHelper::cabin_code_p ( "A-Z"  )
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().

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

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

repeat_p_t AIRINV::InventoryParserHelper::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::InventoryParserHelper::InventoryParser::definition< ScannerT >::definition().

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

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


Variable Documentation

int1_p_t AIRINV::InventoryParserHelper::int1_p

1-digit-integer parser

Definition at line 823 of file InventoryParserHelper.cpp.

uint2_p_t AIRINV::InventoryParserHelper::uint2_p

2-digit-integer parser

Definition at line 826 of file InventoryParserHelper.cpp.

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().

uint1_3_p_t AIRINV::InventoryParserHelper::uint1_3_p

Up-to-3-digit-integer parser

Definition at line 832 of file InventoryParserHelper.cpp.

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

uint4_p_t AIRINV::InventoryParserHelper::uint4_p

4-digit-integer parser

Definition at line 835 of file InventoryParserHelper.cpp.

uint1_4_p_t AIRINV::InventoryParserHelper::uint1_4_p

Up-to-4-digit-integer parser

Definition at line 838 of file InventoryParserHelper.cpp.

int1_p_t AIRINV::InventoryParserHelper::family_code_p