TraDemGen Logo  1.00.4
C++ Simulated Travel Demand Generation Library
DemandParserHelper.hpp
Go to the documentation of this file.
1 #ifndef __TRADEMGEN_CMD_DEMANDPARSERHELPER_HPP
2 #define __TRADEMGEN_CMD_DEMANDPARSERHELPER_HPP
3 
4 // //////////////////////////////////////////////////////////////////////
5 // Import section
6 // //////////////////////////////////////////////////////////////////////
7 // STL
8 #include <string>
9 // STDAIR
10 #include <stdair/command/CmdAbstract.hpp>
11 // SEvMgr
12 #include <sevmgr/SEVMGR_Types.hpp>
13 // TRADEMGEN
17 
18 // Forward declarations
19 namespace stdair {
20  struct RandomGeneration;
21 }
22 
23 namespace TRADEMGEN {
24 
25  namespace DemandParserHelper {
26 
27  // ///////////////////////////////////////////////////////////////////
28  // Semantic actions
29  // ///////////////////////////////////////////////////////////////////
36  };
37 
43  void operator() (iterator_t iStr, iterator_t iStrEnd) const;
44  };
45 
51  void operator() (iterator_t iStr, iterator_t iStrEnd) const;
52  };
53 
55  struct storeDow : public ParserSemanticAction {
59  void operator() (iterator_t iStr, iterator_t iStrEnd) const;
60  };
61 
67  void operator() (iterator_t iStr, iterator_t iStrEnd) const;
68  };
69 
75  void operator() (iterator_t iStr, iterator_t iStrEnd) const;
76  };
77 
83  void operator() (iterator_t iStr, iterator_t iStrEnd) const;
84  };
85 
91  void operator() (double iReal) const;
92  };
93 
99  void operator() (double iReal) const;
100  };
101 
107  void operator() (double iReal) const;
108  };
109 
115  void operator() (double iReal) const;
116  };
117 
123  void operator() (double iReal) const;
124  };
125 
131  void operator() (double iReal) const;
132  };
133 
139  void operator() (iterator_t iStr, iterator_t iStrEnd) const;
140  };
141 
147  void operator() (double iReal) const;
148  };
149 
155  void operator() (iterator_t iStr, iterator_t iStrEnd) const;
156  };
157 
163  void operator() (double iReal) const;
164  };
165 
171  void operator() (iterator_t iStr, iterator_t iStrEnd) const;
172  };
173 
179  void operator() (double iReal) const;
180  };
181 
187  void operator() (unsigned int iInteger) const;
188  };
189 
195  void operator() (double iReal) const;
196  };
197 
203  void operator() (iterator_t iStr, iterator_t iStrEnd) const;
204  };
205 
211  void operator() (double iReal) const;
212  };
213 
220  void operator() (iterator_t iStr, iterator_t iStrEnd) const;
221  };
222 
229  void operator() (double iReal) const;
230  };
231 
233  struct storeWTP : public ParserSemanticAction {
237  void operator() (double iReal) const;
238  };
239 
245  void operator() (double iReal) const;
246  };
247 
253  void operator() (double iReal) const;
254  };
255 
258  struct storeDTD : public ParserSemanticAction {
262  void operator() (unsigned int iInteger) const;
263  };
264 
271  void operator() (double iReal) const;
272  };
273 
277  doEndDemand (SEVMGR::SEVMGR_ServicePtr_T, stdair::RandomGeneration&,
280  void operator() (iterator_t iStr, iterator_t iStrEnd) const;
282  SEVMGR::SEVMGR_ServicePtr_T _sevmgrServicePtr;
283  stdair::RandomGeneration& _uniformGenerator;
285  };
286 
287 
289  //
290  // (Boost Spirit) Grammar Definition
291  //
293 
384  struct DemandParser :
385  public boost::spirit::classic::grammar<DemandParser> {
386 
387  DemandParser (SEVMGR::SEVMGR_ServicePtr_T, stdair::RandomGeneration&,
389 
390  template <typename ScannerT>
391  struct definition {
392  definition (DemandParser const& self);
393 
394  // Instantiation of rules
395  boost::spirit::classic::rule<ScannerT> demand_list,
403  change_fees,
406  wtp,
409 
411  boost::spirit::classic::rule<ScannerT> const& start() const;
412  };
413 
414  // Parser Context
415  SEVMGR::SEVMGR_ServicePtr_T _sevmgrServicePtr;
416  stdair::RandomGeneration& _uniformGenerator;
419  };
420 
421  }
422 
423 
425  //
426  // Entry class for the file parser
427  //
429 
434  class DemandFileParser : public stdair::CmdAbstract {
435  public:
437  DemandFileParser (SEVMGR::SEVMGR_ServicePtr_T, stdair::RandomGeneration&,
438  const POSProbabilityMass_T&,
439  const stdair::Filename_T& iDemandInputFilename);
440 
442  bool generateDemand ();
443 
444  private:
446  void init();
447 
448  private:
449  // Attributes
451  stdair::Filename_T _filename;
452 
454  iterator_t _startIterator;
455 
457  iterator_t _endIterator;
458 
460  SEVMGR::SEVMGR_ServicePtr_T _sevmgrServicePtr;
461 
463  stdair::RandomGeneration& _uniformGenerator;
464 
466  const POSProbabilityMass_T& _posProbabilityMass;
467 
469  DemandStruct _demand;
470  };
471 
472 }
473 #endif // __TRADEMGEN_CMD_DEMANDPARSERHELPER_HPP
TRADEMGEN::DemandParserHelper::storeDemandNonRefundableProb::storeDemandNonRefundableProb
storeDemandNonRefundableProb(DemandStruct &)
Definition: DemandParserHelper.cpp:162
TRADEMGEN::DemandParserHelper::storeDestination::storeDestination
storeDestination(DemandStruct &)
Definition: DemandParserHelper.cpp:92
TRADEMGEN::DemandParserHelper::DemandParser::definition::demand_list
boost::spirit::classic::rule< ScannerT > demand_list
Definition: DemandParserHelper.hpp:395
TRADEMGEN::DemandParserHelper::storeChannelCode::storeChannelCode
storeChannelCode(DemandStruct &)
Definition: DemandParserHelper.cpp:219
TRADEMGEN::DemandParserHelper::DemandParser::definition::dtd_pair
boost::spirit::classic::rule< ScannerT > dtd_pair
Definition: DemandParserHelper.hpp:395
TRADEMGEN::DemandParserHelper::storeDemandNonRefundableDisutility
Definition: DemandParserHelper.hpp:127
TRADEMGEN::DemandParserHelper::storeDemandMean::storeDemandMean
storeDemandMean(DemandStruct &)
Definition: DemandParserHelper.cpp:117
TRADEMGEN::DemandParserHelper::storeDemandNonRefundableProb
Definition: DemandParserHelper.hpp:119
TRADEMGEN::DemandParserHelper::storePosProbMass::storePosProbMass
storePosProbMass(DemandStruct &)
Definition: DemandParserHelper.cpp:197
TRADEMGEN::DemandParserHelper::storeFFProbMass::storeFFProbMass
storeFFProbMass(DemandStruct &)
Definition: DemandParserHelper.cpp:334
TRADEMGEN::DemandParserHelper::DemandParser::definition::start
boost::spirit::classic::rule< ScannerT > const & start() const
Definition: DemandParserHelper.cpp:839
TRADEMGEN::DemandParserHelper::DemandParser::definition::dow
boost::spirit::classic::rule< ScannerT > dow
Definition: DemandParserHelper.hpp:395
TRADEMGEN::DemandParserHelper::storeTimeValueProbMass::operator()
void operator()(double iReal) const
Definition: DemandParserHelper.cpp:420
TRADEMGEN::DemandParserHelper::doEndDemand::operator()
void operator()(iterator_t iStr, iterator_t iStrEnd) const
Definition: DemandParserHelper.cpp:469
TRADEMGEN::DemandParserHelper::DemandParser::definition::stay_pair
boost::spirit::classic::rule< ScannerT > stay_pair
Definition: DemandParserHelper.hpp:395
TRADEMGEN::DemandParserHelper::DemandParser::definition::stay_dist
boost::spirit::classic::rule< ScannerT > stay_dist
Definition: DemandParserHelper.hpp:395
TRADEMGEN::DemandParserHelper::DemandParser::definition::trip_pair
boost::spirit::classic::rule< ScannerT > trip_pair
Definition: DemandParserHelper.hpp:395
TRADEMGEN::DemandParserHelper::DemandParser::definition::time_value_pair
boost::spirit::classic::rule< ScannerT > time_value_pair
Definition: DemandParserHelper.hpp:395
TRADEMGEN::DemandParserHelper::storeChannelProbMass::storeChannelProbMass
storeChannelProbMass(DemandStruct &)
Definition: DemandParserHelper.cpp:231
TRADEMGEN::DemandParserHelper::storePosCode::storePosCode
storePosCode(DemandStruct &)
Definition: DemandParserHelper.cpp:185
TRADEMGEN::DemandParserHelper::storePrefCabin
Definition: DemandParserHelper.hpp:79
TRADEMGEN::DemandParserHelper::DemandParser
Definition: DemandParserHelper.hpp:384
TRADEMGEN::DemandParserHelper::storeDemandChangeFeeDisutility
Definition: DemandParserHelper.hpp:111
TRADEMGEN::DemandParserHelper::DemandParser::definition::date
boost::spirit::classic::rule< ScannerT > date
Definition: DemandParserHelper.hpp:395
stdair
Forward declarations.
Definition: CategoricalAttribute.hpp:14
TRADEMGEN::DemandParserHelper::DemandParser::definition::time_value_share
boost::spirit::classic::rule< ScannerT > time_value_share
Definition: DemandParserHelper.hpp:395
TRADEMGEN::DemandParserHelper::storeDemandMean::operator()
void operator()(double iReal) const
Definition: DemandParserHelper.cpp:122
TRADEMGEN::DemandParserHelper::storeDemandNonRefundableProb::operator()
void operator()(double iReal) const
Definition: DemandParserHelper.cpp:167
TRADEMGEN::DemandParserHelper::storeStayCode::operator()
void operator()(unsigned int iInteger) const
Definition: DemandParserHelper.cpp:294
TRADEMGEN::DemandParserHelper::storePrefCabin::storePrefCabin
storePrefCabin(DemandStruct &)
Definition: DemandParserHelper.cpp:104
TRADEMGEN::DemandParserHelper::DemandParser::definition::channel_share
boost::spirit::classic::rule< ScannerT > channel_share
Definition: DemandParserHelper.hpp:395
TRADEMGEN::DemandParserHelper::storePrefDepDateRangeStart
Definition: DemandParserHelper.hpp:39
TRADEMGEN::DemandParserHelper::storeTimeValue
Definition: DemandParserHelper.hpp:241
TRADEMGEN::DemandParserHelper::DemandParser::definition::pos_pair
boost::spirit::classic::rule< ScannerT > pos_pair
Definition: DemandParserHelper.hpp:395
TRADEMGEN::DemandParserHelper::storeDemandStdDev
Definition: DemandParserHelper.hpp:95
TRADEMGEN::DemandParserHelper::storeDestination::operator()
void operator()(iterator_t iStr, iterator_t iStrEnd) const
Definition: DemandParserHelper.cpp:97
TRADEMGEN::DemandFileParser
Definition: DemandParserHelper.hpp:434
TRADEMGEN::DemandParserHelper::storeDestination
Definition: DemandParserHelper.hpp:71
TRADEMGEN::DemandParserHelper::storePrefDepDateRangeEnd::operator()
void operator()(iterator_t iStr, iterator_t iStrEnd) const
Definition: DemandParserHelper.cpp:52
TRADEMGEN::DemandParserHelper::storePrefDepTime::operator()
void operator()(iterator_t iStr, iterator_t iStrEnd) const
Definition: DemandParserHelper.cpp:362
TRADEMGEN::DemandParserHelper::doEndDemand
Definition: DemandParserHelper.hpp:275
TRADEMGEN::DemandParserHelper::DemandParser::definition::pos_dist
boost::spirit::classic::rule< ScannerT > pos_dist
Definition: DemandParserHelper.hpp:395
TRADEMGEN::DemandParserHelper::DemandParser::_uniformGenerator
stdair::RandomGeneration & _uniformGenerator
Definition: DemandParserHelper.hpp:416
TRADEMGEN::DemandParserHelper::storeStayCode
Definition: DemandParserHelper.hpp:183
TRADEMGEN::DemandParserHelper::DemandParser::definition::pref_dep_time_share
boost::spirit::classic::rule< ScannerT > pref_dep_time_share
Definition: DemandParserHelper.hpp:395
TRADEMGEN::DemandParserHelper::DemandParser::definition::wtp
boost::spirit::classic::rule< ScannerT > wtp
Definition: DemandParserHelper.hpp:395
TRADEMGEN::DemandParserHelper::storePrefDepTime::storePrefDepTime
storePrefDepTime(DemandStruct &)
Definition: DemandParserHelper.cpp:357
TRADEMGEN::DemandParserHelper::DemandParser::definition::demand
boost::spirit::classic::rule< ScannerT > demand
Definition: DemandParserHelper.hpp:395
TRADEMGEN::DemandParserHelper::storeDow
Definition: DemandParserHelper.hpp:55
TRADEMGEN::DemandParserHelper::storeFFCode::storeFFCode
storeFFCode(DemandStruct &)
Definition: DemandParserHelper.cpp:323
TRADEMGEN::DemandParserHelper::storeDTD
Definition: DemandParserHelper.hpp:258
TRADEMGEN::DemandParserHelper::doEndDemand::_uniformGenerator
stdair::RandomGeneration & _uniformGenerator
Definition: DemandParserHelper.hpp:283
TRADEMGEN::DemandParserHelper::storeDemandChangeFeeProb::storeDemandChangeFeeProb
storeDemandChangeFeeProb(DemandStruct &)
Definition: DemandParserHelper.cpp:139
TRADEMGEN::DemandParserHelper::DemandParser::definition::channel_pair
boost::spirit::classic::rule< ScannerT > channel_pair
Definition: DemandParserHelper.hpp:395
TRADEMGEN::DemandParserHelper::ParserSemanticAction
Definition: DemandParserHelper.hpp:31
BasParserTypes.hpp
TRADEMGEN::DemandParserHelper::storeChannelProbMass::operator()
void operator()(double iReal) const
Definition: DemandParserHelper.cpp:236
DemandStruct.hpp
TRADEMGEN::DemandParserHelper::storeWTP
Definition: DemandParserHelper.hpp:233
TRADEMGEN::DemandParserHelper::DemandParser::definition::trip_dist
boost::spirit::classic::rule< ScannerT > trip_dist
Definition: DemandParserHelper.hpp:395
TRADEMGEN::DemandParserHelper::storeTimeValue::operator()
void operator()(double iReal) const
Definition: DemandParserHelper.cpp:409
TRADEMGEN::DemandParserHelper::DemandParser::definition::dtd_dist
boost::spirit::classic::rule< ScannerT > dtd_dist
Definition: DemandParserHelper.hpp:395
TRADEMGEN::DemandParserHelper::storeDemandMean
Definition: DemandParserHelper.hpp:87
TRADEMGEN::DemandParserHelper::storePosProbMass
Definition: DemandParserHelper.hpp:143
TRADEMGEN::DemandParserHelper::DemandParser::definition
Definition: DemandParserHelper.hpp:391
TRADEMGEN::DemandParserHelper::storeDemandNonRefundableDisutility::operator()
void operator()(double iReal) const
Definition: DemandParserHelper.cpp:179
TRADEMGEN::DemandParserHelper::DemandParser::definition::not_to_be_parsed
boost::spirit::classic::rule< ScannerT > not_to_be_parsed
Definition: DemandParserHelper.hpp:395
TRADEMGEN::DemandParserHelper::storeDemandChangeFeeDisutility::operator()
void operator()(double iReal) const
Definition: DemandParserHelper.cpp:155
TRADEMGEN::DemandParserHelper::DemandParser::definition::destination
boost::spirit::classic::rule< ScannerT > destination
Definition: DemandParserHelper.hpp:395
TRADEMGEN::DemandParserHelper::storePrefCabin::operator()
void operator()(iterator_t iStr, iterator_t iStrEnd) const
Definition: DemandParserHelper.cpp:109
TRADEMGEN::DemandParserHelper::storeDemandChangeFeeDisutility::storeDemandChangeFeeDisutility
storeDemandChangeFeeDisutility(DemandStruct &)
Definition: DemandParserHelper.cpp:150
TRADEMGEN::DemandParserHelper::DemandParser::definition::pos_code
boost::spirit::classic::rule< ScannerT > pos_code
Definition: DemandParserHelper.hpp:395
TRADEMGEN::DemandParserHelper::storeDemandChangeFeeProb::operator()
void operator()(double iReal) const
Definition: DemandParserHelper.cpp:144
TRADEMGEN::DemandParserHelper::storeDow::operator()
void operator()(iterator_t iStr, iterator_t iStrEnd) const
Definition: DemandParserHelper.cpp:75
TRADEMGEN::DemandParserHelper::DemandParser::definition::time_value_dist
boost::spirit::classic::rule< ScannerT > time_value_dist
Definition: DemandParserHelper.hpp:395
TRADEMGEN::DemandParserHelper::ParserSemanticAction::ParserSemanticAction
ParserSemanticAction(DemandStruct &)
Definition: DemandParserHelper.cpp:26
TRADEMGEN::DemandParserHelper::storeTripProbMass::operator()
void operator()(double iReal) const
Definition: DemandParserHelper.cpp:271
TRADEMGEN::DemandFileParser::DemandFileParser
DemandFileParser(SEVMGR::SEVMGR_ServicePtr_T, stdair::RandomGeneration &, const POSProbabilityMass_T &, const stdair::Filename_T &iDemandInputFilename)
Definition: DemandParserHelper.cpp:854
TRADEMGEN::DemandParserHelper::DemandParser::definition::pref_dep_time_pair
boost::spirit::classic::rule< ScannerT > pref_dep_time_pair
Definition: DemandParserHelper.hpp:395
TRADEMGEN::DemandParserHelper::storeOrigin::storeOrigin
storeOrigin(DemandStruct &)
Definition: DemandParserHelper.cpp:81
TRADEMGEN::DemandParserHelper::DemandParser::definition::ff_share
boost::spirit::classic::rule< ScannerT > ff_share
Definition: DemandParserHelper.hpp:395
TRADEMGEN::DemandParserHelper::storeWTP::storeWTP
storeWTP(DemandStruct &)
Definition: DemandParserHelper.cpp:393
TRADEMGEN::DemandParserHelper::storeOrigin::operator()
void operator()(iterator_t iStr, iterator_t iStrEnd) const
Definition: DemandParserHelper.cpp:86
TRADEMGEN::DemandParserHelper::storePrefDepDateRangeStart::operator()
void operator()(iterator_t iStr, iterator_t iStrEnd) const
Definition: DemandParserHelper.cpp:37
TRADEMGEN::DemandParserHelper::doEndDemand::_posProbabilityMass
const POSProbabilityMass_T & _posProbabilityMass
Definition: DemandParserHelper.hpp:284
TRADEMGEN::DemandParserHelper::DemandParser::definition::pref_cabin
boost::spirit::classic::rule< ScannerT > pref_cabin
Definition: DemandParserHelper.hpp:395
TRADEMGEN::DemandStruct
Definition: DemandStruct.hpp:21
TRADEMGEN::DemandParserHelper::storeFFCode
Definition: DemandParserHelper.hpp:199
TRADEMGEN::DemandParserHelper::DemandParser::definition::channel_code
boost::spirit::classic::rule< ScannerT > channel_code
Definition: DemandParserHelper.hpp:395
TRADEMGEN::DemandParserHelper::storeDTD::operator()
void operator()(unsigned int iInteger) const
Definition: DemandParserHelper.cpp:433
TRADEMGEN::DemandParserHelper::DemandParser::definition::ff_dist
boost::spirit::classic::rule< ScannerT > ff_dist
Definition: DemandParserHelper.hpp:395
TRADEMGEN::DemandParserHelper::DemandParser::definition::stay_share
boost::spirit::classic::rule< ScannerT > stay_share
Definition: DemandParserHelper.hpp:395
TRADEMGEN::DemandParserHelper::DemandParser::_demand
DemandStruct & _demand
Definition: DemandParserHelper.hpp:418
TRADEMGEN::DemandParserHelper::storeDemandStdDev::storeDemandStdDev
storeDemandStdDev(DemandStruct &)
Definition: DemandParserHelper.cpp:128
TRADEMGEN::DemandParserHelper::DemandParser::definition::demand_params
boost::spirit::classic::rule< ScannerT > demand_params
Definition: DemandParserHelper.hpp:395
TRADEMGEN::DemandParserHelper::DemandParser::_sevmgrServicePtr
SEVMGR::SEVMGR_ServicePtr_T _sevmgrServicePtr
Definition: DemandParserHelper.hpp:415
TRADEMGEN::DemandParserHelper::storeFFCode::operator()
void operator()(iterator_t iStr, iterator_t iStrEnd) const
Definition: DemandParserHelper.cpp:328
TRADEMGEN::DemandParserHelper::storeTripProbMass::storeTripProbMass
storeTripProbMass(DemandStruct &)
Definition: DemandParserHelper.cpp:266
TRADEMGEN::DemandParserHelper::storeDemandNonRefundableDisutility::storeDemandNonRefundableDisutility
storeDemandNonRefundableDisutility(DemandStruct &)
Definition: DemandParserHelper.cpp:174
TRADEMGEN::DemandParserHelper::storeDTDProbMass::operator()
void operator()(double iReal) const
Definition: DemandParserHelper.cpp:445
TRADEMGEN::DemandParserHelper::storeChannelProbMass
Definition: DemandParserHelper.hpp:159
TRADEMGEN::DemandParserHelper::DemandParser::definition::change_fees
boost::spirit::classic::rule< ScannerT > change_fees
Definition: DemandParserHelper.hpp:395
TRADEMGEN::DemandParserHelper::storePrefDepTime
Definition: DemandParserHelper.hpp:216
TRADEMGEN::DemandParserHelper::DemandParser::definition::time
boost::spirit::classic::rule< ScannerT > time
Definition: DemandParserHelper.hpp:395
TRADEMGEN::DemandParserHelper::storeStayProbMass
Definition: DemandParserHelper.hpp:191
TRADEMGEN::DemandParserHelper::DemandParser::definition::pos_share
boost::spirit::classic::rule< ScannerT > pos_share
Definition: DemandParserHelper.hpp:395
TRADEMGEN::DemandParserHelper::DemandParser::definition::pref_dep_time_dist
boost::spirit::classic::rule< ScannerT > pref_dep_time_dist
Definition: DemandParserHelper.hpp:395
TRADEMGEN::DemandParserHelper::doEndDemand::_sevmgrServicePtr
SEVMGR::SEVMGR_ServicePtr_T _sevmgrServicePtr
Definition: DemandParserHelper.hpp:282
TRADEMGEN::DemandParserHelper::storeTimeValueProbMass
Definition: DemandParserHelper.hpp:249
TRADEMGEN::DemandParserHelper::storePrefDepDateRangeEnd
Definition: DemandParserHelper.hpp:47
TRADEMGEN::DemandParserHelper::storeTimeValueProbMass::storeTimeValueProbMass
storeTimeValueProbMass(DemandStruct &)
Definition: DemandParserHelper.cpp:415
TRADEMGEN::DemandParserHelper::storeWTP::operator()
void operator()(double iReal) const
Definition: DemandParserHelper.cpp:398
TRADEMGEN::DemandParserHelper::storeFFProbMass::operator()
void operator()(double iReal) const
Definition: DemandParserHelper.cpp:339
TRADEMGEN::DemandParserHelper::storeStayProbMass::storeStayProbMass
storeStayProbMass(DemandStruct &)
Definition: DemandParserHelper.cpp:301
TRADEMGEN::DemandParserHelper::DemandParser::definition::dtd_share
boost::spirit::classic::rule< ScannerT > dtd_share
Definition: DemandParserHelper.hpp:395
TRADEMGEN::DemandParserHelper::storeChannelCode::operator()
void operator()(iterator_t iStr, iterator_t iStrEnd) const
Definition: DemandParserHelper.cpp:224
TRADEMGEN::DemandParserHelper::storeDemandChangeFeeProb
Definition: DemandParserHelper.hpp:103
TRADEMGEN::CategoricalAttributeLite< stdair::AirportCode_T >
TRADEMGEN::DemandFileParser::generateDemand
bool generateDemand()
Definition: DemandParserHelper.cpp:897
TRADEMGEN::DemandParserHelper::storeTripProbMass
Definition: DemandParserHelper.hpp:175
TRADEMGEN::DemandParserHelper::storePrefDepDateRangeEnd::storePrefDepDateRangeEnd
storePrefDepDateRangeEnd(DemandStruct &)
Definition: DemandParserHelper.cpp:47
TRADEMGEN::DemandParserHelper::storeTripCode::storeTripCode
storeTripCode(DemandStruct &)
Definition: DemandParserHelper.cpp:254
TRADEMGEN::DemandParserHelper::DemandParser::definition::definition
definition(DemandParser const &self)
Definition: DemandParserHelper.cpp:580
TRADEMGEN::iterator_t
boost::spirit::classic::file_iterator< char_t > iterator_t
Definition: BasParserTypes.hpp:35
TRADEMGEN::DemandParserHelper::storePosCode::operator()
void operator()(iterator_t iStr, iterator_t iStrEnd) const
Definition: DemandParserHelper.cpp:190
TRADEMGEN::DemandParserHelper::storeChannelCode
Definition: DemandParserHelper.hpp:151
TRADEMGEN_Types.hpp
TRADEMGEN::DemandParserHelper::DemandParser::definition::demand_end
boost::spirit::classic::rule< ScannerT > demand_end
Definition: DemandParserHelper.hpp:395
TRADEMGEN::DemandParserHelper::storeFFProbMass
Definition: DemandParserHelper.hpp:207
TRADEMGEN::DemandParserHelper::DemandParser::definition::ff_pair
boost::spirit::classic::rule< ScannerT > ff_pair
Definition: DemandParserHelper.hpp:395
TRADEMGEN::DemandParserHelper::DemandParser::definition::channel_dist
boost::spirit::classic::rule< ScannerT > channel_dist
Definition: DemandParserHelper.hpp:395
TRADEMGEN::DemandParserHelper::storeTimeValue::storeTimeValue
storeTimeValue(DemandStruct &)
Definition: DemandParserHelper.cpp:404
TRADEMGEN::DemandParserHelper::storePosProbMass::operator()
void operator()(double iReal) const
Definition: DemandParserHelper.cpp:202
TRADEMGEN::DemandParserHelper::DemandParser::DemandParser
DemandParser(SEVMGR::SEVMGR_ServicePtr_T, stdair::RandomGeneration &, const POSProbabilityMass_T &, DemandStruct &)
Definition: DemandParserHelper.cpp:568
TRADEMGEN::DemandParserHelper::storeOrigin
Definition: DemandParserHelper.hpp:63
TRADEMGEN::DemandParserHelper::storeDow::storeDow
storeDow(DemandStruct &)
Definition: DemandParserHelper.cpp:70
TRADEMGEN::DemandParserHelper::storeDTDProbMass
Definition: DemandParserHelper.hpp:267
TRADEMGEN::DemandParserHelper::storePosCode
Definition: DemandParserHelper.hpp:135
TRADEMGEN::DemandParserHelper::storeDTD::storeDTD
storeDTD(DemandStruct &)
Definition: DemandParserHelper.cpp:428
TRADEMGEN::DemandParserHelper::storePrefDepTimeProbMass::operator()
void operator()(double iReal) const
Definition: DemandParserHelper.cpp:382
TRADEMGEN::DemandParserHelper::DemandParser::_posProbabilityMass
const POSProbabilityMass_T & _posProbabilityMass
Definition: DemandParserHelper.hpp:417
TRADEMGEN::DemandParserHelper::storeStayCode::storeStayCode
storeStayCode(DemandStruct &)
Definition: DemandParserHelper.cpp:289
TRADEMGEN::DemandParserHelper::storeDTDProbMass::storeDTDProbMass
storeDTDProbMass(DemandStruct &)
Definition: DemandParserHelper.cpp:440
TRADEMGEN::DemandParserHelper::DemandParser::definition::trip_share
boost::spirit::classic::rule< ScannerT > trip_share
Definition: DemandParserHelper.hpp:395
TRADEMGEN::DemandParserHelper::ParserSemanticAction::_demand
DemandStruct & _demand
Definition: DemandParserHelper.hpp:35
TRADEMGEN::DemandParserHelper::doEndDemand::doEndDemand
doEndDemand(SEVMGR::SEVMGR_ServicePtr_T, stdair::RandomGeneration &, const POSProbabilityMass_T &, DemandStruct &)
Definition: DemandParserHelper.cpp:457
TRADEMGEN::DemandParserHelper::storePrefDepTimeProbMass::storePrefDepTimeProbMass
storePrefDepTimeProbMass(DemandStruct &)
Definition: DemandParserHelper.cpp:377
TRADEMGEN::DemandParserHelper::storeTripCode
Definition: DemandParserHelper.hpp:167
TRADEMGEN::DemandParserHelper::DemandParser::definition::non_refundable
boost::spirit::classic::rule< ScannerT > non_refundable
Definition: DemandParserHelper.hpp:395
TRADEMGEN::DemandParserHelper::DemandParser::definition::origin
boost::spirit::classic::rule< ScannerT > origin
Definition: DemandParserHelper.hpp:395
TRADEMGEN::DemandParserHelper::storeTripCode::operator()
void operator()(iterator_t iStr, iterator_t iStrEnd) const
Definition: DemandParserHelper.cpp:259
TRADEMGEN::DemandParserHelper::DemandParser::definition::ff_code
boost::spirit::classic::rule< ScannerT > ff_code
Definition: DemandParserHelper.hpp:395
TRADEMGEN::DemandParserHelper::storePrefDepDateRangeStart::storePrefDepDateRangeStart
storePrefDepDateRangeStart(DemandStruct &)
Definition: DemandParserHelper.cpp:32
TRADEMGEN::DemandParserHelper::DemandParser::definition::trip_code
boost::spirit::classic::rule< ScannerT > trip_code
Definition: DemandParserHelper.hpp:395
TRADEMGEN::DemandParserHelper::DemandParser::definition::pref_dep_date_range
boost::spirit::classic::rule< ScannerT > pref_dep_date_range
Definition: DemandParserHelper.hpp:395
TRADEMGEN::DemandParserHelper::storeStayProbMass::operator()
void operator()(double iReal) const
Definition: DemandParserHelper.cpp:306
TRADEMGEN::DemandParserHelper::storePrefDepTimeProbMass
Definition: DemandParserHelper.hpp:225
TRADEMGEN::DemandParserHelper::storeDemandStdDev::operator()
void operator()(double iReal) const
Definition: DemandParserHelper.cpp:133
TRADEMGEN
Definition: BasConst.cpp:10