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::DCPParserHelper::DCPRuleParser Struct Reference

#include <airinv/command/vault/DCPParserHelper.hpp>

+ Inheritance diagram for AIRINV::DCPParserHelper::DCPRuleParser:

List of all members.

Public Member Functions

 DCPRuleParser (stdair::BomRoot &, DCPRuleStruct &)

Public Attributes

boost::spirit::qi::rule
< stdair::iterator_t,
boost::spirit::ascii::space_type > 
start
boost::spirit::qi::rule
< stdair::iterator_t,
boost::spirit::ascii::space_type > 
comments
boost::spirit::qi::rule
< stdair::iterator_t,
boost::spirit::ascii::space_type > 
DCP_rule
boost::spirit::qi::rule
< stdair::iterator_t,
boost::spirit::ascii::space_type > 
DCP_rule_end
boost::spirit::qi::rule
< stdair::iterator_t,
boost::spirit::ascii::space_type > 
DCP_key
boost::spirit::qi::rule
< stdair::iterator_t,
boost::spirit::ascii::space_type > 
DCP_id
boost::spirit::qi::rule
< stdair::iterator_t,
boost::spirit::ascii::space_type > 
origin
boost::spirit::qi::rule
< stdair::iterator_t,
boost::spirit::ascii::space_type > 
destination
boost::spirit::qi::rule
< stdair::iterator_t,
boost::spirit::ascii::space_type > 
dateRangeStart
boost::spirit::qi::rule
< stdair::iterator_t,
boost::spirit::ascii::space_type > 
dateRangeEnd
boost::spirit::qi::rule
< stdair::iterator_t,
boost::spirit::ascii::space_type > 
date
boost::spirit::qi::rule
< stdair::iterator_t,
boost::spirit::ascii::space_type > 
timeRangeStart
boost::spirit::qi::rule
< stdair::iterator_t,
boost::spirit::ascii::space_type > 
timeRangeEnd
boost::spirit::qi::rule
< stdair::iterator_t,
boost::spirit::ascii::space_type > 
time
boost::spirit::qi::rule
< stdair::iterator_t,
boost::spirit::ascii::space_type > 
position
boost::spirit::qi::rule
< stdair::iterator_t,
boost::spirit::ascii::space_type > 
cabinCode
boost::spirit::qi::rule
< stdair::iterator_t,
boost::spirit::ascii::space_type > 
channel
boost::spirit::qi::rule
< stdair::iterator_t,
boost::spirit::ascii::space_type > 
advancePurchase
boost::spirit::qi::rule
< stdair::iterator_t,
boost::spirit::ascii::space_type > 
saturdayStay
boost::spirit::qi::rule
< stdair::iterator_t,
boost::spirit::ascii::space_type > 
changeFees
boost::spirit::qi::rule
< stdair::iterator_t,
boost::spirit::ascii::space_type > 
nonRefundable
boost::spirit::qi::rule
< stdair::iterator_t,
boost::spirit::ascii::space_type > 
minimumStay
boost::spirit::qi::rule
< stdair::iterator_t,
boost::spirit::ascii::space_type > 
DCP
boost::spirit::qi::rule
< stdair::iterator_t,
boost::spirit::ascii::space_type > 
segment
boost::spirit::qi::rule
< stdair::iterator_t,
boost::spirit::ascii::space_type > 
list_class
stdair::BomRoot & _bomRoot
DCPRuleStruct & _DCPRule

Detailed Description

DCP: DCPID; OriginCity; DestinationCity; DateRangeStart; DateRangeEnd; DepartureTimeRangeStart; DepartureTimeRangeEnd; POS; AdvancePurchase; SaturdayNight; ChangeFees; NonRefundable; MinimumStay; Price; AirlineCode; Class;

DCPID OriginCity (3-char airport code) DestinationCity (3-char airport code) DateRangeStart (yyyy-mm-dd) DateRangeEnd (yyyy-mm-dd) DepartureTimeRangeStart (hh:mm) DepartureTimeRangeEnd (hh:mm) POS (3-char position city) Cabin Code (1-char cabin code) Channel (D=direct, I=indirect, N=oNline, F=oFfline) AdvancePurchase SaturdayNight (T=True, F=False) ChangeFees (T=True, F=False) NonRefundable (T=True, F=False) MinimumStay Price AirlineCode (2-char airline code) ClassList (List of 1-char class code)

