OpenTREP Logo  0.07.7
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 
512  void operator() (std::vector<uchar_t>,
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 
528  struct storeWAC : public ParserSemanticAction {
530  storeWAC (Location&);
532  void operator() (unsigned int,
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 
552  void operator() (std::vector<uchar_t>,
553  boost::spirit::qi::unused_type,
554  boost::spirit::qi::unused_type) const;
555  };
556 
562  void operator() (std::vector<uchar_t>,
563  boost::spirit::qi::unused_type,
564  boost::spirit::qi::unused_type) const;
565  };
566 
567 
573  void operator() (std::vector<uchar_t>,
574  boost::spirit::qi::unused_type,
575  boost::spirit::qi::unused_type) const;
576  };
577 
583  void operator() (double,
584  boost::spirit::qi::unused_type,
585  boost::spirit::qi::unused_type) const;
586  };
587 
593  void operator() (double,
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 
615  void operator() (std::vector<boost::uint32_t>,
616  boost::spirit::qi::unused_type,
617  boost::spirit::qi::unused_type) const;
618  };
619 
627  void operator() (std::vector<boost::uint32_t>,
628  boost::spirit::qi::unused_type,
629  boost::spirit::qi::unused_type) const;
630  };
631 
637  void operator() (std::vector<boost::uint32_t>,
638  boost::spirit::qi::unused_type,
639  boost::spirit::qi::unused_type) const;
640  };
641 
647  void operator() (std::vector<boost::uint32_t>,
648  boost::spirit::qi::unused_type,
649  boost::spirit::qi::unused_type) const;
650  };
651 
653  struct doEndPor : public ParserSemanticAction {
655  doEndPor (Location&);
657  void operator() (boost::spirit::qi::unused_type,
658  boost::spirit::qi::unused_type,
659  boost::spirit::qi::unused_type) const;
660  };
661 
662  }
663 
664 
666  //
667  // Entry class for the string parser
668  //
670 
678  public:
682  PORStringParser (const std::string& iString);
683 
688 
692  const Location& generateLocation();
693 
694  private:
698  void init();
699 
700  private:
701  // Attributes
705  std::string _string;
706 
710  Location _location;
711  };
712 
713 
715  //
716  // Entry class for the file parser
717  //
719 
727  public:
731  PORFileParser (const PORFilePath_T& iFilename);
732 
736  void generateLocations();
737 
738  private:
742  void init();
743 
744  private:
745  // Attributes
749  PORFilePath_T _filename;
750 
754  Location _location;
755  };
756 
757 }
758 #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:732
OPENTREP::PorParserHelper::storeAltName
Definition: PORParserHelper.hpp:643
OPENTREP::PorParserHelper::storeLongitude::operator()
void operator()(double, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:275
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:249
OPENTREP::PorParserHelper::storeDateFrom::storeDateFrom
storeDateFrom(Location &)
Definition: PORParserHelper.cpp:332
OPENTREP::PorParserHelper::storeEnvelopeID::storeEnvelopeID
storeEnvelopeID(Location &)
Definition: PORParserHelper.cpp:137
OPENTREP::PorParserHelper::storeGeonamesID::storeGeonamesID
storeGeonamesID(Location &)
Definition: PORParserHelper.cpp:123
OPENTREP::PorParserHelper::ParserSemanticAction::ParserSemanticAction
ParserSemanticAction(Location &)
Definition: PORParserHelper.cpp:31
OPENTREP::PorParserHelper::storeGTopo30::storeGTopo30
storeGTopo30(Location &)
Definition: PORParserHelper.cpp:598
OPENTREP::PorParserHelper::storeDSTOffset::storeDSTOffset
storeDSTOffset(Location &)
Definition: PORParserHelper.cpp:640
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:953
OPENTREP::PorParserHelper::storeElevation
Definition: PORParserHelper.hpp:388
OPENTREP::PorParserHelper::storeRawOffset::storeRawOffset
storeRawOffset(Location &)
Definition: PORParserHelper.cpp:653
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:337
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:433
OPENTREP::PorParserHelper::storeAdm1Code::storeAdm1Code
storeAdm1Code(Location &)
Definition: PORParserHelper.cpp:444
OPENTREP::PorParserHelper::storeElevation::storeElevation
storeElevation(Location &)
Definition: PORParserHelper.cpp:585
OPENTREP::PorParserHelper::storeStateCode
Definition: PORParserHelper.hpp:518
OPENTREP::PorParserHelper::storeStateCode::storeStateCode
storeStateCode(Location &)
Definition: PORParserHelper.cpp:778
OPENTREP::PorParserHelper::storeAsciiName::operator()
void operator()(std::vector< uchar_t >, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:172
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:262
OPENTREP::PorParserHelper::storeCommonName
Definition: PORParserHelper.hpp:108
OPENTREP::PORFileParser::generateLocations
void generateLocations()
Definition: PORParserHelper.cpp:1815
OPENTREP::PorParserHelper::uchar_t
boost::uint32_t uchar_t
Definition: PORParserHelper.hpp:22
OPENTREP::PorParserHelper::storeFeatureCode::storeFeatureCode
storeFeatureCode(Location &)
Definition: PORParserHelper.cpp:301
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:529
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:970
OPENTREP::PorParserHelper::ParserSemanticAction
Definition: PORParserHelper.hpp:30
OPENTREP::PorParserHelper::storeDSTOffset
Definition: PORParserHelper.hpp:428
OPENTREP::PorParserHelper::storeCountryCode::storeCountryCode
storeCountryCode(Location &)
Definition: PORParserHelper.cpp:380
OPENTREP::PORFileParser::PORFileParser
PORFileParser(const PORFilePath_T &iFilename)
Definition: PORParserHelper.cpp:1805
OPENTREP::PorParserHelper::storeCommonName::operator()
void operator()(std::vector< uchar_t >, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:156
OPENTREP::PorParserHelper::storeAdm3Code::operator()
void operator()(std::vector< uchar_t >, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:545
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:232
OPENTREP::PorParserHelper::storeCountryName
Definition: PORParserHelper.hpp:278
OPENTREP::PorParserHelper::storeAdm4Code
Definition: PORParserHelper.hpp:368
OPENTREP::PorParserHelper::storeAdm4Code::storeAdm4Code
storeAdm4Code(Location &)
Definition: PORParserHelper.cpp:556
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:783
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:727
OPENTREP::PorParserHelper::storeGMTOffset::operator()
void operator()(float, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:632
OPENTREP::PorParserHelper::storeAdm1Code::operator()
void operator()(std::vector< uchar_t >, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:449
OPENTREP::PorParserHelper::storeCurrencyCode
Definition: PORParserHelper.hpp:548
OPENTREP::PorParserHelper::storeAdm2AsciiName::storeAdm2AsciiName
storeAdm2AsciiName(Location &)
Definition: PORParserHelper.cpp:524
OPENTREP::PorParserHelper::storeTvlPORCode
Definition: PORParserHelper.hpp:158
OPENTREP::PorParserHelper::storeCityCountryCode
Definition: PORParserHelper.hpp:498
OPENTREP::PorParserHelper::storeTimeZone::operator()
void operator()(std::vector< uchar_t >, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:616
OPENTREP::PorParserHelper::storeAdm1Code
Definition: PORParserHelper.hpp:298
OPENTREP::PorParserHelper::storeAltLangCodeHist::storeAltLangCodeHist
storeAltLangCodeHist(Location &)
Definition: PORParserHelper.cpp:948
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:561
OPENTREP::PORFilePath_T
Definition: OPENTREP_Types.hpp:37
CityDetails.hpp
OPENTREP::PORStringParser::~PORStringParser
~PORStringParser()
Definition: PORParserHelper.cpp:1727
OPENTREP::PorParserHelper::storeContinentName::storeContinentName
storeContinentName(Location &)
Definition: PORParserHelper.cpp:428
OPENTREP::PorParserHelper::storeGTopo30
Definition: PORParserHelper.hpp:398
OPENTREP::PorParserHelper::storeAdm3Code::storeAdm3Code
storeAdm3Code(Location &)
Definition: PORParserHelper.cpp:540
OPENTREP::PorParserHelper::storePopulation::operator()
void operator()(unsigned int, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:577
OPENTREP::PorParserHelper::storeTvlPORCode::storeTvlPORCode
storeTvlPORCode(Location &)
Definition: PORParserHelper.cpp:227
OPENTREP::PorParserHelper::storeCurrencyCode::operator()
void operator()(std::vector< uchar_t >, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:827
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:965
OPENTREP::Location
Structure modelling a (geographical) location.
Definition: Location.hpp:25
OPENTREP::PorParserHelper::doEndPor::doEndPor
doEndPor(Location &)
Definition: PORParserHelper.cpp:986
OPENTREP::PorParserHelper::storeAltLangCode2Char::storeAltLangCode2Char
storeAltLangCode2Char(Location &)
Definition: PORParserHelper.cpp:914
OPENTREP::PorParserHelper::storeTvlPORListString::storeTvlPORListString
storeTvlPORListString(Location &)
Definition: PORParserHelper.cpp:244
OPENTREP::PorParserHelper::storeAltLangCodeFull
Definition: PORParserHelper.hpp:599
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:151
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:352
OPENTREP::PorParserHelper::storeIcaoCode::storeIcaoCode
storeIcaoCode(Location &)
Definition: PORParserHelper.cpp:57
OPENTREP::PorParserHelper::storeCityCountryCode::storeCityCountryCode
storeCityCountryCode(Location &)
Definition: PORParserHelper.cpp:744
OPENTREP::PorParserHelper::storePORType::operator()
void operator()(std::vector< uchar_t >, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:843
OPENTREP::PorParserHelper::storeWAC::storeWAC
storeWAC(Location &)
Definition: PORParserHelper.cpp:794
OPENTREP::PorParserHelper::storeModDate
Definition: PORParserHelper.hpp:448
OPENTREP::PorParserHelper::storeAltLangCode2Char
Definition: PORParserHelper.hpp:611
OPENTREP::PorParserHelper::storeCountryName::storeCountryName
storeCountryName(Location &)
Definition: PORParserHelper.cpp:412
OPENTREP::PorParserHelper::storeAdm1AsciiName
Definition: PORParserHelper.hpp:318
OPENTREP::PorParserHelper::ParserSemanticAction::_location
Location & _location
Definition: PORParserHelper.hpp:34
OPENTREP::PorParserHelper::storeGeonameLongitude::operator()
void operator()(double, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:888
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:603
OPENTREP::PorParserHelper::storeCityGeonamesID::storeCityGeonamesID
storeCityGeonamesID(Location &)
Definition: PORParserHelper.cpp:696
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:113
OPENTREP::PorParserHelper::storeEnvelopeID
Definition: PORParserHelper.hpp:98
OPENTREP::PorParserHelper::storeAdm1UtfName::storeAdm1UtfName
storeAdm1UtfName(Location &)
Definition: PORParserHelper.cpp:460
OPENTREP::PorParserHelper::storeCountryName::operator()
void operator()(std::vector< uchar_t >, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:417
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:611
OPENTREP::PorParserHelper::storeFeatureClass
Definition: PORParserHelper.hpp:198
OPENTREP::PorParserHelper::storeAdm2AsciiName
Definition: PORParserHelper.hpp:348
OPENTREP::PorParserHelper::storeGeonameLatitude
Definition: PORParserHelper.hpp:579
OPENTREP::PorParserHelper::storeCityGeonamesID::operator()
void operator()(unsigned int, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:701
OPENTREP::PorParserHelper::storeFaaCode
Definition: PORParserHelper.hpp:58
OPENTREP::PorParserHelper::storePageRank::storePageRank
storePageRank(Location &)
Definition: PORParserHelper.cpp:318
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:189
OPENTREP::PorParserHelper::storeAdm2UtfName::operator()
void operator()(std::vector< uchar_t >, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:513
OPENTREP::PorParserHelper::storeAltLangCodeExt::storeAltLangCodeExt
storeAltLangCodeExt(Location &)
Definition: PORParserHelper.cpp:931
OPENTREP::PorParserHelper::storeWACName::storeWACName
storeWACName(Location &)
Definition: PORParserHelper.cpp:807
Location.hpp
OPENTREP::PorParserHelper::storeGeonameLongitude
Definition: PORParserHelper.hpp:589
OPENTREP::PorParserHelper::storeUICCode
Definition: PORParserHelper.hpp:78
OPENTREP::PorParserHelper::storeLatitude::storeLatitude
storeLatitude(Location &)
Definition: PORParserHelper.cpp:257
OPENTREP::PorParserHelper::storeAsciiName
Definition: PORParserHelper.hpp:118
OPENTREP::PorParserHelper::storeCityStateCode::operator()
void operator()(std::vector< uchar_t >, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:766
OPENTREP::PorParserHelper::storeWACName
Definition: PORParserHelper.hpp:538
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:465
OPENTREP::PorParserHelper::storeDateEnd::storeDateEnd
storeDateEnd(Location &)
Definition: PORParserHelper.cpp:347
OPENTREP::PorParserHelper::storeComments::operator()
void operator()(std::vector< uchar_t >, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:367
OPENTREP::PorParserHelper::storeAltNameShortListString::storeAltNameShortListString
storeAltNameShortListString(Location &)
Definition: PORParserHelper.cpp:214
OPENTREP::PorParserHelper::storeWAC
Definition: PORParserHelper.hpp:528
OPENTREP::PorParserHelper::storeCityUtfName::storeCityUtfName
storeCityUtfName(Location &)
Definition: PORParserHelper.cpp:710
OPENTREP::PorParserHelper::storePopulation::storePopulation
storePopulation(Location &)
Definition: PORParserHelper.cpp:572
OPENTREP::PorParserHelper::storePORType
Definition: PORParserHelper.hpp:558
OPENTREP::PorParserHelper::storeContinentName
Definition: PORParserHelper.hpp:288
OPENTREP::PorParserHelper::storeGMTOffset::storeGMTOffset
storeGMTOffset(Location &)
Definition: PORParserHelper.cpp:627
OPENTREP::PorParserHelper::storeAltLangCodeExt
Definition: PORParserHelper.hpp:623
OPENTREP::PorParserHelper::storeIcaoCode
Definition: PORParserHelper.hpp:48
OPENTREP::PORStringParser::generateLocation
const Location & generateLocation()
Definition: PORParserHelper.cpp:1731
OPENTREP::PorParserHelper::storePageRank::operator()
void operator()(double, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:323
OPENTREP::PorParserHelper::storePORType::storePORType
storePORType(Location &)
Definition: PORParserHelper.cpp:838
OPENTREP::PorParserHelper::storeLongitude::storeLongitude
storeLongitude(Location &)
Definition: PORParserHelper.cpp:270
OPENTREP::PorParserHelper::storeFeatureClass::storeFeatureClass
storeFeatureClass(Location &)
Definition: PORParserHelper.cpp:284
OPENTREP::PorParserHelper::storeCityCode::storeCityCode
storeCityCode(Location &)
Definition: PORParserHelper.cpp:680
OPENTREP::PorParserHelper::storeAltLangCodeHist
Definition: PORParserHelper.hpp:633
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:362
OPENTREP::PorParserHelper::storeCityCountryCode::operator()
void operator()(std::vector< uchar_t >, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:749
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:715
OPENTREP::PorParserHelper::storeModDate::storeModDate
storeModDate(Location &)
Definition: PORParserHelper.cpp:666
OPENTREP::PorParserHelper::storeCityDetailList::storeCityDetailList
storeCityDetailList(Location &)
Definition: PORParserHelper.cpp:183
OPENTREP::PorParserHelper::storeLatitude
Definition: PORParserHelper.hpp:178
OPENTREP::PorParserHelper::storeCityStateCode::storeCityStateCode
storeCityStateCode(Location &)
Definition: PORParserHelper.cpp:761
OPENTREP::PorParserHelper::storeAltNameShort::storeAltNameShort
storeAltNameShort(Location &)
Definition: PORParserHelper.cpp:196
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:671
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:385
OPENTREP::PorParserHelper::storeCityCode::operator()
void operator()(std::vector< uchar_t >, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:685
OPENTREP::PorParserHelper::storeAdm2UtfName
Definition: PORParserHelper.hpp:338
OPENTREP::PORStringParser
Definition: PORParserHelper.hpp:677
OPENTREP::PorParserHelper::storeGeonamesID::operator()
void operator()(unsigned int, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:128
OPENTREP::PorParserHelper::storeEnvelopeID::operator()
void operator()(unsigned int, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:142
OPENTREP::PorParserHelper::storeAdm2UtfName::storeAdm2UtfName
storeAdm2UtfName(Location &)
Definition: PORParserHelper.cpp:508
OPENTREP::PorParserHelper::storeWAC::operator()
void operator()(unsigned int, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:799
OPENTREP::PorParserHelper::storeAdm1AsciiName::operator()
void operator()(std::vector< uchar_t >, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:481
OPENTREP::PorParserHelper::storeGeonameLatitude::operator()
void operator()(double, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:874
OPENTREP::PorParserHelper::storeLongitude
Definition: PORParserHelper.hpp:188
OPENTREP::PorParserHelper::storeGeonameLongitude::storeGeonameLongitude
storeGeonameLongitude(Location &)
Definition: PORParserHelper.cpp:883
OPENTREP::PorParserHelper::storeElevation::operator()
void operator()(int, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:590
OPENTREP::PorParserHelper::storeAltLangCodeFull::storeAltLangCodeFull
storeAltLangCodeFull(Location &)
Definition: PORParserHelper.cpp:898
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:903
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:476
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:497
OPENTREP::PorParserHelper::storeRawOffset::operator()
void operator()(float, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:658
OPENTREP::PorParserHelper::storeUICCode::storeUICCode
storeUICCode(Location &)
Definition: PORParserHelper.cpp:108
OPENTREP::PorParserHelper::storeWACName::operator()
void operator()(std::vector< uchar_t >, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:812
OPENTREP::PorParserHelper::storeDSTOffset::operator()
void operator()(float, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:645
OPENTREP::PorParserHelper::storeAltCountryCode::operator()
void operator()(std::vector< uchar_t >, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:401
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:991
OPENTREP::PorParserHelper::storeGeonameLatitude::storeGeonameLatitude
storeGeonameLatitude(Location &)
Definition: PORParserHelper.cpp:869
OPENTREP::PorParserHelper::storeUNLOCode
Definition: PORParserHelper.hpp:68
OPENTREP::PorParserHelper::storeAltCountryCode::storeAltCountryCode
storeAltCountryCode(Location &)
Definition: PORParserHelper.cpp:396
OPENTREP::PorParserHelper::storeTimeZone
Definition: PORParserHelper.hpp:408
OPENTREP::PorParserHelper::storeAsciiName::storeAsciiName
storeAsciiName(Location &)
Definition: PORParserHelper.cpp:167
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:936
OPENTREP::PorParserHelper::storeFeatureCode
Definition: PORParserHelper.hpp:208
OPENTREP::PorParserHelper::storeAltNameShortListString
Definition: PORParserHelper.hpp:148
OPENTREP_Types.hpp
OPENTREP::PORFileParser
Definition: PORParserHelper.hpp:726
OPENTREP::PorParserHelper::storeAdm2Code::storeAdm2Code
storeAdm2Code(Location &)
Definition: PORParserHelper.cpp:492
OPENTREP::PorParserHelper::doEndPor
Definition: PORParserHelper.hpp:653
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:919
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:220
OPENTREP::PorParserHelper::storeFeatureCode::operator()
void operator()(std::vector< uchar_t >, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:306
OPENTREP::PORStringParser::PORStringParser
PORStringParser(const std::string &iString)
Definition: PORParserHelper.cpp:1715
OPENTREP::PorParserHelper::storeCurrencyCode::storeCurrencyCode
storeCurrencyCode(Location &)
Definition: PORParserHelper.cpp:822
OPENTREP::PorParserHelper::storeFeatureClass::operator()
void operator()(std::vector< uchar_t >, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:289
OPENTREP::PorParserHelper::storeAltNameShort::operator()
void operator()(std::vector< uchar_t >, boost::spirit::qi::unused_type, boost::spirit::qi::unused_type) const
Definition: PORParserHelper.cpp:201
OPENTREP::PorParserHelper::storeCityStateCode
Definition: PORParserHelper.hpp:508