Classes | |
struct | ParserSemanticAction |
struct | storePrefDepDateRangeStart |
struct | storePrefDepDateRangeEnd |
struct | storeDow |
struct | storeOrigin |
struct | storeDestination |
struct | storePrefCabin |
struct | storeDemandMean |
struct | storeDemandStdDev |
struct | storeDemandChangeFeeProb |
struct | storeDemandChangeFeeDisutility |
struct | storeDemandNonRefundableProb |
struct | storeDemandNonRefundableDisutility |
struct | storePosCode |
struct | storePosProbMass |
struct | storeChannelCode |
struct | storeChannelProbMass |
struct | storeTripCode |
struct | storeTripProbMass |
struct | storeStayCode |
struct | storeStayProbMass |
struct | storeFFCode |
struct | storeFFProbMass |
struct | storePrefDepTime |
struct | storePrefDepTimeProbMass |
struct | storeWTP |
struct | storeTimeValue |
struct | storeTimeValueProbMass |
struct | storeDTD |
struct | storeDTDProbMass |
struct | doEndDemand |
struct | DemandParser |
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) |
bounded1_2_p_t | hours_p (uint1_2_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") |
chset_t | passenger_type_p ("A-Z") |
chset_t | ff_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 |
repeat_p_t TRADEMGEN::DemandParserHelper::airline_code_p | ( | chset_t("0-9A-Z").derived() | , |
2 | , | ||
3 | |||
) |
Airline Code Parser: repeat_p(2,3)[chset_p("0-9A-Z")]
bounded1_4_p_t TRADEMGEN::DemandParserHelper::flight_number_p | ( | uint1_4_p. | derived(), |
0u | , | ||
9999u | |||
) |
Flight Number Parser: limit_d(0u, 9999u)[uint1_4_p]
bounded4_p_t TRADEMGEN::DemandParserHelper::year_p | ( | uint4_p. | derived(), |
2000u | , | ||
2099u | |||
) |
Year Parser: limit_d(2000u, 2099u)[uint4_p]
Referenced by TRADEMGEN::DemandParserHelper::DemandParser::definition< ScannerT >::definition().
bounded2_p_t TRADEMGEN::DemandParserHelper::month_p | ( | uint2_p. | derived(), |
1u | , | ||
12u | |||
) |
Month Parser: limit_d(1u, 12u)[uint2_p]
Referenced by TRADEMGEN::DemandParserHelper::DemandParser::definition< ScannerT >::definition().
bounded2_p_t TRADEMGEN::DemandParserHelper::day_p | ( | uint2_p. | derived(), |
1u | , | ||
31u | |||
) |
Day Parser: limit_d(1u, 31u)[uint2_p]
Referenced by TRADEMGEN::DemandParserHelper::DemandParser::definition< ScannerT >::definition().
repeat_p_t TRADEMGEN::DemandParserHelper::dow_p | ( | chset_t("0-1").derived().derived() | , |
7 | , | ||
7 | |||
) |
DOW (Day-Of-the-Week) Parser: repeat_p(7)[chset_p("0-1")]
Referenced by TRADEMGEN::DemandParserHelper::DemandParser::definition< ScannerT >::definition().
repeat_p_t TRADEMGEN::DemandParserHelper::airport_p | ( | chset_t("0-9A-Z").derived() | , |
3 | , | ||
3 | |||
) |
Airport Parser: repeat_p(3)[chset_p("0-9A-Z")]
Referenced by TRADEMGEN::DemandParserHelper::DemandParser::definition< ScannerT >::definition().
bounded1_2_p_t TRADEMGEN::DemandParserHelper::hours_p | ( | uint1_2_p. | derived(), |
0u | , | ||
23u | |||
) |
Hour Parser: limit_d(0u, 23u)[uint2_p]
Referenced by TRADEMGEN::DemandParserHelper::DemandParser::definition< ScannerT >::definition().
bounded2_p_t TRADEMGEN::DemandParserHelper::minutes_p | ( | uint2_p. | derived(), |
0u | , | ||
59u | |||
) |
Minute Parser: limit_d(0u, 59u)[uint2_p]
Referenced by TRADEMGEN::DemandParserHelper::DemandParser::definition< ScannerT >::definition().
bounded2_p_t TRADEMGEN::DemandParserHelper::seconds_p | ( | uint2_p. | derived(), |
0u | , | ||
59u | |||
) |
Second Parser: limit_d(0u, 59u)[uint2_p]
Referenced by TRADEMGEN::DemandParserHelper::DemandParser::definition< ScannerT >::definition().
chset_t TRADEMGEN::DemandParserHelper::cabin_code_p | ( | "A-Z" | ) |
Cabin code parser: chset_p("A-Z")
Referenced by TRADEMGEN::DemandParserHelper::DemandParser::definition< ScannerT >::definition().
chset_t TRADEMGEN::DemandParserHelper::passenger_type_p | ( | "A-Z" | ) |
Passenger type parser: chset_p("A-Z")
chset_t TRADEMGEN::DemandParserHelper::ff_type_p | ( | "A-Z" | ) |
Frequent flyer type parser: chset_p("A-Z")
Referenced by TRADEMGEN::DemandParserHelper::DemandParser::definition< ScannerT >::definition().
repeat_p_t TRADEMGEN::DemandParserHelper::class_code_list_p | ( | chset_t("A-Z").derived() | , |
1 | , | ||
26 | |||
) |
Class Code List Parser: repeat_p(1,26)[chset_p("A-Z")]
bounded1_3_p_t TRADEMGEN::DemandParserHelper::stay_duration_p | ( | uint1_3_p. | derived(), |
0u | , | ||
999u | |||
) |
Stay duration Parser: limit_d(0u, 999u)[uint3_p]
Referenced by TRADEMGEN::DemandParserHelper::DemandParser::definition< ScannerT >::definition().
int1_p_t TRADEMGEN::DemandParserHelper::int1_p |
1-digit-integer parser
Definition at line 497 of file DemandParserHelper.cpp.
uint2_p_t TRADEMGEN::DemandParserHelper::uint2_p |
2-digit-integer parser
Definition at line 500 of file DemandParserHelper.cpp.
uint1_2_p_t TRADEMGEN::DemandParserHelper::uint1_2_p |
Up-to-2-digit-integer parser
Definition at line 503 of file DemandParserHelper.cpp.
uint1_3_p_t TRADEMGEN::DemandParserHelper::uint1_3_p |
Up-to-3-digit-integer parser
Definition at line 506 of file DemandParserHelper.cpp.
uint4_p_t TRADEMGEN::DemandParserHelper::uint4_p |
4-digit-integer parser
Definition at line 509 of file DemandParserHelper.cpp.
uint1_4_p_t TRADEMGEN::DemandParserHelper::uint1_4_p |
Up-to-4-digit-integer parser
Definition at line 512 of file DemandParserHelper.cpp.
int1_p_t TRADEMGEN::DemandParserHelper::family_code_p |
Family code parser
Definition at line 554 of file DemandParserHelper.cpp.