Grammar: Demand ::= PrefDepDate ';' Origin ';' Destination ';' PassengerType ';' DemandParams ';' PosDist ';' ChannelDist ';' TripDist ';' StayDist ';' FfDist ';' PrefDepTimeDist ';' minWTP ';' TimeValueDist ';' DtdDist EndOfDemand PrefDepDate ::= date PassengerType ::= 'T' | 'F' DemandParams ::= DemandMean ';' DemandStdDev PosDist ::= PosPair (',' PosPair)* PosPair ::= PosCode ':' PosShare PosCode ::= AirportCode | "row" PosShare ::= real ChannelDist ::= ChannelPair (',' ChannelPair)* ChannelPair ::= Channel_Code ':' ChannelShare ChannelCode ::= "DF" | "DN" | "IF" | "IN" ChannelShare ::= real TripDist ::= TripPair (',' TripPair)* TripPair ::= TripCode ':' TripShare TripCode ::= "RO" | "RI" | "OW" TripShare ::= real StayDist ::= StayPair (',' StayPair)* StayPair ::= [0;3]-digit-integer ':' stay_share StayShare ::= real FFDist ::= FF_Pair (',' FF_Pair)* FFPair ::= FFCode ':' FFShare FFCode ::= 'P' | 'G' | 'S' | 'M' | 'N' FFShare ::= real PrefDepTimeDist ::= PrefDepTimePair (',' PrefDepTimePair)* PrefDepTimePair ::= time ':' PrefDepTimeShare PrefDepTimeShare ::= real minWTP ::= real TimeValueDist ::= TimeValuePair (',' TimeValuePair)* TimeValuePair ::= [0;2]-digit-integer ':' TimeValueShare TimeValueShare ::= real DTDDist ::= DTDPair (',' DTDPair)* DTDPair ::= real ':' DTDShare DTDShare ::= real EndOfDemand ::= ';' Grammar for the DCP-Rule parser.

Definition at line 304 of file DCPParserHelper.hpp.


Constructor & Destructor Documentation


Member Data Documentation

boost::spirit::qi::rule<stdair::iterator_t, boost::spirit::ascii::space_type> AIRINV::DCPParserHelper::DCPRuleParser::start

Definition at line 313 of file DCPParserHelper.hpp.

Referenced by DCPRuleParser().

boost::spirit::qi::rule<stdair::iterator_t, boost::spirit::ascii::space_type> AIRINV::DCPParserHelper::DCPRuleParser::comments

Definition at line 313 of file DCPParserHelper.hpp.

Referenced by DCPRuleParser().

boost::spirit::qi::rule<stdair::iterator_t, boost::spirit::ascii::space_type> AIRINV::DCPParserHelper::DCPRuleParser::DCP_rule

Definition at line 313 of file DCPParserHelper.hpp.

Referenced by DCPRuleParser().

boost::spirit::qi::rule<stdair::iterator_t, boost::spirit::ascii::space_type> AIRINV::DCPParserHelper::DCPRuleParser::DCP_rule_end

Definition at line 313 of file DCPParserHelper.hpp.

Referenced by DCPRuleParser().

boost::spirit::qi::rule<stdair::iterator_t, boost::spirit::ascii::space_type> AIRINV::DCPParserHelper::DCPRuleParser::DCP_key

Definition at line 313 of file DCPParserHelper.hpp.

Referenced by DCPRuleParser().

boost::spirit::qi::rule<stdair::iterator_t, boost::spirit::ascii::space_type> AIRINV::DCPParserHelper::DCPRuleParser::DCP_id

Definition at line 313 of file DCPParserHelper.hpp.

Referenced by DCPRuleParser().

boost::spirit::qi::rule<stdair::iterator_t, boost::spirit::ascii::space_type> AIRINV::DCPParserHelper::DCPRuleParser::origin

Definition at line 313 of file DCPParserHelper.hpp.

Referenced by DCPRuleParser().

boost::spirit::qi::rule<stdair::iterator_t, boost::spirit::ascii::space_type> AIRINV::DCPParserHelper::DCPRuleParser::destination

Definition at line 313 of file DCPParserHelper.hpp.

Referenced by DCPRuleParser().

boost::spirit::qi::rule<stdair::iterator_t, boost::spirit::ascii::space_type> AIRINV::DCPParserHelper::DCPRuleParser::dateRangeStart

Definition at line 313 of file DCPParserHelper.hpp.

Referenced by DCPRuleParser().

boost::spirit::qi::rule<stdair::iterator_t, boost::spirit::ascii::space_type> AIRINV::DCPParserHelper::DCPRuleParser::dateRangeEnd

