1 #ifndef __AIRINV_CMD_INVENTORYPARSERHELPER_HPP 2 #define __AIRINV_CMD_INVENTORYPARSERHELPER_HPP 10 #include <stdair/command/CmdAbstract.hpp> 23 namespace InventoryParserHelper {
57 void operator() (
unsigned int iNumber)
const;
113 void operator() (
unsigned int iNumber)
const;
153 void operator() (
char iChar)
const;
161 void operator() (
double iReal)
const;
169 void operator() (
double iReal)
const;
177 void operator() (
double iReal)
const;
185 void operator() (
double iReal)
const;
193 void operator() (
double iReal)
const;
201 void operator() (
double iReal)
const;
209 void operator() (
double iReal)
const;
217 void operator() (
double iReal)
const;
225 void operator() (
double iReal)
const;
233 void operator() (
double iReal)
const;
241 void operator() (
double iReal)
const;
265 void operator() (
char iChar)
const;
273 void operator() (
double iReal)
const;
281 void operator() (
char iChar)
const;
289 void operator() (
unsigned int iNumber)
const;
297 void operator() (
char iChar)
const;
305 void operator() (
unsigned int iNumber)
const;
313 void operator() (
double iReal)
const;
321 void operator() (
double iReal)
const;
329 void operator() (
double iReal)
const;
337 void operator() (
double iReal)
const;
345 void operator() (
double iReal)
const;
353 void operator() (
double iReal)
const;
361 void operator() (
double iReal)
const;
369 void operator() (
double iReal)
const;
377 void operator() (
double iReal)
const;
386 void operator() (
double iReal)
const;
394 void operator() (
double iReal)
const;
403 void operator() (
double iReal)
const;
412 void operator() (
double iReal)
const;
421 void operator() (
double iReal)
const;
429 void operator() (
int iCode)
const;
471 public boost::spirit::classic::grammar<InventoryParser> {
475 template <
typename ScannerT>
480 boost::spirit::classic::rule<ScannerT> flight_date_list,
482 flight_date, flight_date_end, flight_key, airline_code, flight_number,
483 flight_type_code, flight_visibility_code,
484 date, leg_list, leg, operating_leg_details, leg_key, leg_details,
485 leg_cabin_list, leg_cabin_details,
486 bucket_list, bucket_details,
487 time, segment_list, segment, segment_key, full_segment_cabin_details,
488 segment_cabin_list, segment_cabin_key, segment_cabin_details,
489 class_list, class_key, parent_subclass_code,
490 class_protection, class_nego, class_details,
491 family_cabin_list, family_cabin_details;
494 boost::spirit::classic::rule<ScannerT>
const& start()
const;
520 const stdair::Filename_T& iInventoryInputFilename);
523 bool buildInventory ();
532 stdair::Filename_T _filename;
541 stdair::BomRoot& _bomRoot;
547 unsigned int _nbOfFlights;
551 #endif // __AIRINV_CMD_INVENTORYPARSERHELPER_HPP
boost::spirit::classic::rule< ScannerT > time
FlightDateStruct & _flightDate
stdair::BomRoot & _bomRoot
unsigned int & _nbOfFlights
boost::spirit::classic::file_iterator< char_t > iterator_t
stdair::BomRoot & _bomRoot
unsigned int & _nbOfFlights
FlightDateStruct & _flightDate