AirInv Logo  1.00.5
C++ Simulated Airline Inventory Management System Library
InventoryParserHelper.hpp
Go to the documentation of this file.
1 #ifndef __AIRINV_CMD_INVENTORYPARSERHELPER_HPP
2 #define __AIRINV_CMD_INVENTORYPARSERHELPER_HPP
3 
4 // //////////////////////////////////////////////////////////////////////
5 // Import section
6 // //////////////////////////////////////////////////////////////////////
7 // STL
8 #include <string>
9 // StdAir
10 #include <stdair/command/CmdAbstract.hpp>
11 // Airinv
12 #include <airinv/AIRINV_Types.hpp>
15 
16 // Forward declarations
17 namespace stdair {
18  class BomRoot;
19 }
20 
21 namespace AIRINV {
22 
23  namespace InventoryParserHelper {
24 
25  // ///////////////////////////////////////////////////////////////////
26  // Semantic actions
27  // ///////////////////////////////////////////////////////////////////
34  };
35 
41  void operator() (iterator_t iStr, iterator_t iStrEnd) const;
42  };
43 
49  void operator() (iterator_t iStr, iterator_t iStrEnd) const;
50  };
51 
57  void operator() (unsigned int iNumber) const;
58  };
59 
65  void operator() (iterator_t iStr, iterator_t iStrEnd) const;
66  };
67 
73  void operator() (iterator_t iStr, iterator_t iStrEnd) const;
74  };
75 
81  void operator() (iterator_t iStr, iterator_t iStrEnd) const;
82  };
83 
89  void operator() (iterator_t iStr, iterator_t iStrEnd) const;
90  };
91 
97  void operator() (iterator_t iStr, iterator_t iStrEnd) const;
98  };
99 
105  void operator() (iterator_t iStr, iterator_t iStrEnd) const;
106  };
107 
113  void operator() (unsigned int iNumber) const;
114  };
115 
121  void operator() (iterator_t iStr, iterator_t iStrEnd) const;
122  };
123 
129  void operator() (iterator_t iStr, iterator_t iStrEnd) const;
130  };
131 
137  void operator() (iterator_t iStr, iterator_t iStrEnd) const;
138  };
139 
145  void operator() (iterator_t iStr, iterator_t iStrEnd) const;
146  };
147 
153  void operator() (char iChar) const;
154  };
155 
161  void operator() (double iReal) const;
162  };
163 
165  struct storeAU : public ParserSemanticAction {
169  void operator() (double iReal) const;
170  };
171 
173  struct storeUPR : public ParserSemanticAction {
177  void operator() (double iReal) const;
178  };
179 
185  void operator() (double iReal) const;
186  };
187 
189  struct storeNAV : public ParserSemanticAction {
193  void operator() (double iReal) const;
194  };
195 
197  struct storeGAV : public ParserSemanticAction {
201  void operator() (double iReal) const;
202  };
203 
205  struct storeACP : public ParserSemanticAction {
209  void operator() (double iReal) const;
210  };
211 
213  struct storeETB : public ParserSemanticAction {
217  void operator() (double iReal) const;
218  };
219 
225  void operator() (double iReal) const;
226  };
227 
233  void operator() (double iReal) const;
234  };
235 
241  void operator() (double iReal) const;
242  };
243 
249  void operator() (iterator_t iStr, iterator_t iStrEnd) const;
250  };
251 
257  void operator() (iterator_t iStr, iterator_t iStrEnd) const;
258  };
259 
265  void operator() (char iChar) const;
266  };
267 
273  void operator() (double iReal) const;
274  };
275 
281  void operator() (char iChar) const;
282  };
283 
289  void operator() (unsigned int iNumber) const;
290  };
291 
297  void operator() (char iChar) const;
298  };
299 
305  void operator() (unsigned int iNumber) const;
306  };
307 
313  void operator() (double iReal) const;
314  };
315 
321  void operator() (double iReal) const;
322  };
323 
325  struct storeNego : public ParserSemanticAction {
329  void operator() (double iReal) const;
330  };
331 
337  void operator() (double iReal) const;
338  };
339 
345  void operator() (double iReal) const;
346  };
347 
353  void operator() (double iReal) const;
354  };
355 
361  void operator() (double iReal) const;
362  };
363 
369  void operator() (double iReal) const;
370  };
371 
377  void operator() (double iReal) const;
378  };
379 
386  void operator() (double iReal) const;
387  };
388 
394  void operator() (double iReal) const;
395  };
396 
403  void operator() (double iReal) const;
404  };
405 
412  void operator() (double iReal) const;
413  };
414 
421  void operator() (double iReal) const;
422  };
423 
429  void operator() (int iCode) const;
430  };
431 
437  void operator() (iterator_t iStr, iterator_t iStrEnd) const;
438  };
439 
443  doEndFlightDate (stdair::BomRoot&, FlightDateStruct&,
444  unsigned int&);
446  void operator() (iterator_t iStr, iterator_t iStrEnd) const;
448  stdair::BomRoot& _bomRoot;
449  unsigned int& _nbOfFlights;
450  };
451 
452 
454  //
455  // (Boost Spirit) Grammar Definition
456  //
458 
470  struct InventoryParser :
471  public boost::spirit::classic::grammar<InventoryParser> {
472 
473  InventoryParser (stdair::BomRoot&, FlightDateStruct&, unsigned int&);
474 
475  template <typename ScannerT>
476  struct definition {
477  definition (InventoryParser const& self);
478 
479  // Instantiation of rules
480  boost::spirit::classic::rule<ScannerT> flight_date_list,
492 
494  boost::spirit::classic::rule<ScannerT> const& start() const;
495  };
496 
497  // Parser Context
498  stdair::BomRoot& _bomRoot;
500  unsigned int& _nbOfFlights;
501  };
502 
503  }
504 
505 
507  //
508  // Entry class for the file parser
509  //
511 
516  class InventoryFileParser : public stdair::CmdAbstract {
517  public:
519  InventoryFileParser (stdair::BomRoot&,
520  const stdair::Filename_T& iInventoryInputFilename);
521 
523  bool buildInventory ();
524 
525  private:
527  void init();
528 
529  private:
530  // Attributes
532  stdair::Filename_T _filename;
533 
535  iterator_t _startIterator;
536 
538  iterator_t _endIterator;
539 
541  stdair::BomRoot& _bomRoot;
542 
544  FlightDateStruct _flightDate;
545 
547  unsigned int _nbOfFlights;
548  };
549 
550 }
551 #endif // __AIRINV_CMD_INVENTORYPARSERHELPER_HPP
AIRINV::InventoryParserHelper::InventoryParser::definition::segment
boost::spirit::classic::rule< ScannerT > segment
Definition: InventoryParserHelper.hpp:487
AIRINV::InventoryParserHelper::storeFlightDate::storeFlightDate
storeFlightDate(FlightDateStruct &)
Definition: InventoryParserHelper.cpp:80
AIRINV::InventoryParserHelper::storeFlightVisibilityCode::operator()
void operator()(iterator_t iStr, iterator_t iStrEnd) const
Definition: InventoryParserHelper.cpp:111
AIRINV::InventoryParserHelper::storeClassCode::storeClassCode
storeClassCode(FlightDateStruct &)
Definition: InventoryParserHelper.cpp:524
AIRINV::InventoryFileParser::InventoryFileParser
InventoryFileParser(stdair::BomRoot &, const stdair::Filename_T &iInventoryInputFilename)
Definition: InventoryParserHelper.cpp:1132
AIRINV::InventoryParserHelper::storeNoShow
Definition: InventoryParserHelper.hpp:333
AIRINV::InventoryParserHelper::storeOverbooking
Definition: InventoryParserHelper.hpp:341
AIRINV::InventoryParserHelper::storeOffDate::operator()
void operator()(iterator_t iStr, iterator_t iStrEnd) const
Definition: InventoryParserHelper.cpp:237
AIRINV::InventoryParserHelper::InventoryParser::definition::class_nego
boost::spirit::classic::rule< ScannerT > class_nego
Definition: InventoryParserHelper.hpp:490
AIRINV::InventoryParserHelper::storeAirlineCode::operator()
void operator()(iterator_t iStr, iterator_t iStrEnd) const
Definition: InventoryParserHelper.cpp:49
AIRINV::InventoryParserHelper::InventoryParser::definition::flight_date_list
boost::spirit::classic::rule< ScannerT > flight_date_list
Definition: InventoryParserHelper.hpp:480
AIRINV::InventoryParserHelper::storeNbOfGroupBkgs
Definition: InventoryParserHelper.hpp:357
AIRINV::InventoryParserHelper::storeClassETB::storeClassETB
storeClassETB(FlightDateStruct &)
Definition: InventoryParserHelper.cpp:690
AIRINV::InventoryParserHelper::storeClassETB
Definition: InventoryParserHelper.hpp:390
AIRINV::InventoryParserHelper::storeClassAvailability::storeClassAvailability
storeClassAvailability(FlightDateStruct &)
Definition: InventoryParserHelper.cpp:702
AIRINV::InventoryParserHelper::storeBucketAvaibality
Definition: InventoryParserHelper.hpp:229
AIRINV::InventoryParserHelper::InventoryParser::definition::class_details
boost::spirit::classic::rule< ScannerT > class_details
Definition: InventoryParserHelper.hpp:490
AIRINV::InventoryParserHelper::storeLegCabinCode
Definition: InventoryParserHelper.hpp:149
AIRINV::InventoryParserHelper::storeFlightNumber::operator()
void operator()(unsigned int iNumber) const
Definition: InventoryParserHelper.cpp:75
AIRINV::InventoryParserHelper::storeYieldUpperRange::storeYieldUpperRange
storeYieldUpperRange(FlightDateStruct &)
Definition: InventoryParserHelper.cpp:372
AIRINV::InventoryParserHelper::storeFlightDate::operator()
void operator()(iterator_t iStr, iterator_t iStrEnd) const
Definition: InventoryParserHelper.cpp:85
AIRINV::InventoryParserHelper::storeNbOfPendingGroupBkgs::operator()
void operator()(double iReal) const
Definition: InventoryParserHelper.cpp:662
AIRINV::InventoryParserHelper::storeLegBoardingPoint::operator()
void operator()(iterator_t iStr, iterator_t iStrEnd) const
Definition: InventoryParserHelper.cpp:126
AIRINV::InventoryParserHelper::storeNego
Definition: InventoryParserHelper.hpp:325
AIRINV::InventoryParserHelper::storeClassAvailability::operator()
void operator()(double iReal) const
Definition: InventoryParserHelper.cpp:707
AIRINV::InventoryParserHelper::storeNbOfGroupBkgs::storeNbOfGroupBkgs
storeNbOfGroupBkgs(FlightDateStruct &)
Definition: InventoryParserHelper.cpp:645
AIRINV::InventoryParserHelper::storeACP::storeACP
storeACP(FlightDateStruct &)
Definition: InventoryParserHelper.cpp:350
AIRINV::InventoryParserHelper::storeSegmentAvailability::operator()
void operator()(double iReal) const
Definition: InventoryParserHelper.cpp:719
AIRINV::InventoryParserHelper::storeNbOfBkgs::operator()
void operator()(double iReal) const
Definition: InventoryParserHelper.cpp:639
AIRINV::InventoryParserHelper::storeNbOfWLBkgs::operator()
void operator()(double iReal) const
Definition: InventoryParserHelper.cpp:684
AIRINV::InventoryParserHelper::storeNoShow::storeNoShow
storeNoShow(FlightDateStruct &)
Definition: InventoryParserHelper.cpp:612
AIRINV::InventoryParserHelper::storeLegBoardingPoint
Definition: InventoryParserHelper.hpp:85
AIRINV::InventoryParserHelper::storeOverbooking::operator()
void operator()(double iReal) const
Definition: InventoryParserHelper.cpp:628
AIRINV::InventoryParserHelper::storeOperatingAirlineCode::operator()
void operator()(iterator_t iStr, iterator_t iStrEnd) const
Definition: InventoryParserHelper.cpp:181
AIRINV::InventoryParserHelper::InventoryParser::definition::bucket_list
boost::spirit::classic::rule< ScannerT > bucket_list
Definition: InventoryParserHelper.hpp:486
AIRINV::InventoryParserHelper::InventoryParser::definition::start
boost::spirit::classic::rule< ScannerT > const & start() const
Definition: InventoryParserHelper.cpp:1118
AIRINV::InventoryParserHelper::storeAU::storeAU
storeAU(FlightDateStruct &)
Definition: InventoryParserHelper.cpp:295
AIRINV::InventoryParserHelper::storeFlightTypeCode::storeFlightTypeCode
storeFlightTypeCode(FlightDateStruct &)
Definition: InventoryParserHelper.cpp:91
AIRINV::InventoryParserHelper::storeSnapshotDate
Definition: InventoryParserHelper.hpp:37
AIRINV::InventoryParserHelper::InventoryParser::definition::flight_date
boost::spirit::classic::rule< ScannerT > flight_date
Definition: InventoryParserHelper.hpp:482
AIRINV::InventoryParserHelper::storeOffDate
Definition: InventoryParserHelper.hpp:133
AIRINV::InventoryParserHelper::storeOperatingAirlineCode
Definition: InventoryParserHelper.hpp:101
AIRINV::InventoryFileParser::buildInventory
bool buildInventory()
Definition: InventoryParserHelper.cpp:1156
AIRINV::InventoryParserHelper::storeFClasses
Definition: InventoryParserHelper.hpp:433
AIRINV::InventoryParserHelper::storeSegmentCabinCode::storeSegmentCabinCode
storeSegmentCabinCode(FlightDateStruct &)
Definition: InventoryParserHelper.cpp:478
AIRINV::InventoryParserHelper::InventoryParser::definition::flight_type_code
boost::spirit::classic::rule< ScannerT > flight_type_code
Definition: InventoryParserHelper.hpp:483
AIRINV::InventoryParserHelper::storeCumulatedProtection::storeCumulatedProtection
storeCumulatedProtection(FlightDateStruct &)
Definition: InventoryParserHelper.cpp:579
FlightDateStruct.hpp
AIRINV::InventoryParserHelper::storeETB::storeETB
storeETB(FlightDateStruct &)
Definition: InventoryParserHelper.cpp:361
AIRINV::InventoryParserHelper::storeSegmentBoardingPoint
Definition: InventoryParserHelper.hpp:245
AIRINV::InventoryFileParser
Definition: InventoryParserHelper.hpp:516
AIRINV::iterator_t
boost::spirit::classic::file_iterator< char_t > iterator_t
Definition: BasParserTypes.hpp:35
AIRINV::InventoryParserHelper::storeSnapshotDate::storeSnapshotDate
storeSnapshotDate(FlightDateStruct &)
Definition: InventoryParserHelper.cpp:32
AIRINV::InventoryParserHelper::storeOffDate::storeOffDate
storeOffDate(FlightDateStruct &)
Definition: InventoryParserHelper.cpp:232
AIRINV::InventoryParserHelper::storeFlightNumber
Definition: InventoryParserHelper.hpp:53
AIRINV::InventoryParserHelper::storeOperatingFlightNumber
Definition: InventoryParserHelper.hpp:109
AIRINV::InventoryParserHelper::storeNego::operator()
void operator()(double iReal) const
Definition: InventoryParserHelper.cpp:606
AIRINV::InventoryParserHelper::storeLegBoardingPoint::storeLegBoardingPoint
storeLegBoardingPoint(FlightDateStruct &)
Definition: InventoryParserHelper.cpp:121
AIRINV::InventoryParserHelper::storeSegmentCabinBookingCounter::operator()
void operator()(double iReal) const
Definition: InventoryParserHelper.cpp:518
AIRINV::InventoryParserHelper::storeUPR::operator()
void operator()(double iReal) const
Definition: InventoryParserHelper.cpp:311
AIRINV::InventoryParserHelper::storeBucketAvaibality::operator()
void operator()(double iReal) const
Definition: InventoryParserHelper.cpp:397
AIRINV::InventoryParserHelper::storeBoardingDate
Definition: InventoryParserHelper.hpp:117
AIRINV::InventoryParserHelper::InventoryParser::definition::time
boost::spirit::classic::rule< ScannerT > time
Definition: InventoryParserHelper.hpp:487
AIRINV::InventoryParserHelper::storeParentClassCode::storeParentClassCode
storeParentClassCode(FlightDateStruct &)
Definition: InventoryParserHelper.cpp:555
AIRINV::InventoryParserHelper::storeBoardingTime::operator()
void operator()(iterator_t iStr, iterator_t iStrEnd) const
Definition: InventoryParserHelper.cpp:220
AIRINV::InventoryParserHelper::storeGAV
Definition: InventoryParserHelper.hpp:197
AIRINV::InventoryParserHelper::storeNbOfStaffBkgs::storeNbOfStaffBkgs
storeNbOfStaffBkgs(FlightDateStruct &)
Definition: InventoryParserHelper.cpp:668
AIRINV::InventoryParserHelper::storeNAV
Definition: InventoryParserHelper.hpp:189
AIRINV::InventoryParserHelper::InventoryParser::definition::leg_cabin_list
boost::spirit::classic::rule< ScannerT > leg_cabin_list
Definition: InventoryParserHelper.hpp:485
AIRINV::InventoryParserHelper::InventoryParser::definition::segment_cabin_key
boost::spirit::classic::rule< ScannerT > segment_cabin_key
Definition: InventoryParserHelper.hpp:488
AIRINV::InventoryParserHelper::InventoryParser::definition::not_to_be_parsed
boost::spirit::classic::rule< ScannerT > not_to_be_parsed
Definition: InventoryParserHelper.hpp:481
AIRINV::InventoryParserHelper::storeSegmentAvailability::storeSegmentAvailability
storeSegmentAvailability(FlightDateStruct &)
Definition: InventoryParserHelper.cpp:714
AIRINV::InventoryParserHelper::InventoryParser::definition::leg_cabin_details
boost::spirit::classic::rule< ScannerT > leg_cabin_details
Definition: InventoryParserHelper.hpp:485
AIRINV::InventoryParserHelper::InventoryParser::definition::family_cabin_details
boost::spirit::classic::rule< ScannerT > family_cabin_details
Definition: InventoryParserHelper.hpp:491
AIRINV::InventoryParserHelper::storeSaleableCapacity
Definition: InventoryParserHelper.hpp:157
AIRINV::InventoryParserHelper::InventoryParser::definition
Definition: InventoryParserHelper.hpp:476
stdair
Forward declarations.
Definition: AIRINV_Master_Service.hpp:25
AIRINV::InventoryParserHelper::storeSeatIndex::storeSeatIndex
storeSeatIndex(FlightDateStruct &)
Definition: InventoryParserHelper.cpp:403
AIRINV::InventoryParserHelper::doEndFlightDate::_nbOfFlights
unsigned int & _nbOfFlights
Definition: InventoryParserHelper.hpp:449
AIRINV::InventoryParserHelper::ParserSemanticAction::ParserSemanticAction
ParserSemanticAction(FlightDateStruct &)
Definition: InventoryParserHelper.cpp:26
AIRINV::InventoryParserHelper::storeFClasses::operator()
void operator()(iterator_t iStr, iterator_t iStrEnd) const
Definition: InventoryParserHelper.cpp:754
AIRINV::InventoryParserHelper::InventoryParser::InventoryParser
InventoryParser(stdair::BomRoot &, FlightDateStruct &, unsigned int &)
Definition: InventoryParserHelper.cpp:894
AIRINV::InventoryParserHelper::storeFClasses::storeFClasses
storeFClasses(FlightDateStruct &)
Definition: InventoryParserHelper.cpp:749
AIRINV::InventoryParserHelper::InventoryParser::definition::flight_key
boost::spirit::classic::rule< ScannerT > flight_key
Definition: InventoryParserHelper.hpp:482
AIRINV::InventoryParserHelper::ParserSemanticAction::_flightDate
FlightDateStruct & _flightDate
Definition: InventoryParserHelper.hpp:33
AIRINV::InventoryParserHelper::storeLegOffPoint
Definition: InventoryParserHelper.hpp:93
AIRINV::InventoryParserHelper::storeETB
Definition: InventoryParserHelper.hpp:213
AIRINV::InventoryParserHelper::storeRevenueAvailability
Definition: InventoryParserHelper.hpp:417
AIRINV::InventoryParserHelper::storeSaleableCapacity::storeSaleableCapacity
storeSaleableCapacity(FlightDateStruct &)
Definition: InventoryParserHelper.cpp:284
AIRINV::InventoryParserHelper::storeSeatIndex
Definition: InventoryParserHelper.hpp:237
AIRINV::InventoryParserHelper::storeAirlineCode::storeAirlineCode
storeAirlineCode(FlightDateStruct &)
Definition: InventoryParserHelper.cpp:44
AIRINV::InventoryParserHelper::InventoryParser::definition::flight_date_end
boost::spirit::classic::rule< ScannerT > flight_date_end
Definition: InventoryParserHelper.hpp:482
AIRINV::InventoryParserHelper::storeSubclassCode::storeSubclassCode
storeSubclassCode(FlightDateStruct &)
Definition: InventoryParserHelper.cpp:543
AIRINV::InventoryParserHelper::InventoryParser::definition::flight_visibility_code
boost::spirit::classic::rule< ScannerT > flight_visibility_code
Definition: InventoryParserHelper.hpp:483
AIRINV::InventoryParserHelper::storeClassETB::operator()
void operator()(double iReal) const
Definition: InventoryParserHelper.cpp:695
AIRINV::InventoryParserHelper::storeYieldUpperRange::operator()
void operator()(double iReal) const
Definition: InventoryParserHelper.cpp:377
AIRINV::InventoryParserHelper::storeOffTime
Definition: InventoryParserHelper.hpp:141
AIRINV::InventoryParserHelper::storeFlightVisibilityCode::storeFlightVisibilityCode
storeFlightVisibilityCode(FlightDateStruct &)
Definition: InventoryParserHelper.cpp:106
AIRINV::InventoryParserHelper::storeOffTime::operator()
void operator()(iterator_t iStr, iterator_t iStrEnd) const
Definition: InventoryParserHelper.cpp:247
AIRINV::InventoryParserHelper::InventoryParser::definition::class_list
boost::spirit::classic::rule< ScannerT > class_list
Definition: InventoryParserHelper.hpp:489
AIRINV::InventoryParserHelper::storeUPR::storeUPR
storeUPR(FlightDateStruct &)
Definition: InventoryParserHelper.cpp:306
AIRINV::InventoryParserHelper::storeUPR
Definition: InventoryParserHelper.hpp:173
AIRINV::InventoryParserHelper::storeNbOfWLBkgs
Definition: InventoryParserHelper.hpp:382
AIRINV::InventoryParserHelper::ParserSemanticAction
Definition: InventoryParserHelper.hpp:29
AIRINV::InventoryParserHelper::storeSegmentCabinBookingCounter
Definition: InventoryParserHelper.hpp:269
AIRINV::InventoryParserHelper::storeBoardingDate::operator()
void operator()(iterator_t iStr, iterator_t iStrEnd) const
Definition: InventoryParserHelper.cpp:209
AIRINV::InventoryParserHelper::InventoryParser::definition::segment_key
boost::spirit::classic::rule< ScannerT > segment_key
Definition: InventoryParserHelper.hpp:487
AIRINV::InventoryParserHelper::storeLegOffPoint::storeLegOffPoint
storeLegOffPoint(FlightDateStruct &)
Definition: InventoryParserHelper.cpp:160
AIRINV::InventoryParserHelper::storeSegmentBoardingPoint::operator()
void operator()(iterator_t iStr, iterator_t iStrEnd) const
Definition: InventoryParserHelper.cpp:420
AIRINV::InventoryParserHelper::storeClassAvailability
Definition: InventoryParserHelper.hpp:399
AIRINV_Types.hpp
AIRINV::InventoryParserHelper::storeBoardingTime
Definition: InventoryParserHelper.hpp:125
AIRINV::InventoryParserHelper::storeSegmentOffPoint::storeSegmentOffPoint
storeSegmentOffPoint(FlightDateStruct &)
Definition: InventoryParserHelper.cpp:464
AIRINV::InventoryParserHelper::storeFamilyCode
Definition: InventoryParserHelper.hpp:425
AIRINV::InventoryParserHelper::InventoryParser::definition::definition
definition(InventoryParser const &self)
Definition: InventoryParserHelper.cpp:904
AIRINV::InventoryParserHelper::storeAirlineCode
Definition: InventoryParserHelper.hpp:45
AIRINV::InventoryParserHelper::storeClassCode::operator()
void operator()(char iChar) const
Definition: InventoryParserHelper.cpp:529
AIRINV::InventoryParserHelper::storeFamilyCode::operator()
void operator()(int iCode) const
Definition: InventoryParserHelper.cpp:742
AIRINV::InventoryParserHelper::storeNbOfPendingGroupBkgs::storeNbOfPendingGroupBkgs
storeNbOfPendingGroupBkgs(FlightDateStruct &)
Definition: InventoryParserHelper.cpp:657
AIRINV::InventoryParserHelper::storeBookingCounter
Definition: InventoryParserHelper.hpp:181
AIRINV::InventoryParserHelper::InventoryParser::definition::segment_cabin_details
boost::spirit::classic::rule< ScannerT > segment_cabin_details
Definition: InventoryParserHelper.hpp:488
AIRINV::InventoryParserHelper::storeFlightVisibilityCode
Definition: InventoryParserHelper.hpp:77
AIRINV::InventoryParserHelper::storeAU
Definition: InventoryParserHelper.hpp:165
AIRINV::InventoryParserHelper::storeSnapshotDate::operator()
void operator()(iterator_t iStr, iterator_t iStrEnd) const
Definition: InventoryParserHelper.cpp:37
AIRINV::InventoryParserHelper::storeRevenueAvailability::operator()
void operator()(double iReal) const
Definition: InventoryParserHelper.cpp:731
AIRINV::InventoryParserHelper::storeSeatIndex::operator()
void operator()(double iReal) const
Definition: InventoryParserHelper.cpp:408
AIRINV::InventoryParserHelper::InventoryParser::definition::date
boost::spirit::classic::rule< ScannerT > date
Definition: InventoryParserHelper.hpp:484
AIRINV::InventoryParserHelper::storeNbOfStaffBkgs::operator()
void operator()(double iReal) const
Definition: InventoryParserHelper.cpp:673
AIRINV::InventoryParserHelper::storeCumulatedProtection
Definition: InventoryParserHelper.hpp:309
AIRINV::InventoryParserHelper::storeRevenueAvailability::storeRevenueAvailability
storeRevenueAvailability(FlightDateStruct &)
Definition: InventoryParserHelper.cpp:726
AIRINV::InventoryParserHelper::storeSegmentCabinCode
Definition: InventoryParserHelper.hpp:261
AIRINV::InventoryParserHelper::storeACP::operator()
void operator()(double iReal) const
Definition: InventoryParserHelper.cpp:355
AIRINV::InventoryParserHelper::storeFlightTypeCode
Definition: InventoryParserHelper.hpp:69
AIRINV::InventoryParserHelper::storeProtection
Definition: InventoryParserHelper.hpp:317
AIRINV::InventoryParserHelper::storeNego::storeNego
storeNego(FlightDateStruct &)
Definition: InventoryParserHelper.cpp:601
AIRINV::InventoryParserHelper::InventoryParser::definition::flight_number
boost::spirit::classic::rule< ScannerT > flight_number
Definition: InventoryParserHelper.hpp:482
AIRINV::InventoryParserHelper::InventoryParser::definition::class_protection
boost::spirit::classic::rule< ScannerT > class_protection
Definition: InventoryParserHelper.hpp:490
AIRINV::InventoryParserHelper::InventoryParser::_bomRoot
stdair::BomRoot & _bomRoot
Definition: InventoryParserHelper.hpp:498
AIRINV::InventoryParserHelper::InventoryParser::definition::leg
boost::spirit::classic::rule< ScannerT > leg
Definition: InventoryParserHelper.hpp:484
AIRINV::InventoryParserHelper::storeNbOfStaffBkgs
Definition: InventoryParserHelper.hpp:373
AIRINV::InventoryParserHelper::storeGAV::storeGAV
storeGAV(FlightDateStruct &)
Definition: InventoryParserHelper.cpp:339
AIRINV
Definition: AIRINV_Master_Service.hpp:38
AIRINV::InventoryParserHelper::storeOverbooking::storeOverbooking
storeOverbooking(FlightDateStruct &)
Definition: InventoryParserHelper.cpp:623
AIRINV::InventoryParserHelper::storeBookingCounter::storeBookingCounter
storeBookingCounter(FlightDateStruct &)
Definition: InventoryParserHelper.cpp:317
BasParserTypes.hpp
AIRINV::InventoryParserHelper::InventoryParser::definition::leg_key
boost::spirit::classic::rule< ScannerT > leg_key
Definition: InventoryParserHelper.hpp:484
AIRINV::InventoryParserHelper::storeSegmentOffPoint::operator()
void operator()(iterator_t iStr, iterator_t iStrEnd) const
Definition: InventoryParserHelper.cpp:469
AIRINV::InventoryParserHelper::storeParentSubclassCode::operator()
void operator()(unsigned int iNumber) const
Definition: InventoryParserHelper.cpp:572
AIRINV::InventoryParserHelper::doEndFlightDate
Definition: InventoryParserHelper.hpp:441
AIRINV::InventoryParserHelper::storeNbOfGroupBkgs::operator()
void operator()(double iReal) const
Definition: InventoryParserHelper.cpp:650
AIRINV::InventoryParserHelper::storeSubclassCode
Definition: InventoryParserHelper.hpp:285
AIRINV::InventoryParserHelper::storeOperatingFlightNumber::storeOperatingFlightNumber
storeOperatingFlightNumber(FlightDateStruct &)
Definition: InventoryParserHelper.cpp:192
AIRINV::InventoryParserHelper::storeParentSubclassCode
Definition: InventoryParserHelper.hpp:301
AIRINV::InventoryParserHelper::storeLegCabinCode::storeLegCabinCode
storeLegCabinCode(FlightDateStruct &)
Definition: InventoryParserHelper.cpp:255
AIRINV::InventoryParserHelper::storeNbOfBkgs::storeNbOfBkgs
storeNbOfBkgs(FlightDateStruct &)
Definition: InventoryParserHelper.cpp:634
AIRINV::InventoryParserHelper::storeParentClassCode
Definition: InventoryParserHelper.hpp:293
AIRINV::InventoryParserHelper::InventoryParser::definition::operating_leg_details
boost::spirit::classic::rule< ScannerT > operating_leg_details
Definition: InventoryParserHelper.hpp:484
AIRINV::InventoryParserHelper::storeFlightTypeCode::operator()
void operator()(iterator_t iStr, iterator_t iStrEnd) const
Definition: InventoryParserHelper.cpp:96
AIRINV::InventoryParserHelper::InventoryParser
Definition: InventoryParserHelper.hpp:471
AIRINV::InventoryParserHelper::doEndFlightDate::_bomRoot
stdair::BomRoot & _bomRoot
Definition: InventoryParserHelper.hpp:448
AIRINV::InventoryParserHelper::InventoryParser::_nbOfFlights
unsigned int & _nbOfFlights
Definition: InventoryParserHelper.hpp:500
AIRINV::InventoryParserHelper::storeYieldUpperRange
Definition: InventoryParserHelper.hpp:221
AIRINV::InventoryParserHelper::storeProtection::operator()
void operator()(double iReal) const
Definition: InventoryParserHelper.cpp:595
AIRINV::InventoryParserHelper::storeClassCode
Definition: InventoryParserHelper.hpp:277
AIRINV::InventoryParserHelper::storeSegmentAvailability
Definition: InventoryParserHelper.hpp:408
AIRINV::InventoryParserHelper::storeCumulatedProtection::operator()
void operator()(double iReal) const
Definition: InventoryParserHelper.cpp:584
AIRINV::InventoryParserHelper::storeBucketAvaibality::storeBucketAvaibality
storeBucketAvaibality(FlightDateStruct &)
Definition: InventoryParserHelper.cpp:392
AIRINV::InventoryParserHelper::InventoryParser::definition::leg_details
boost::spirit::classic::rule< ScannerT > leg_details
Definition: InventoryParserHelper.hpp:484
AIRINV::InventoryParserHelper::storeFamilyCode::storeFamilyCode
storeFamilyCode(FlightDateStruct &)
Definition: InventoryParserHelper.cpp:737
AIRINV::InventoryParserHelper::storeParentSubclassCode::storeParentSubclassCode
storeParentSubclassCode(FlightDateStruct &)
Definition: InventoryParserHelper.cpp:567
AIRINV::InventoryParserHelper::storeNbOfBkgs
Definition: InventoryParserHelper.hpp:349
AIRINV::InventoryParserHelper::storeACP
Definition: InventoryParserHelper.hpp:205
AIRINV::InventoryParserHelper::storeETB::operator()
void operator()(double iReal) const
Definition: InventoryParserHelper.cpp:366
AIRINV::InventoryParserHelper::InventoryParser::definition::family_cabin_list
boost::spirit::classic::rule< ScannerT > family_cabin_list
Definition: InventoryParserHelper.hpp:491
AIRINV::InventoryParserHelper::InventoryParser::definition::full_segment_cabin_details
boost::spirit::classic::rule< ScannerT > full_segment_cabin_details
Definition: InventoryParserHelper.hpp:487
AIRINV::InventoryParserHelper::InventoryParser::definition::bucket_details
boost::spirit::classic::rule< ScannerT > bucket_details
Definition: InventoryParserHelper.hpp:486
AIRINV::InventoryParserHelper::storeOffTime::storeOffTime
storeOffTime(FlightDateStruct &)
Definition: InventoryParserHelper.cpp:242
AIRINV::InventoryParserHelper::InventoryParser::definition::class_key
boost::spirit::classic::rule< ScannerT > class_key
Definition: InventoryParserHelper.hpp:489
AIRINV::InventoryParserHelper::storeFlightDate
Definition: InventoryParserHelper.hpp:61
AIRINV::InventoryParserHelper::doEndFlightDate::operator()
void operator()(iterator_t iStr, iterator_t iStrEnd) const
Definition: InventoryParserHelper.cpp:787
AIRINV::InventoryParserHelper::storeNAV::storeNAV
storeNAV(FlightDateStruct &)
Definition: InventoryParserHelper.cpp:328
AIRINV::InventoryParserHelper::storeProtection::storeProtection
storeProtection(FlightDateStruct &)
Definition: InventoryParserHelper.cpp:590
AIRINV::InventoryParserHelper::doEndFlightDate::doEndFlightDate
doEndFlightDate(stdair::BomRoot &, FlightDateStruct &, unsigned int &)
Definition: InventoryParserHelper.cpp:778
AIRINV::InventoryParserHelper::storeOperatingFlightNumber::operator()
void operator()(unsigned int iNumber) const
Definition: InventoryParserHelper.cpp:197
AIRINV::InventoryParserHelper::storeSegmentBoardingPoint::storeSegmentBoardingPoint
storeSegmentBoardingPoint(FlightDateStruct &)
Definition: InventoryParserHelper.cpp:415
AIRINV::InventoryParserHelper::storeAU::operator()
void operator()(double iReal) const
Definition: InventoryParserHelper.cpp:300
AIRINV::InventoryParserHelper::InventoryParser::_flightDate
FlightDateStruct & _flightDate
Definition: InventoryParserHelper.hpp:499
AIRINV::InventoryParserHelper::storeNoShow::operator()
void operator()(double iReal) const
Definition: InventoryParserHelper.cpp:617
AIRINV::InventoryParserHelper::storeBoardingDate::storeBoardingDate
storeBoardingDate(FlightDateStruct &)
Definition: InventoryParserHelper.cpp:204
AIRINV::InventoryParserHelper::InventoryParser::definition::segment_cabin_list
boost::spirit::classic::rule< ScannerT > segment_cabin_list
Definition: InventoryParserHelper.hpp:488
AIRINV::InventoryParserHelper::storeNbOfPendingGroupBkgs
Definition: InventoryParserHelper.hpp:365
AIRINV::InventoryParserHelper::storeBookingCounter::operator()
void operator()(double iReal) const
Definition: InventoryParserHelper.cpp:322
AIRINV::InventoryParserHelper::InventoryParser::definition::airline_code
boost::spirit::classic::rule< ScannerT > airline_code
Definition: InventoryParserHelper.hpp:482
AIRINV::InventoryParserHelper::storeSegmentCabinCode::operator()
void operator()(char iChar) const
Definition: InventoryParserHelper.cpp:483
AIRINV::InventoryParserHelper::storeSegmentCabinBookingCounter::storeSegmentCabinBookingCounter
storeSegmentCabinBookingCounter(FlightDateStruct &)
Definition: InventoryParserHelper.cpp:513
AIRINV::InventoryParserHelper::InventoryParser::definition::segment_list
boost::spirit::classic::rule< ScannerT > segment_list
Definition: InventoryParserHelper.hpp:487
AIRINV::InventoryParserHelper::storeLegOffPoint::operator()
void operator()(iterator_t iStr, iterator_t iStrEnd) const
Definition: InventoryParserHelper.cpp:165
AIRINV::InventoryParserHelper::storeBoardingTime::storeBoardingTime
storeBoardingTime(FlightDateStruct &)
Definition: InventoryParserHelper.cpp:215
AIRINV::InventoryParserHelper::storeSaleableCapacity::operator()
void operator()(double iReal) const
Definition: InventoryParserHelper.cpp:289
AIRINV::InventoryParserHelper::storeSegmentOffPoint
Definition: InventoryParserHelper.hpp:253
AIRINV::InventoryParserHelper::storeParentClassCode::operator()
void operator()(char iChar) const
Definition: InventoryParserHelper.cpp:560
AIRINV::InventoryParserHelper::InventoryParser::definition::parent_subclass_code
boost::spirit::classic::rule< ScannerT > parent_subclass_code
Definition: InventoryParserHelper.hpp:489
AIRINV::InventoryParserHelper::storeFlightNumber::storeFlightNumber
storeFlightNumber(FlightDateStruct &)
Definition: InventoryParserHelper.cpp:70
AIRINV::InventoryParserHelper::storeGAV::operator()
void operator()(double iReal) const
Definition: InventoryParserHelper.cpp:344
AIRINV::InventoryParserHelper::InventoryParser::definition::leg_list
boost::spirit::classic::rule< ScannerT > leg_list
Definition: InventoryParserHelper.hpp:484
AIRINV::InventoryParserHelper::storeLegCabinCode::operator()
void operator()(char iChar) const
Definition: InventoryParserHelper.cpp:260
AIRINV::FlightDateStruct
Definition: FlightDateStruct.hpp:27
AIRINV::InventoryParserHelper::storeNbOfWLBkgs::storeNbOfWLBkgs
storeNbOfWLBkgs(FlightDateStruct &)
Definition: InventoryParserHelper.cpp:679
AIRINV::InventoryParserHelper::storeOperatingAirlineCode::storeOperatingAirlineCode
storeOperatingAirlineCode(FlightDateStruct &)
Definition: InventoryParserHelper.cpp:176
AIRINV::InventoryParserHelper::storeNAV::operator()
void operator()(double iReal) const
Definition: InventoryParserHelper.cpp:333
AIRINV::InventoryParserHelper::storeSubclassCode::operator()
void operator()(unsigned int iNumber) const
Definition: InventoryParserHelper.cpp:548