Definition at line 313 of file DCPParserHelper.hpp.

Referenced by DCPRuleParser().

boost::spirit::qi::rule<stdair::iterator_t, boost::spirit::ascii::space_type> AIRINV::DCPParserHelper::DCPRuleParser::date

Definition at line 313 of file DCPParserHelper.hpp.

Referenced by DCPRuleParser().

boost::spirit::qi::rule<stdair::iterator_t, boost::spirit::ascii::space_type> AIRINV::DCPParserHelper::DCPRuleParser::timeRangeStart

Definition at line 313 of file DCPParserHelper.hpp.

Referenced by DCPRuleParser().

boost::spirit::qi::rule<stdair::iterator_t, boost::spirit::ascii::space_type> AIRINV::DCPParserHelper::DCPRuleParser::timeRangeEnd

Definition at line 313 of file DCPParserHelper.hpp.

Referenced by DCPRuleParser().

boost::spirit::qi::rule<stdair::iterator_t, boost::spirit::ascii::space_type> AIRINV::DCPParserHelper::DCPRuleParser::time

Definition at line 313 of file DCPParserHelper.hpp.

Referenced by DCPRuleParser().

boost::spirit::qi::rule<stdair::iterator_t, boost::spirit::ascii::space_type> AIRINV::DCPParserHelper::DCPRuleParser::position

Definition at line 313 of file DCPParserHelper.hpp.

Referenced by DCPRuleParser().

boost::spirit::qi::rule<stdair::iterator_t, boost::spirit::ascii::space_type> AIRINV::DCPParserHelper::DCPRuleParser::cabinCode

Definition at line 313 of file DCPParserHelper.hpp.

Referenced by DCPRuleParser().

boost::spirit::qi::rule<stdair::iterator_t, boost::spirit::ascii::space_type> AIRINV::DCPParserHelper::DCPRuleParser::channel

Definition at line 313 of file DCPParserHelper.hpp.

Referenced by DCPRuleParser().

boost::spirit::qi::rule<stdair::iterator_t, boost::spirit::ascii::space_type> AIRINV::DCPParserHelper::DCPRuleParser::advancePurchase

Definition at line 313 of file DCPParserHelper.hpp.

Referenced by DCPRuleParser().

boost::spirit::qi::rule<stdair::iterator_t, boost::spirit::ascii::space_type> AIRINV::DCPParserHelper::DCPRuleParser::saturdayStay

Definition at line 313 of file DCPParserHelper.hpp.

Referenced by DCPRuleParser().

boost::spirit::qi::rule<stdair::iterator_t, boost::spirit::ascii::space_type> AIRINV::DCPParserHelper::DCPRuleParser::changeFees

Definition at line 313 of file DCPParserHelper.hpp.

Referenced by DCPRuleParser().

boost::spirit::qi::rule<stdair::iterator_t, boost::spirit::ascii::space_type> AIRINV::DCPParserHelper::DCPRuleParser::nonRefundable

Definition at line 313 of file DCPParserHelper.hpp.

Referenced by DCPRuleParser().

boost::spirit::qi::rule<stdair::iterator_t, boost::spirit::ascii::space_type> AIRINV::DCPParserHelper::DCPRuleParser::minimumStay

Definition at line 313 of file DCPParserHelper.hpp.

Referenced by DCPRuleParser().

boost::spirit::qi::rule<stdair::iterator_t, boost::spirit::ascii::space_type> AIRINV::DCPParserHelper::DCPRuleParser::DCP

Definition at line 313 of file DCPParserHelper.hpp.

Referenced by DCPRuleParser().

boost::spirit::qi::rule<stdair::iterator_t, boost::spirit::ascii::space_type> AIRINV::DCPParserHelper::DCPRuleParser::segment

Definition at line 313 of file DCPParserHelper.hpp.

Referenced by DCPRuleParser().

boost::spirit::qi::rule<stdair::iterator_t, boost::spirit::ascii::space_type> AIRINV::DCPParserHelper::DCPRuleParser::list_class

Definition at line 313 of file DCPParserHelper.hpp.

Referenced by DCPRuleParser().

stdair::BomRoot& AIRINV::DCPParserHelper::DCPRuleParser::_bomRoot

Definition at line 320 of file DCPParserHelper.hpp.

Referenced by DCPRuleParser().

DCPRuleStruct& AIRINV::DCPParserHelper::DCPRuleParser::_DCPRule

Definition at line 321 of file DCPParserHelper.hpp.

Referenced by DCPRuleParser().


The documentation for this struct was generated from the following files: