OpenTREP Logo  0.07.4
C++ Open Travel Request Parsing Library
PORParserHelper.hpp
Go to the documentation of this file.
1 #ifndef __OPENTREP_CMD_PORPARSERHELPER_HPP
2 #define __OPENTREP_CMD_PORPARSERHELPER_HPP
3 
4 // //////////////////////////////////////////////////////////////////////
5 // Import section
6 // //////////////////////////////////////////////////////////////////////
7 // STL
8 #include <string>
9 // Boost
10 #include <boost/spirit/include/qi.hpp>
11 // Opentrep
13 #include <opentrep/Location.hpp>
14 #include <opentrep/CityDetails.hpp>
15 
16 namespace OPENTREP {
17 
18  namespace PorParserHelper {
19 
21  //typedef char uchar_t;
22  typedef boost::uint32_t uchar_t;
23 
24 
25  // ///////////////////////////////////////////////////////////////////
26  // Semantic actions
27  // ////////////////////////////////////////////////////
29 
35  };
36 
42  void operator() (std::vector<uchar_t>,
43  boost::spirit::qi::unused_type,
44  boost::spirit::qi::unused_type) const;
45  };
46 
52  void operator() (std::vector<uchar_t>,
53  boost::spirit::qi::unused_type,
54  boost::spirit::qi::unused_type) const;
55  };
56 
62  void operator() (std::vector<uchar_t>,
63  boost::spirit::qi::unused_type,
64  boost::spirit::qi::unused_type) const;
65  };
66 
72  void operator() (std::vector<uchar_t>,
73  boost::spirit::qi::unused_type,
74  boost::spirit::qi::unused_type) const;
75  };
76 
82  void operator() (unsigned int iUICCode,
83  boost::spirit::qi::unused_type,
84  boost::spirit::qi::unused_type) const;
85  };
86 
92  void operator() (unsigned int,
93  boost::spirit::qi::unused_type,
94  boost::spirit::qi::unused_type) const;
95  };
96 
102  void operator() (unsigned int,
103  boost::spirit::qi::unused_type,
104  boost::spirit::qi::unused_type) const;
105  };
106 
112  void operator() (std::vector<uchar_t>,
113  boost::spirit::qi::unused_type,
114  boost::spirit::qi::unused_type) const;
115  };
116 
122  void operator() (std::vector<uchar_t>,
123  boost::spirit::qi::unused_type,
124  boost::spirit::qi::unused_type) const;
125  };
126 
132  void operator() (boost::spirit::qi::unused_type,
133  boost::spirit::qi::unused_type,
134  boost::spirit::qi::unused_type) const;
135  };
136 
142  void operator() (std::vector<uchar_t>,
143  boost::spirit::qi::unused_type,
144  boost::spirit::qi::unused_type) const;
145  };
146 
152  void operator() (boost::spirit::qi::unused_type,
153  boost::spirit::qi::unused_type,
154  boost::spirit::qi::unused_type) const;
155  };
156 
162  void operator() (std::vector<uchar_t>,
163  boost::spirit::qi::unused_type,
164  boost::spirit::qi::unused_type) const;
165  };
166 
172  void operator() (boost::spirit::qi::unused_type,
173  boost::spirit::qi::unused_type,
174  boost::spirit::qi::unused_type) const;
175  };
176 
182  void operator() (double,
183  boost::spirit::qi::unused_type,
184  boost::spirit::qi::unused_type) const;
185  };
186 
192  void operator() (double,
193  boost::spirit::qi::unused_type,
194  boost::spirit::qi::unused_type) const;
195  };
196 
202  void operator() (std::vector<uchar_t>,
203  boost::spirit::qi::unused_type,
204  boost::spirit::qi::unused_type) const;
205  };
206 
212  void operator() (std::vector<uchar_t>,
213  boost::spirit::qi::unused_type,
214  boost::spirit::qi::unused_type) const;
215  };
216 
222  void operator() (double,
223  boost::spirit::qi::unused_type,
224  boost::spirit::qi::unused_type) const;
225  };
226 
232  void operator() (boost::spirit::qi::unused_type,
233  boost::spirit::qi::unused_type,
234  boost::spirit::qi::unused_type) const;
235  };
236 
242  void operator() (boost::spirit::qi::unused_type,
243  boost::spirit::qi::unused_type,
244  boost::spirit::qi::unused_type) const;
245  };
246 
252  void operator() (std::vector<uchar_t>,
253  boost::spirit::qi::unused_type,
254  boost::spirit::qi::unused_type) const;
255  };
256 
262  void operator() (std::vector<uchar_t>,
263  boost::spirit::qi::unused_type,
264  boost::spirit::qi::unused_type) const;
265  };
266 
272  void operator() (std::vector<uchar_t>,
273  boost::spirit::qi::unused_type,
274  boost::spirit::qi::unused_type) const;
275  };
276 
282  void operator() (std::vector<uchar_t>,
283  boost::spirit::qi::unused_type,
284  boost::spirit::qi::unused_type) const;
285  };
286 
292  void operator() (std::vector<uchar_t>,
293  boost::spirit::qi::unused_type,
294  boost::spirit::qi::unused_type) const;
295  };
296 
302  void operator() (std::vector<uchar_t>,
303  boost::spirit::qi::unused_type,
304  boost::spirit::qi::unused_type) const;
305  };
306 
312  void operator() (std::vector<uchar_t>,
313  boost::spirit::qi::unused_type,
314  boost::spirit::qi::unused_type) const;
315  };
316 
322  void operator() (std::vector<uchar_t>,
323  boost::spirit::qi::unused_type,
324  boost::spirit::qi::unused_type) const;
325  };
326 
332  void operator() (std::vector<uchar_t>,
333  boost::spirit::qi::unused_type,
334  boost::spirit::qi::unused_type) const;
335  };
336 
342  void operator() (std::vector<uchar_t>,
343  boost::spirit::qi::unused_type,
344  boost::spirit::qi::unused_type) const;
345  };
346 
352  void operator() (std::vector<uchar_t>,
353  boost::spirit::qi::unused_type,
354  boost::spirit::qi::unused_type) const;
355  };
356 
362  void operator() (std::vector<uchar_t>,
363  boost::spirit::qi::unused_type,
364  boost::spirit::qi::unused_type) const;
365  };
366 
372  void operator() (std::vector<uchar_t>,
373  boost::spirit::qi::unused_type,
374  boost::spirit::qi::unused_type) const;
375  };
376 
382  void operator() (unsigned int,
383  boost::spirit::qi::unused_type,
384  boost::spirit::qi::unused_type) const;
385  };
386 
392  void operator() (int,
393  boost::spirit::qi::unused_type,
394  boost::spirit::qi::unused_type) const;
395  };
396 
402  void operator() (int,
403  boost::spirit::qi::unused_type,
404  boost::spirit::qi::unused_type) const;
405  };
406 
412  void operator() (std::vector<uchar_t>,
413  boost::spirit::qi::unused_type,
414  boost::spirit::qi::unused_type) const;
415  };
416 
422  void operator() (float,
423  boost::spirit::qi::unused_type,
424  boost::spirit::qi::unused_type) const;
425  };
426 
432  void operator() (float,
433  boost::spirit::qi::unused_type,
434  boost::spirit::qi::unused_type) const;
435  };
436 
442  void operator() (float,
443  boost::spirit::qi::unused_type,
444  boost::spirit::qi::unused_type) const;
445  };
446 
452  void operator() (boost::spirit::qi::unused_type,
453  boost::spirit::qi::unused_type,
454  boost::spirit::qi::unused_type) const;
455  };
456 
462  void operator() (std::vector<uchar_t>,
463  boost::spirit::qi::unused_type,
464  boost::spirit::qi::unused_type) const;
465  };
466 
472  void operator() (unsigned int,
473  boost::spirit::qi::unused_type,
474  boost::spirit::qi::unused_type) const;
475  };
476 
482  void operator() (std::vector<uchar_t>,
483  boost::spirit::qi::unused_type,
484  boost::spirit::qi::unused_type) const;
485  };
486 
492  void operator() (std::vector<uchar_t>,
493  boost::spirit::qi::unused_type,
494  boost::spirit::qi::unused_type) const;
495  };
496 
502  void operator() (std::vector<uchar_t>,
503  boost::spirit::qi::unused_type,
504  boost::spirit::qi::unused_type) const;
505  };
506 
508  struct storeWAC : public ParserSemanticAction {
510  storeWAC (Location&);
512  void operator() (unsigned int,
513  boost::spirit::qi::unused_type,
514  boost::spirit::qi::unused_type) const;
515  };
516 
522  void operator() (std::vector<uchar_t>,
523  boost::spirit::qi::unused_type,
524  boost::spirit::qi::unused_type) const;
525  };
526 
532  void operator() (std::vector<uchar_t>,
533  boost::spirit::qi::unused_type,
534  boost::spirit::qi::unused_type) const;
535  };
536 
542  void operator() (std::vector<uchar_t>,
543  boost::spirit::qi::unused_type,
544  boost::spirit::qi::unused_type) const;
545  };
546 
547 
553  void operator() (std::vector<uchar_t>,
554  boost::spirit::qi::unused_type,
555  boost::spirit::qi::unused_type) const;
556  };
557 
563  void operator() (std::vector<boost::uint32_t>,
564  boost::spirit::qi::unused_type,
565  boost::spirit::qi::unused_type) const;
566  };
567 
573  void operator() (std::vector<boost::uint32_t>,
574  boost::spirit::qi::unused_type,
575  boost::spirit::qi::unused_type) const;
576  };
577 
583  void operator() (std::vector<boost::uint32_t>,
584  boost::spirit::qi::unused_type,
585  boost::spirit::qi::unused_type) const;
586  };
587 
593  void operator() (std::vector<boost::uint32_t>,
594  boost::spirit::qi::unused_type,
595  boost::spirit::qi::unused_type) const;
596  };
597 
603  void operator() (std::vector<boost::uint32_t>,
604  boost::spirit::qi::unused_type,
605  boost::spirit::qi::unused_type) const;
606  };
607 
609  struct doEndPor : public ParserSemanticAction {
611  doEndPor (Location&);
613  void operator() (boost::spirit::qi::unused_type,
614  boost::spirit::qi::unused_type,
615  boost::spirit::qi::unused_type) const;
616  };
617 
618  }
619 
620 
622  //
623  // Entry class for the string parser
624  //
626 
634  public:
638  PORStringParser (const std::string& iString);
639 
644 
648  const Location& generateLocation();
649 
650  private:
654  void init();
655 
656  private:
657  // Attributes
661  std::string _string;
662 
666  Location _location;
667  };
668 
669 
671  //
672  // Entry class for the file parser
673  //
675 
683  public:
687  PORFileParser (const PORFilePath_T& iFilename);
688 
692  void generateLocations();
693 
694  private:
698  void init();
699 
700  private:
701  // Attributes
705  PORFilePath_T _filename;
706 
710  Location _location;
711  };
712 
713 }
714 #endif // __OPENTREP_CMD_PORPARSERHELPER_HPP
OPENTREP::PorParserHelper::storeCityAsciiName::operator()
void operator()(std::vector< uchar_t >, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:731
OPENTREP::PorParserHelper::storeAltName
Definition: PORParserHelper.hpp:599
OPENTREP::PorParserHelper::storeLongitude::operator()
void operator()(double, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:274
OPENTREP::PorParserHelper::storeDateFrom
Definition: PORParserHelper.hpp:228
OPENTREP::PorParserHelper::storeTvlPORListString::operator()
void operator()(boost::spirit::qi::unused_type, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:248
OPENTREP::PorParserHelper::storeDateFrom::storeDateFrom
storeDateFrom(Location &)
Definition: PORParserHelper.cpp:331
OPENTREP::PorParserHelper::storeEnvelopeID::storeEnvelopeID
storeEnvelopeID(Location &)
Definition: PORParserHelper.cpp:136
OPENTREP::PorParserHelper::storeGeonamesID::storeGeonamesID
storeGeonamesID(Location &)
Definition: PORParserHelper.cpp:122
OPENTREP::PorParserHelper::ParserSemanticAction::ParserSemanticAction
ParserSemanticAction(Location &)
Definition: PORParserHelper.cpp:31
OPENTREP::PorParserHelper::storeGTopo30::storeGTopo30
storeGTopo30(Location &)
Definition: PORParserHelper.cpp:597
OPENTREP::PorParserHelper::storeDSTOffset::storeDSTOffset
storeDSTOffset(Location &)
Definition: PORParserHelper.cpp:639
OPENTREP::PorParserHelper::storeCityGeonamesID
Definition: PORParserHelper.hpp:468
OPENTREP::PorParserHelper::storeAltLangCodeHist::operator()
void operator()(std::vector< boost::uint32_t >, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:889
OPENTREP::PorParserHelper::storeElevation
Definition: PORParserHelper.hpp:388
OPENTREP::PorParserHelper::storeRawOffset::storeRawOffset
storeRawOffset(Location &)
Definition: PORParserHelper.cpp:652
OPENTREP::PorParserHelper::storeDateFrom::operator()
void operator()(boost::spirit::qi::unused_type, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:336
OPENTREP::PorParserHelper::storeTvlPORListString
Definition: PORParserHelper.hpp:168
OPENTREP::PorParserHelper::storeAdm3Code
Definition: PORParserHelper.hpp:358
OPENTREP::PorParserHelper::storeContinentName::operator()
void operator()(std::vector< uchar_t >, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:432
OPENTREP::PorParserHelper::storeAdm1Code::storeAdm1Code
storeAdm1Code(Location &)
Definition: PORParserHelper.cpp:443
OPENTREP::PorParserHelper::storeElevation::storeElevation
storeElevation(Location &)
Definition: PORParserHelper.cpp:584
OPENTREP::PorParserHelper::storeStateCode
Definition: PORParserHelper.hpp:498
OPENTREP::PorParserHelper::storeStateCode::storeStateCode
storeStateCode(Location &)
Definition: PORParserHelper.cpp:743
OPENTREP::PorParserHelper::storeAsciiName::operator()
void operator()(std::vector< uchar_t >, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:171
OPENTREP::PorParserHelper::storeCountryCode
Definition: PORParserHelper.hpp:258
OPENTREP::PorParserHelper::storeLatitude::operator()
void operator()(double, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:261
OPENTREP::PorParserHelper::storeCommonName
Definition: PORParserHelper.hpp:108
OPENTREP::PORFileParser::generateLocations
void generateLocations()
Definition: PORParserHelper.cpp:1726
OPENTREP::PorParserHelper::uchar_t
boost::uint32_t uchar_t
Definition: PORParserHelper.hpp:22
OPENTREP::PorParserHelper::storeFeatureCode::storeFeatureCode
storeFeatureCode(Location &)
Definition: PORParserHelper.cpp:300
OPENTREP::PorParserHelper::storeCityDetailList
Definition: PORParserHelper.hpp:128
OPENTREP::PorParserHelper::storeAdm2AsciiName::operator()
void operator()(std::vector< uchar_t >, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:528
OPENTREP::PorParserHelper::storeAltName::operator()
void operator()(std::vector< boost::uint32_t >, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:906
OPENTREP::PorParserHelper::ParserSemanticAction
Definition: PORParserHelper.hpp:30
OPENTREP::PorParserHelper::storeDSTOffset
Definition: PORParserHelper.hpp:428
OPENTREP::PorParserHelper::storeCountryCode::storeCountryCode
storeCountryCode(Location &)
Definition: PORParserHelper.cpp:379
OPENTREP::PORFileParser::PORFileParser
PORFileParser(const PORFilePath_T &iFilename)
Definition: PORParserHelper.cpp:1716
OPENTREP::PorParserHelper::storeCommonName::operator()
void operator()(std::vector< uchar_t >, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:155
OPENTREP::PorParserHelper::storeAdm3Code::operator()
void operator()(std::vector< uchar_t >, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:544
OPENTREP::PorParserHelper::storePageRank
Definition: PORParserHelper.hpp:218
OPENTREP::PorParserHelper::storeTvlPORCode::operator()
void operator()(std::vector< uchar_t >, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:231
OPENTREP::PorParserHelper::storeCountryName
Definition: PORParserHelper.hpp:278
OPENTREP::PorParserHelper::storeAdm4Code
Definition: PORParserHelper.hpp:368
OPENTREP::PorParserHelper::storeAdm4Code::storeAdm4Code
storeAdm4Code(Location &)
Definition: PORParserHelper.cpp:555
OPENTREP::PorParserHelper::storeGeonamesID
Definition: PORParserHelper.hpp:88
OPENTREP::PorParserHelper::storeStateCode::operator()
void operator()(std::vector< uchar_t >, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:748
OPENTREP::PorParserHelper::storeAdm1UtfName
Definition: PORParserHelper.hpp:308
OPENTREP::PorParserHelper::storeFaaCode::storeFaaCode
storeFaaCode(Location &)
Definition: PORParserHelper.cpp:74
OPENTREP::PorParserHelper::storeCityAsciiName::storeCityAsciiName
storeCityAsciiName(Location &)
Definition: PORParserHelper.cpp:726
OPENTREP::PorParserHelper::storeGMTOffset::operator()
void operator()(float, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:631
OPENTREP::PorParserHelper::storeAdm1Code::operator()
void operator()(std::vector< uchar_t >, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:448
OPENTREP::PorParserHelper::storeCurrencyCode
Definition: PORParserHelper.hpp:528
OPENTREP::PorParserHelper::storeAdm2AsciiName::storeAdm2AsciiName
storeAdm2AsciiName(Location &)
Definition: PORParserHelper.cpp:523
OPENTREP::PorParserHelper::storeTvlPORCode
Definition: PORParserHelper.hpp:158
OPENTREP::PorParserHelper::storeTimeZone::operator()
void operator()(std::vector< uchar_t >, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:615
OPENTREP::PorParserHelper::storeAdm1Code
Definition: PORParserHelper.hpp:298
OPENTREP::PorParserHelper::storeAltLangCodeHist::storeAltLangCodeHist
storeAltLangCodeHist(Location &)
Definition: PORParserHelper.cpp:884
OPENTREP::PorParserHelper::storeDateEnd
Definition: PORParserHelper.hpp:238
OPENTREP::PorParserHelper::storeAdm4Code::operator()
void operator()(std::vector< uchar_t >, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:560
OPENTREP::PORFilePath_T
Definition: OPENTREP_Types.hpp:37
CityDetails.hpp
OPENTREP::PORStringParser::~PORStringParser
~PORStringParser()
Definition: PORParserHelper.cpp:1638
OPENTREP::PorParserHelper::storeContinentName::storeContinentName
storeContinentName(Location &)
Definition: PORParserHelper.cpp:427
OPENTREP::PorParserHelper::storeGTopo30
Definition: PORParserHelper.hpp:398
OPENTREP::PorParserHelper::storeAdm3Code::storeAdm3Code
storeAdm3Code(Location &)
Definition: PORParserHelper.cpp:539
OPENTREP::PorParserHelper::storePopulation::operator()
void operator()(unsigned int, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:576
OPENTREP::PorParserHelper::storeTvlPORCode::storeTvlPORCode
storeTvlPORCode(Location &)
Definition: PORParserHelper.cpp:226
OPENTREP::PorParserHelper::storeCurrencyCode::operator()
void operator()(std::vector< uchar_t >, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:792
OPENTREP::PorParserHelper::storeAltNameShort
Definition: PORParserHelper.hpp:138
OPENTREP::PorParserHelper::storeRawOffset
Definition: PORParserHelper.hpp:438
OPENTREP::PorParserHelper::storeFaaCode::operator()
void operator()(std::vector< uchar_t >, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:79
OPENTREP::PorParserHelper::storePopulation
Definition: PORParserHelper.hpp:378
OPENTREP::PorParserHelper::storeIcaoCode::operator()
void operator()(std::vector< uchar_t >, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:62
OPENTREP::PorParserHelper::storeAltName::storeAltName
storeAltName(Location &)
Definition: PORParserHelper.cpp:901
OPENTREP::Location
Structure modelling a (geographical) location.
Definition: Location.hpp:25
OPENTREP::PorParserHelper::doEndPor::doEndPor
doEndPor(Location &)
Definition: PORParserHelper.cpp:922
OPENTREP::PorParserHelper::storeAltLangCode2Char::storeAltLangCode2Char
storeAltLangCode2Char(Location &)
Definition: PORParserHelper.cpp:850
OPENTREP::PorParserHelper::storeTvlPORListString::storeTvlPORListString
storeTvlPORListString(Location &)
Definition: PORParserHelper.cpp:243
OPENTREP::PorParserHelper::storeAltLangCodeFull
Definition: PORParserHelper.hpp:559
OPENTREP::PorParserHelper::storeIataCode::storeIataCode
storeIataCode(Location &)
Definition: PORParserHelper.cpp:36
OPENTREP::PorParserHelper::storeIataCode
Definition: PORParserHelper.hpp:38
OPENTREP::PorParserHelper::storeCommonName::storeCommonName
storeCommonName(Location &)
Definition: PORParserHelper.cpp:150
OPENTREP::PorParserHelper::storeDateEnd::operator()
void operator()(boost::spirit::qi::unused_type, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:351
OPENTREP::PorParserHelper::storeIcaoCode::storeIcaoCode
storeIcaoCode(Location &)
Definition: PORParserHelper.cpp:57
OPENTREP::PorParserHelper::storePORType::operator()
void operator()(std::vector< uchar_t >, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:808
OPENTREP::PorParserHelper::storeWAC::storeWAC
storeWAC(Location &)
Definition: PORParserHelper.cpp:759
OPENTREP::PorParserHelper::storeModDate
Definition: PORParserHelper.hpp:448
OPENTREP::PorParserHelper::storeAltLangCode2Char
Definition: PORParserHelper.hpp:569
OPENTREP::PorParserHelper::storeCountryName::storeCountryName
storeCountryName(Location &)
Definition: PORParserHelper.cpp:411
OPENTREP::PorParserHelper::storeAdm1AsciiName
Definition: PORParserHelper.hpp:318
OPENTREP::PorParserHelper::ParserSemanticAction::_location
Location & _location
Definition: PORParserHelper.hpp:34
OPENTREP
Definition: BasChronometer.cpp:10
OPENTREP::PorParserHelper::storeGTopo30::operator()
void operator()(int, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:602
OPENTREP::PorParserHelper::storeCityGeonamesID::storeCityGeonamesID
storeCityGeonamesID(Location &)
Definition: PORParserHelper.cpp:695
OPENTREP::PorParserHelper::storeGMTOffset
Definition: PORParserHelper.hpp:418
OPENTREP::PorParserHelper::storeUICCode::operator()
void operator()(unsigned int iUICCode, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:112
OPENTREP::PorParserHelper::storeEnvelopeID
Definition: PORParserHelper.hpp:98
OPENTREP::PorParserHelper::storeAdm1UtfName::storeAdm1UtfName
storeAdm1UtfName(Location &)
Definition: PORParserHelper.cpp:459
OPENTREP::PorParserHelper::storeCountryName::operator()
void operator()(std::vector< uchar_t >, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:416
OPENTREP::PorParserHelper::storeUNLOCode::operator()
void operator()(std::vector< uchar_t >, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:96
OPENTREP::PorParserHelper::storeTimeZone::storeTimeZone
storeTimeZone(Location &)
Definition: PORParserHelper.cpp:610
OPENTREP::PorParserHelper::storeFeatureClass
Definition: PORParserHelper.hpp:198
OPENTREP::PorParserHelper::storeAdm2AsciiName
Definition: PORParserHelper.hpp:348
OPENTREP::PorParserHelper::storeCityGeonamesID::operator()
void operator()(unsigned int, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:700
OPENTREP::PorParserHelper::storeFaaCode
Definition: PORParserHelper.hpp:58
OPENTREP::PorParserHelper::storePageRank::storePageRank
storePageRank(Location &)
Definition: PORParserHelper.cpp:317
OPENTREP::PorParserHelper::storeCityDetailList::operator()
void operator()(boost::spirit::qi::unused_type, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:188
OPENTREP::PorParserHelper::storeAdm2UtfName::operator()
void operator()(std::vector< uchar_t >, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:512
OPENTREP::PorParserHelper::storeAltLangCodeExt::storeAltLangCodeExt
storeAltLangCodeExt(Location &)
Definition: PORParserHelper.cpp:867
OPENTREP::PorParserHelper::storeWACName::storeWACName
storeWACName(Location &)
Definition: PORParserHelper.cpp:772
Location.hpp
OPENTREP::PorParserHelper::storeUICCode
Definition: PORParserHelper.hpp:78
OPENTREP::PorParserHelper::storeLatitude::storeLatitude
storeLatitude(Location &)
Definition: PORParserHelper.cpp:256
OPENTREP::PorParserHelper::storeAsciiName
Definition: PORParserHelper.hpp:118
OPENTREP::PorParserHelper::storeWACName
Definition: PORParserHelper.hpp:518
OPENTREP::PorParserHelper::storeCityCode
Definition: PORParserHelper.hpp:458
OPENTREP::PorParserHelper::storeAdm1UtfName::operator()
void operator()(std::vector< uchar_t >, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:464
OPENTREP::PorParserHelper::storeDateEnd::storeDateEnd
storeDateEnd(Location &)
Definition: PORParserHelper.cpp:346
OPENTREP::PorParserHelper::storeComments::operator()
void operator()(std::vector< uchar_t >, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:366
OPENTREP::PorParserHelper::storeAltNameShortListString::storeAltNameShortListString
storeAltNameShortListString(Location &)
Definition: PORParserHelper.cpp:213
OPENTREP::PorParserHelper::storeWAC
Definition: PORParserHelper.hpp:508
OPENTREP::PorParserHelper::storeCityUtfName::storeCityUtfName
storeCityUtfName(Location &)
Definition: PORParserHelper.cpp:709
OPENTREP::PorParserHelper::storePopulation::storePopulation
storePopulation(Location &)
Definition: PORParserHelper.cpp:571
OPENTREP::PorParserHelper::storePORType
Definition: PORParserHelper.hpp:538
OPENTREP::PorParserHelper::storeContinentName
Definition: PORParserHelper.hpp:288
OPENTREP::PorParserHelper::storeGMTOffset::storeGMTOffset
storeGMTOffset(Location &)
Definition: PORParserHelper.cpp:626
OPENTREP::PorParserHelper::storeAltLangCodeExt
Definition: PORParserHelper.hpp:579
OPENTREP::PorParserHelper::storeIcaoCode
Definition: PORParserHelper.hpp:48
OPENTREP::PORStringParser::generateLocation
const Location & generateLocation()
Definition: PORParserHelper.cpp:1642
OPENTREP::PorParserHelper::storePageRank::operator()
void operator()(double, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:322
OPENTREP::PorParserHelper::storePORType::storePORType
storePORType(Location &)
Definition: PORParserHelper.cpp:803
OPENTREP::PorParserHelper::storeLongitude::storeLongitude
storeLongitude(Location &)
Definition: PORParserHelper.cpp:269
OPENTREP::PorParserHelper::storeFeatureClass::storeFeatureClass
storeFeatureClass(Location &)
Definition: PORParserHelper.cpp:283
OPENTREP::PorParserHelper::storeCityCode::storeCityCode
storeCityCode(Location &)
Definition: PORParserHelper.cpp:679
OPENTREP::PorParserHelper::storeAltLangCodeHist
Definition: PORParserHelper.hpp:589
OPENTREP::PorParserHelper::storeIataCode::operator()
void operator()(std::vector< uchar_t >, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:41
OPENTREP::PorParserHelper::storeComments::storeComments
storeComments(Location &)
Definition: PORParserHelper.cpp:361
OPENTREP::PorParserHelper::storeAdm2Code
Definition: PORParserHelper.hpp:328
OPENTREP::PorParserHelper::storeCityUtfName::operator()
void operator()(std::vector< uchar_t >, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:714
OPENTREP::PorParserHelper::storeModDate::storeModDate
storeModDate(Location &)
Definition: PORParserHelper.cpp:665
OPENTREP::PorParserHelper::storeCityDetailList::storeCityDetailList
storeCityDetailList(Location &)
Definition: PORParserHelper.cpp:182
OPENTREP::PorParserHelper::storeLatitude
Definition: PORParserHelper.hpp:178
OPENTREP::PorParserHelper::storeAltNameShort::storeAltNameShort
storeAltNameShort(Location &)
Definition: PORParserHelper.cpp:195
OPENTREP::PorParserHelper::storeModDate::operator()
void operator()(boost::spirit::qi::unused_type, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:670
OPENTREP::PorParserHelper::storeAltCountryCode
Definition: PORParserHelper.hpp:268
OPENTREP::PorParserHelper::storeCountryCode::operator()
void operator()(std::vector< uchar_t >, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:384
OPENTREP::PorParserHelper::storeCityCode::operator()
void operator()(std::vector< uchar_t >, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:684
OPENTREP::PorParserHelper::storeAdm2UtfName
Definition: PORParserHelper.hpp:338
OPENTREP::PORStringParser
Definition: PORParserHelper.hpp:633
OPENTREP::PorParserHelper::storeGeonamesID::operator()
void operator()(unsigned int, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:127
OPENTREP::PorParserHelper::storeEnvelopeID::operator()
void operator()(unsigned int, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:141
OPENTREP::PorParserHelper::storeAdm2UtfName::storeAdm2UtfName
storeAdm2UtfName(Location &)
Definition: PORParserHelper.cpp:507
OPENTREP::PorParserHelper::storeWAC::operator()
void operator()(unsigned int, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:764
OPENTREP::PorParserHelper::storeAdm1AsciiName::operator()
void operator()(std::vector< uchar_t >, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:480
OPENTREP::PorParserHelper::storeLongitude
Definition: PORParserHelper.hpp:188
OPENTREP::PorParserHelper::storeElevation::operator()
void operator()(int, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:589
OPENTREP::PorParserHelper::storeAltLangCodeFull::storeAltLangCodeFull
storeAltLangCodeFull(Location &)
Definition: PORParserHelper.cpp:834
OPENTREP::PorParserHelper::storeAltLangCodeFull::operator()
void operator()(std::vector< boost::uint32_t >, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:839
OPENTREP::PorParserHelper::storeCityAsciiName
Definition: PORParserHelper.hpp:488
OPENTREP::PorParserHelper::storeUNLOCode::storeUNLOCode
storeUNLOCode(Location &)
Definition: PORParserHelper.cpp:91
OPENTREP::PorParserHelper::storeComments
Definition: PORParserHelper.hpp:248
OPENTREP::PorParserHelper::storeAdm1AsciiName::storeAdm1AsciiName
storeAdm1AsciiName(Location &)
Definition: PORParserHelper.cpp:475
OPENTREP::PorParserHelper::storeCityUtfName
Definition: PORParserHelper.hpp:478
OPENTREP::PorParserHelper::storeAdm2Code::operator()
void operator()(std::vector< uchar_t >, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:496
OPENTREP::PorParserHelper::storeRawOffset::operator()
void operator()(float, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:657
OPENTREP::PorParserHelper::storeUICCode::storeUICCode
storeUICCode(Location &)
Definition: PORParserHelper.cpp:107
OPENTREP::PorParserHelper::storeWACName::operator()
void operator()(std::vector< uchar_t >, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:777
OPENTREP::PorParserHelper::storeDSTOffset::operator()
void operator()(float, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:644
OPENTREP::PorParserHelper::storeAltCountryCode::operator()
void operator()(std::vector< uchar_t >, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:400
OPENTREP::PorParserHelper::doEndPor::operator()
void operator()(boost::spirit::qi::unused_type, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:927
OPENTREP::PorParserHelper::storeUNLOCode
Definition: PORParserHelper.hpp:68
OPENTREP::PorParserHelper::storeAltCountryCode::storeAltCountryCode
storeAltCountryCode(Location &)
Definition: PORParserHelper.cpp:395
OPENTREP::PorParserHelper::storeTimeZone
Definition: PORParserHelper.hpp:408
OPENTREP::PorParserHelper::storeAsciiName::storeAsciiName
storeAsciiName(Location &)
Definition: PORParserHelper.cpp:166
OPENTREP::PorParserHelper::storeAltLangCodeExt::operator()
void operator()(std::vector< boost::uint32_t >, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:872
OPENTREP::PorParserHelper::storeFeatureCode
Definition: PORParserHelper.hpp:208
OPENTREP::PorParserHelper::storeAltNameShortListString
Definition: PORParserHelper.hpp:148
OPENTREP_Types.hpp
OPENTREP::PORFileParser
Definition: PORParserHelper.hpp:682
OPENTREP::PorParserHelper::storeAdm2Code::storeAdm2Code
storeAdm2Code(Location &)
Definition: PORParserHelper.cpp:491
OPENTREP::PorParserHelper::doEndPor
Definition: PORParserHelper.hpp:609
OPENTREP::PorParserHelper::storeAltLangCode2Char::operator()
void operator()(std::vector< boost::uint32_t >, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:855
OPENTREP::PorParserHelper::storeAltNameShortListString::operator()
void operator()(boost::spirit::qi::unused_type, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:219
OPENTREP::PorParserHelper::storeFeatureCode::operator()
void operator()(std::vector< uchar_t >, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:305
OPENTREP::PORStringParser::PORStringParser
PORStringParser(const std::string &iString)
Definition: PORParserHelper.cpp:1626
OPENTREP::PorParserHelper::storeCurrencyCode::storeCurrencyCode
storeCurrencyCode(Location &)
Definition: PORParserHelper.cpp:787
OPENTREP::PorParserHelper::storeFeatureClass::operator()
void operator()(std::vector< uchar_t >, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:288
OPENTREP::PorParserHelper::storeAltNameShort::operator()
void operator()(std::vector< uchar_t >, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:200