AirTSP Logo  1.01.0
C++ Simulated Airline Travel Solution Provider Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
AIRTSP::OnDParserHelper Namespace Reference

Classes

struct  ParserSemanticAction
 
struct  storeOrigin
 
struct  storeDestination
 
struct  storeDateRangeStart
 
struct  storeDateRangeEnd
 
struct  storeStartRangeTime
 
struct  storeEndRangeTime
 
struct  storeAirlineCode
 
struct  storeClassCode
 
struct  doEndOnD
 
struct  OnDParser
 

Functions

chset_t alpha_cap_set_p ("A-Z")
 
repeat_p_t airport_p (chset_t("0-9A-Z").derived(), 3, 3)
 
repeat_p_t airline_code_p (alpha_cap_set_p.derived(), 2, 3)
 
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)
 
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 class_code_p ("A-Z")
 

Variables

uint2_p_t uint2_p
 
uint4_p_t uint4_p
 
uint1_4_p_t uint1_4_p
 

Function Documentation

chset_t AIRTSP::OnDParserHelper::alpha_cap_set_p ( "A-Z"  )

Sequence of (capital) alphabetic characters: chset_p("A-Z")

repeat_p_t AIRTSP::OnDParserHelper::airport_p ( chset_t("0-9A-Z").derived()  ,
,
 
)

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

Referenced by AIRTSP::OnDParserHelper::OnDParser::definition< ScannerT >::definition().

repeat_p_t AIRTSP::OnDParserHelper::airline_code_p ( alpha_cap_set_p.  derived(),
,
 
)

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

Referenced by AIRTSP::OnDParserHelper::OnDParser::definition< ScannerT >::definition().

bounded4_p_t AIRTSP::OnDParserHelper::year_p ( uint4_p.  derived(),
2000u  ,
2099u   
)

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

Referenced by AIRTSP::OnDParserHelper::OnDParser::definition< ScannerT >::definition().

bounded2_p_t AIRTSP::OnDParserHelper::month_p ( uint2_p.  derived(),
1u  ,
12u   
)

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

Referenced by AIRTSP::OnDParserHelper::OnDParser::definition< ScannerT >::definition().

bounded2_p_t AIRTSP::OnDParserHelper::day_p ( uint2_p.  derived(),
1u  ,
31u   
)

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

Referenced by AIRTSP::OnDParserHelper::OnDParser::definition< ScannerT >::definition().

bounded2_p_t AIRTSP::OnDParserHelper::hours_p ( uint2_p.  derived(),
0u  ,
23u   
)

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

Referenced by AIRTSP::OnDParserHelper::OnDParser::definition< ScannerT >::definition().

bounded2_p_t AIRTSP::OnDParserHelper::minutes_p ( uint2_p.  derived(),
0u  ,
59u   
)

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

Referenced by AIRTSP::OnDParserHelper::OnDParser::definition< ScannerT >::definition().

bounded2_p_t AIRTSP::OnDParserHelper::seconds_p ( uint2_p.  derived(),
0u  ,
59u   
)

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

Referenced by AIRTSP::OnDParserHelper::OnDParser::definition< ScannerT >::definition().

chset_t AIRTSP::OnDParserHelper::class_code_p ( "A-Z"  )

Class Code Parser: chset_p("A-Z")

Referenced by AIRTSP::OnDParserHelper::OnDParser::definition< ScannerT >::definition().

Variable Documentation

uint2_p_t AIRTSP::OnDParserHelper::uint2_p

2-digit-integer parser

Definition at line 215 of file OnDParserHelper.cpp.

uint4_p_t AIRTSP::OnDParserHelper::uint4_p

4-digit-integer parser

Definition at line 218 of file OnDParserHelper.cpp.

uint1_4_p_t AIRTSP::OnDParserHelper::uint1_4_p

Up-to-4-digit-integer parser

Definition at line 221 of file OnDParserHelper.cpp.