OpenTREP Logo  0.07.4
C++ Open Travel Request Parsing Library
Place.hpp
Go to the documentation of this file.
1 #ifndef __OPENTREP_BOM_PLACE_HPP
2 #define __OPENTREP_BOM_PLACE_HPP
3 
4 // //////////////////////////////////////////////////////////////////////
5 // Import section
6 // //////////////////////////////////////////////////////////////////////
7 // STL
8 #include <iosfwd>
9 #include <string>
10 #include <set>
11 // OpenTrep
13 #include <opentrep/NameMatrix.hpp>
14 #include <opentrep/Location.hpp>
15 #include <opentrep/CityDetails.hpp>
18 
19 namespace OPENTREP {
20 
21  // Forward declarations
22  class World;
23  class PlaceHolder;
24  class OTransliterator;
25 
29  class Place : public BomAbstract {
30  friend class FacWorld;
31  friend class FacPlace;
32  friend class FacPlaceHolder;
33  friend class DbaPlace;
34  public:
35  // /////////// Type definitions //////////
40  typedef std::set<std::string> StringSet_T;
41  typedef std::map<const Weight_T, StringSet_T> TermSetMap_T;
42  typedef std::list<std::string> CityNameList_T;
43 
44  public:
45  // //////////////// Getters ///////////////
52  const Location& getLocation() const {
53  return _location;
54  }
55 
59  const LocationKey& getKey() const {
60  return _location.getKey();
61  }
62 
66  const IATACode_T& getIataCode() const {
67  return _location.getIataCode();
68  }
69 
73  const IATAType& getIataType() const {
74  return _location.getIataType();
75  }
76 
80  const GeonamesID_T& getGeonamesID() const {
81  return _location.getGeonamesID();
82  }
83 
87  const IsGeonames_T& isGeonames() const {
88  return _location.isGeonames();
89  }
90 
94  const ICAOCode_T& getIcaoCode() const {
95  return _location.getIcaoCode();
96  }
97 
101  const FAACode_T& getFaaCode() const {
102  return _location.getFaaCode();
103  }
104 
109  return _location.getUNLOCodeList();
110  }
111 
115  const UICCodeList_T& getUICCodeList() const {
116  return _location.getUICCodeList();
117  }
118 
123  const CommonName_T& getCommonName() const {
124  return _location.getCommonName();
125  }
126 
130  const ASCIIName_T& getAsciiName() const {
131  return _location.getAsciiName();
132  }
133 
138  return _location.getAltNameShortListString();
139  }
140 
144  const EnvelopeID_T& getEnvelopeID() const {
145  return _location.getEnvelopeID();
146  }
147 
151  const Date_T& getDateFrom() const {
152  return _location.getDateFrom();
153  }
154 
158  const Date_T& getDateEnd() const {
159  return _location.getDateEnd();
160  }
161 
165  const Comment_T& getComment() const {
166  return _location.getComment();
167  }
168 
173  return _location.getCityList();
174  }
175 
179  const StateCode_T& getStateCode() const {
180  return _location.getStateCode();
181  }
182 
186  const CountryCode_T& getCountryCode() const {
187  return _location.getCountryCode();
188  }
189 
194  return _location.getAltCountryCode();
195  }
196 
200  const CountryName_T& getCountryName() const {
201  return _location.getCountryName();
202  }
203 
207  const WAC_T& getWAC() const {
208  return _location.getWAC();
209  }
210 
214  const WACName_T& getWACName() const {
215  return _location.getWACName();
216  }
217 
222  return _location.getCurrencyCode();
223  }
224 
229  return _location.getContinentCode();
230  }
231 
236  return _location.getContinentName();
237  }
238 
242  const TimeZone_T& getTimeZone() const {
243  return _location.getTimeZone();
244  }
245 
249  const GMTOffset_T& getGMTOffset() const {
250  return _location.getGMTOffset();
251  }
252 
256  const DSTOffset_T& getDSTOffset() const {
257  return _location.getDSTOffset();
258  }
259 
263  const RawOffset_T& getRawOffset() const {
264  return _location.getRawOffset();
265  }
266 
270  const Latitude_T& getLatitude() const {
271  return _location.getLatitude();
272  }
273 
277  const Longitude_T& getLongitude() const {
278  return _location.getLongitude();
279  }
280 
285  return _location.getFeatureClass();
286  }
287 
291  const FeatureCode_T& getFeatureCode() const {
292  return _location.getFeatureCode();
293  }
294 
298  const Admin1Code_T& getAdmin1Code() const {
299  return _location.getAdmin1Code();
300  }
301 
306  return _location.getAdmin1UtfName();
307  }
308 
313  return _location.getAdmin1AsciiName();
314  }
315 
319  const Admin2Code_T& getAdmin2Code() const {
320  return _location.getAdmin2Code();
321  }
322 
327  return _location.getAdmin2UtfName();
328  }
329 
334  return _location.getAdmin2AsciiName();
335  }
336 
340  const Admin3Code_T& getAdmin3Code() const {
341  return _location.getAdmin3Code();
342  }
343 
347  const Admin4Code_T& getAdmin4Code() const {
348  return _location.getAdmin4Code();
349  }
350 
354  const Population_T& getPopulation() const {
355  return _location.getPopulation();
356  }
357 
361  const Elevation_T& getElevation() const {
362  return _location.getElevation();
363  }
364 
368  const GTopo30_T& getGTopo30() const {
369  return _location.getGTopo30();
370  }
371 
375  const PageRank_T& getPageRank() const {
376  return _location.getPageRank();
377  }
378 
382  const Date_T& getModificationDate() const {
383  return _location.getModificationDate();
384  }
385 
389  const WikiLink_T& getWikiLink() const {
390  return _location.getWikiLink();
391  }
392 
396  const NameMatrix& getNameMatrix() const {
397  return _location.getNameMatrix();
398  }
399 
409  bool getNameList (const LanguageCode_T& iLanguageCode,
410  NameList_T& ioNameList) const {
411  return _location.getNameList (iLanguageCode, ioNameList);
412  }
413 
417  const std::string& getOriginalKeywords() const {
418  return _location.getOriginalKeywords();
419  }
420 
424  const std::string& getCorrectedKeywords() const {
425  return _location.getCorrectedKeywords();
426  }
427 
432  return _location.getPercentage();
433  }
434 
438  const NbOfErrors_T& getEditDistance() const {
439  return _location.getEditDistance();
440  }
441 
447  return _location.getAllowableEditDistance();
448  }
449 
454  return _location.getRawDataString();
455  }
456 
460  const XapianDocID_T& getDocID() const {
461  return _docID;
462  }
463 
468  return _extraPlaceList;
469  }
470 
475  return _alternatePlaceList;
476  }
477 
481  const TermSetMap_T& getTermSetMap() const {
482  return _termSetMap;
483  }
484 
490  StringSet_T getTermSet (const Weight_T&) const;
491 
495  const StringSet_T& getSpellingSet() const {
496  return _spellingSet;
497  }
498 
502  const StringSet_T& getStemmingSet() const {
503  return _stemmingSet;
504  }
505 
509  const StringSet_T& getSynonymSet() const {
510  return _synonymSet;
511  }
512 
513 
514  public:
515  // ////////////////// Setters /////////////////
519  void setLocation (const Location& iLocation) {
520  _location = iLocation;
521  }
522 
526  void setKey (const LocationKey& iKey) {
527  _location.setKey (iKey);
528  }
529 
533  void setIataCode (const std::string& iIataCode) {
534  _location.setIataCode (iIataCode);
535  }
536 
540  void setIataType (const std::string& iIATAType) {
541  _location.setIataType (iIATAType);
542  }
543 
547  void setGeonamesID (const GeonamesID_T& iGeonamesID) {
548  _location.setGeonamesID (iGeonamesID);
549  }
550 
554  void setIcaoCode (const std::string& iIcaoCode) {
555  _location.setIcaoCode (iIcaoCode);
556  }
557 
561  void setFaaCode (const std::string& iFaaCode) {
562  _location.setFaaCode (iFaaCode);
563  }
564 
568  void addUNLOCode (const std::string& iUNLOCode) {
569  _location.addUNLOCode (iUNLOCode);
570  }
571 
575  void addUICCode (const UICCode_T& iUICCode) {
576  _location.addUICCode (iUICCode);
577  }
578 
583  void setCommonName (const std::string& iName) {
584  _location.setCommonName (iName);
585  }
586 
590  void setAsciiName (const std::string& iName) {
591  _location.setAsciiName (iName);
592  }
593 
597  void setAltNameShortListString (const std::string& iNameListString) {
598  _location.setAltNameShortListString (iNameListString);
599  }
600 
604  void setEnvelopeID (const EnvelopeID_T& iEnvelopeID) {
605  _location.setEnvelopeID (iEnvelopeID);
606  }
607 
611  void setDateFrom (const Date_T& iDate) {
612  _location.setDateFrom (iDate);
613  }
614 
618  void setDateEnd (const Date_T& iDate) {
619  _location.setDateEnd (iDate);
620  }
621 
625  void setComment (const std::string& iComment) {
626  _location.setComment (iComment);
627  }
628 
632  void setCityList (const CityDetailsList_T& iCityList) {
633  _location.setCityList (iCityList);
634  }
635 
639  void setStateCode (const std::string& iStateCode) {
640  _location.setStateCode (iStateCode);
641  }
642 
646  void setCountryCode (const std::string& iCountryCode) {
647  _location.setCountryCode (iCountryCode);
648  }
649 
653  void setAltCountryCode (const std::string& iCountryCode) {
654  _location.setAltCountryCode (iCountryCode);
655  }
656 
660  void setCountryName (const std::string& iCountryName) {
661  _location.setCountryName (iCountryName);
662  }
663 
667  void setWAC (const WAC_T& iWAC) {
668  _location.setWAC (iWAC);
669  }
670 
674  void setWACName (const std::string& iWACName) {
675  _location.setWACName (iWACName);
676  }
677 
681  void setContinentCode (const std::string& iContinentCode) {
682  _location.setContinentCode (iContinentCode);
683  }
684 
688  void setContinentName (const std::string& iContinentName) {
689  _location.setContinentName (iContinentName);
690  }
691 
695  void setTimeZone (const std::string& iTimeZone) {
696  _location.setTimeZone (iTimeZone);
697  }
698 
702  void setGMTOffset (const GMTOffset_T& iOffset) {
703  _location.setGMTOffset (iOffset);
704  }
705 
709  void setDSTOffset (const DSTOffset_T& iOffset) {
710  _location.setDSTOffset (iOffset);
711  }
712 
716  void setRawOffset (const RawOffset_T& iOffset) {
717  _location.setRawOffset (iOffset);
718  }
719 
723  void setLatitude (const Latitude_T& iLatitude) {
724  _location.setLatitude (iLatitude);
725  }
726 
730  void setLongitude (const Longitude_T& iLongitude) {
731  _location.setLongitude (iLongitude);
732  }
733 
737  void setFeatureClass (const std::string& iFeatClass) {
738  _location.setFeatureClass (iFeatClass);
739  }
740 
744  void setFeatureCode (const std::string& iFeatCode) {
745  _location.setFeatureCode (iFeatCode);
746  }
747 
751  void setAdmin1Code (const std::string& iAdminCode) {
752  _location.setAdmin1Code (iAdminCode);
753  }
754 
758  void setAdmin1UtfName (const std::string& iAdminName) {
759  _location.setAdmin1UtfName (iAdminName);
760  }
761 
765  void setAdmin1AsciiName (const std::string& iAdminName) {
766  _location.setAdmin1AsciiName (iAdminName);
767  }
768 
772  void setAdmin2Code (const std::string& iAdminCode) {
773  _location.setAdmin2Code (iAdminCode);
774  }
775 
779  void setAdmin2UtfName (const std::string& iAdminName) {
780  _location.setAdmin2UtfName (iAdminName);
781  }
782 
786  void setAdmin2AsciiName (const std::string& iAdminName) {
787  _location.setAdmin2AsciiName (iAdminName);
788  }
789 
793  void setAdmin3Code (const std::string& iAdminCode) {
794  _location.setAdmin3Code (iAdminCode);
795  }
796 
800  void setAdmin4Code (const std::string& iAdminCode) {
801  _location.setAdmin4Code (iAdminCode);
802  }
803 
807  void setPopulation (const Population_T& iPopulation) {
808  _location.setPopulation (iPopulation);
809  }
810 
814  void setElevation (const Elevation_T& iElevation) {
815  _location.setElevation (iElevation);
816  }
817 
821  void setGTopo30 (const GTopo30_T& iGTopo30) {
822  _location.setGTopo30 (iGTopo30);
823  }
824 
828  void setPageRank (const PageRank_T& iPageRank) {
829  _location.setPageRank (iPageRank);
830  }
831 
835  void setModificationDate (const Date_T& iModDate) {
836  _location.setModificationDate (iModDate);
837  }
838 
842  void setWikiLink (const std::string& iWikiLink) {
843  _location.setWikiLink (iWikiLink);
844  }
845 
849  void setOriginalKeywords (const std::string& iOriginalKeywords) {
850  _location.setOriginalKeywords (iOriginalKeywords);
851  }
852 
856  void setCorrectedKeywords (const std::string& iCorrectedKeywords) {
857  _location.setCorrectedKeywords (iCorrectedKeywords);
858  }
859 
863  void setPercentage (const MatchingPercentage_T& iPercentage) {
864  _location.setPercentage (iPercentage);
865  }
866 
870  void setEditDistance (const NbOfErrors_T& iEditDistance) {
871  _location.setEditDistance (iEditDistance);
872  }
873 
878  void setAllowableEditDistance (const NbOfErrors_T& iAllowableEditDistance) {
879  _location.setAllowableEditDistance (iAllowableEditDistance);
880  }
881 
885  void setRawDataString (const std::string& iRawDataString) {
886  _location.setRawDataString (iRawDataString);
887  }
888 
892  void setDocID (const XapianDocID_T& iDocID) {
893  _docID = iDocID;
894  }
895 
907  bool addTermSet (const Weight_T&, const StringSet_T&);
908 
909 
910  public:
911  // ////////// Setters in underlying names ////////
918  void addName (const LanguageCode_T& iLanguageCode,
919  const std::string& iName) {
920  _location.addName (iLanguageCode, iName);
921  }
922 
926  void resetMatrix() {
927  _location.resetMatrix();
928  }
929 
933  void resetIndexSets();
934 
935 
936  public:
937  // /////////// Business methods /////////
946  const Location& completeLocation();
947 
974  void addNameToXapianSets (const Weight_T&,
975  const LocationName_T&, const FeatureCode_T&,
976  const CityNameList_T& iCityUtfNameList,
977  const CityNameList_T& iCityAsciiNameList,
978  const Admin1UTFName_T&, const Admin1ASCIIName_T&,
979  const Admin2UTFName_T&, const Admin2ASCIIName_T&,
980  const StateCode_T&,
981  const CountryCode_T&, const CountryName_T&,
982  const ContinentName_T&, const OTransliterator&);
983 
990  void buildIndexSets (const OTransliterator&);
991 
1002  void addNameToXapianSets (const Weight_T&, const std::string& iBaseName,
1003  const FeatureCode_T&);
1004 
1005 
1006  public:
1007  // ///////// Display methods ////////
1013  void toStream (std::ostream&) const;
1014 
1020  void fromStream (std::istream&);
1021 
1025  std::string describeKey() const {
1026  return _location.describeKey();
1027  }
1028 
1032  std::string describeShortKey() const {
1033  return _location.describeShortKey();
1034  }
1035 
1039  std::string toString() const;
1040 
1044  std::string toShortString() const;
1045 
1049  std::string describeSets() const;
1050 
1054  std::string display() const;
1055 
1059  std::string shortDisplay() const;
1060 
1061 
1062  private:
1066  Place (const LocationKey&);
1067 
1071  Place (const Location&);
1072 
1076  Place();
1077 
1081  Place (const Place&);
1082 
1086  virtual ~Place();
1087 
1088 
1089  private:
1090  // ////////////////////// Parent objects ////////////////////
1094  World* _world;
1095 
1100  PlaceHolder* _placeHolder;
1101 
1106  Place* _mainPlace;
1107 
1108 
1109  private:
1110  // ///////////////// Attributes ///////////////////////
1116  Location _location;
1117 
1118 
1119  private:
1120  // ///////////// Full-text matching process support attributes //////////
1127  XapianDocID_T _docID;
1128 
1132  PlaceOrderedList_T _extraPlaceList;
1133 
1137  PlaceOrderedList_T _alternatePlaceList;
1138 
1144  TermSetMap_T _termSetMap;
1145 
1150  StringSet_T _spellingSet;
1151 
1156  StringSet_T _stemmingSet;
1157 
1162  StringSet_T _synonymSet;
1163  };
1164 
1165 }
1166 #endif // __OPENTREP_BOM_PLACE_HPP
OPENTREP::Elevation_T
int Elevation_T
Definition: OPENTREP_Types.hpp:593
OPENTREP::Location::getAdmin2AsciiName
const Admin2ASCIIName_T & getAdmin2AsciiName() const
Definition: Location.hpp:312
OPENTREP::Location::setDateFrom
void setDateFrom(const Date_T &iDate)
Definition: Location.hpp:548
OPENTREP::Place::setContinentName
void setContinentName(const std::string &iContinentName)
Definition: Place.hpp:688
OPENTREP::Place::getAllowableEditDistance
const NbOfErrors_T & getAllowableEditDistance() const
Definition: Place.hpp:446
OPENTREP::Location::getUNLOCodeList
const UNLOCodeList_T & getUNLOCodeList() const
Definition: Location.hpp:80
OPENTREP::Location::getWACName
const WACName_T & getWACName() const
Definition: Location.hpp:193
OPENTREP::Place::setEnvelopeID
void setEnvelopeID(const EnvelopeID_T &iEnvelopeID)
Definition: Place.hpp:604
OPENTREP::WAC_T
unsigned int WAC_T
Definition: OPENTREP_Types.hpp:403
OPENTREP::Place::getTermSet
StringSet_T getTermSet(const Weight_T &) const
Definition: Place.cpp:228
OPENTREP::Location::setCommonName
void setCommonName(const std::string &iName)
Definition: Location.hpp:513
OPENTREP::Place::getGeonamesID
const GeonamesID_T & getGeonamesID() const
Definition: Place.hpp:80
OPENTREP::Latitude_T
GeoCoord_T Latitude_T
Definition: OPENTREP_Types.hpp:563
OPENTREP::Place::getAltNameShortListString
const AltNameShortListString_T & getAltNameShortListString() const
Definition: Place.hpp:137
OPENTREP::Place::getDateFrom
const Date_T & getDateFrom() const
Definition: Place.hpp:151
OPENTREP::Place::setIataCode
void setIataCode(const std::string &iIataCode)
Definition: Place.hpp:533
OPENTREP::Location::getComment
const Comment_T & getComment() const
Definition: Location.hpp:144
OPENTREP::Place::setWikiLink
void setWikiLink(const std::string &iWikiLink)
Definition: Place.hpp:842
OPENTREP::Location::setCountryCode
void setCountryCode(const std::string &iCountryCode)
Definition: Location.hpp:576
OPENTREP::Weight_T
unsigned short Weight_T
Definition: OPENTREP_Types.hpp:655
OPENTREP::Location::getElevation
const Elevation_T & getElevation() const
Definition: Location.hpp:340
OPENTREP::Location::getCountryName
const CountryName_T & getCountryName() const
Definition: Location.hpp:179
OPENTREP::Place::getAdmin1UtfName
const Admin1UTFName_T & getAdmin1UtfName() const
Definition: Place.hpp:305
OPENTREP::Place::setAdmin1Code
void setAdmin1Code(const std::string &iAdminCode)
Definition: Place.hpp:751
OPENTREP::Place::setWACName
void setWACName(const std::string &iWACName)
Definition: Place.hpp:674
OPENTREP::Place::setOriginalKeywords
void setOriginalKeywords(const std::string &iOriginalKeywords)
Definition: Place.hpp:849
OPENTREP::Place::getOriginalKeywords
const std::string & getOriginalKeywords() const
Definition: Place.hpp:417
OPENTREP::Place::getElevation
const Elevation_T & getElevation() const
Definition: Place.hpp:361
OPENTREP::Location::getModificationDate
const Date_T & getModificationDate() const
Definition: Location.hpp:361
OPENTREP::Location::setGeonamesID
void setGeonamesID(const GeonamesID_T &iGeonamesID)
Definition: Location.hpp:477
OPENTREP::Place::getCountryName
const CountryName_T & getCountryName() const
Definition: Place.hpp:200
OPENTREP::Place::setGeonamesID
void setGeonamesID(const GeonamesID_T &iGeonamesID)
Definition: Place.hpp:547
OPENTREP::Place::setAdmin2UtfName
void setAdmin2UtfName(const std::string &iAdminName)
Definition: Place.hpp:779
OPENTREP::Place::getPopulation
const Population_T & getPopulation() const
Definition: Place.hpp:354
OPENTREP::Place::setLatitude
void setLatitude(const Latitude_T &iLatitude)
Definition: Place.hpp:723
OPENTREP::Location::getFeatureClass
const FeatureClass_T & getFeatureClass() const
Definition: Location.hpp:263
OPENTREP::Place::setCountryCode
void setCountryCode(const std::string &iCountryCode)
Definition: Place.hpp:646
OPENTREP::MatchingPercentage_T
double MatchingPercentage_T
Definition: OPENTREP_Types.hpp:665
OPENTREP::Location::getCurrencyCode
const CurrencyCode_T & getCurrencyCode() const
Definition: Location.hpp:200
OPENTREP::Place::getTimeZone
const TimeZone_T & getTimeZone() const
Definition: Place.hpp:242
OPENTREP::Location::setFaaCode
void setFaaCode(const std::string &iFaaCode)
Definition: Location.hpp:491
OPENTREP::Place::describeKey
std::string describeKey() const
Definition: Place.hpp:1025
OPENTREP::Place::setPopulation
void setPopulation(const Population_T &iPopulation)
Definition: Place.hpp:807
OPENTREP::Place::resetMatrix
void resetMatrix()
Definition: Place.hpp:926
OPENTREP::Place::CityNameList_T
std::list< std::string > CityNameList_T
Definition: Place.hpp:42
OPENTREP::Location::setDateEnd
void setDateEnd(const Date_T &iDate)
Definition: Location.hpp:555
OPENTREP::Place::setAdmin2Code
void setAdmin2Code(const std::string &iAdminCode)
Definition: Place.hpp:772
OPENTREP::Admin1ASCIIName_T
Definition: OPENTREP_Types.hpp:469
OPENTREP::Location::setDSTOffset
void setDSTOffset(const DSTOffset_T &iOffset)
Definition: Location.hpp:653
OPENTREP::Location::describeShortKey
std::string describeShortKey() const
Definition: Location.cpp:198
OPENTREP::Place::shortDisplay
std::string shortDisplay() const
Definition: Place.cpp:202
OPENTREP::Place::toStream
void toStream(std::ostream &) const
Definition: Place.cpp:148
OPENTREP::Place::getGMTOffset
const GMTOffset_T & getGMTOffset() const
Definition: Place.hpp:249
OPENTREP::Location::getAdmin4Code
const Admin4Code_T & getAdmin4Code() const
Definition: Location.hpp:326
OPENTREP::Location::setFeatureCode
void setFeatureCode(const std::string &iFeatCode)
Definition: Location.hpp:688
OPENTREP::Place::getLongitude
const Longitude_T & getLongitude() const
Definition: Place.hpp:277
OPENTREP::Location::setKey
void setKey(const LocationKey &iKey)
Definition: Location.hpp:456
OPENTREP::Place::setRawDataString
void setRawDataString(const std::string &iRawDataString)
Definition: Place.hpp:885
OPENTREP::Place::setAsciiName
void setAsciiName(const std::string &iName)
Definition: Place.hpp:590
OPENTREP::Place::getEditDistance
const NbOfErrors_T & getEditDistance() const
Definition: Place.hpp:438
OPENTREP::Place::setLongitude
void setLongitude(const Longitude_T &iLongitude)
Definition: Place.hpp:730
OPENTREP::Place::getAdmin2UtfName
const Admin2UTFName_T & getAdmin2UtfName() const
Definition: Place.hpp:326
OPENTREP::Location::getAllowableEditDistance
const NbOfErrors_T & getAllowableEditDistance() const
Definition: Location.hpp:425
OPENTREP::Place::getWikiLink
const WikiLink_T & getWikiLink() const
Definition: Place.hpp:389
OPENTREP::Place::setDSTOffset
void setDSTOffset(const DSTOffset_T &iOffset)
Definition: Place.hpp:709
OPENTREP::Location::setAdmin2UtfName
void setAdmin2UtfName(const std::string &iAdminName)
Definition: Location.hpp:723
OPENTREP::EnvelopeID_T
unsigned int EnvelopeID_T
Definition: OPENTREP_Types.hpp:191
OPENTREP::Place::getLocation
const Location & getLocation() const
Definition: Place.hpp:52
OPENTREP::GMTOffset_T
float GMTOffset_T
Definition: OPENTREP_Types.hpp:613
OPENTREP::Location::setRawOffset
void setRawOffset(const RawOffset_T &iOffset)
Definition: Location.hpp:660
OPENTREP::Location::getPopulation
const Population_T & getPopulation() const
Definition: Location.hpp:333
OPENTREP::Place::setStateCode
void setStateCode(const std::string &iStateCode)
Definition: Place.hpp:639
OPENTREP::Location::resetMatrix
void resetMatrix()
Definition: Location.hpp:804
OPENTREP::CountryCode_T
Definition: OPENTREP_Types.hpp:368
OPENTREP::Location::setAltNameShortListString
void setAltNameShortListString(const std::string &iNameListString)
Definition: Location.hpp:527
OPENTREP::Place::setAdmin1AsciiName
void setAdmin1AsciiName(const std::string &iAdminName)
Definition: Place.hpp:765
OPENTREP::Place::getLatitude
const Latitude_T & getLatitude() const
Definition: Place.hpp:270
OPENTREP::Place::setAdmin2AsciiName
void setAdmin2AsciiName(const std::string &iAdminName)
Definition: Place.hpp:786
OPENTREP::Place::getEnvelopeID
const EnvelopeID_T & getEnvelopeID() const
Definition: Place.hpp:144
OPENTREP::Place::getModificationDate
const Date_T & getModificationDate() const
Definition: Place.hpp:382
OPENTREP::Comment_T
Definition: OPENTREP_Types.hpp:309
OPENTREP::RawOffset_T
float RawOffset_T
Definition: OPENTREP_Types.hpp:623
OPENTREP::Population_T
unsigned int Population_T
Definition: OPENTREP_Types.hpp:586
OPENTREP::Location::addUICCode
void addUICCode(const UICCode_T &iUICCode)
Definition: Location.hpp:505
OPENTREP::Admin3Code_T
Definition: OPENTREP_Types.hpp:512
OPENTREP::Location::setModificationDate
void setModificationDate(const Date_T &iModDate)
Definition: Location.hpp:779
OPENTREP::Location::setAdmin2AsciiName
void setAdmin2AsciiName(const std::string &iAdminName)
Definition: Location.hpp:730
OPENTREP::Location::setCorrectedKeywords
void setCorrectedKeywords(const std::string &iCorrectedKeywords)
Definition: Location.hpp:818
OPENTREP::Location::getAdmin2Code
const Admin2Code_T & getAdmin2Code() const
Definition: Location.hpp:298
OPENTREP::Place::addNameToXapianSets
void addNameToXapianSets(const Weight_T &, const LocationName_T &, const FeatureCode_T &, const CityNameList_T &iCityUtfNameList, const CityNameList_T &iCityAsciiNameList, const Admin1UTFName_T &, const Admin1ASCIIName_T &, const Admin2UTFName_T &, const Admin2ASCIIName_T &, const StateCode_T &, const CountryCode_T &, const CountryName_T &, const ContinentName_T &, const OTransliterator &)
Definition: Place.cpp:298
OPENTREP::Place::getPageRank
const PageRank_T & getPageRank() const
Definition: Place.hpp:375
OPENTREP::ICAOCode_T
Definition: OPENTREP_Types.hpp:170
OPENTREP::OTransliterator
Definition: OTransliterator.hpp:18
OPENTREP::Location::getIataCode
const IATACode_T & getIataCode() const
Definition: Location.hpp:38
OPENTREP::Location::setLongitude
void setLongitude(const Longitude_T &iLongitude)
Definition: Location.hpp:674
OPENTREP::UICCode_T
unsigned int UICCode_T
Definition: OPENTREP_Types.hpp:238
OPENTREP::IATACode_T
Definition: OPENTREP_Types.hpp:154
OPENTREP::Location::getIcaoCode
const ICAOCode_T & getIcaoCode() const
Definition: Location.hpp:66
OPENTREP::Place::getUICCodeList
const UICCodeList_T & getUICCodeList() const
Definition: Place.hpp:115
OPENTREP::Place::getCountryCode
const CountryCode_T & getCountryCode() const
Definition: Place.hpp:186
OPENTREP::Location::addUNLOCode
void addUNLOCode(const std::string &iUNLOCode)
Definition: Location.hpp:498
CityDetails.hpp
OPENTREP::Location::setLatitude
void setLatitude(const Latitude_T &iLatitude)
Definition: Location.hpp:667
OPENTREP::Location::getLongitude
const Longitude_T & getLongitude() const
Definition: Location.hpp:256
OPENTREP::Location::setAllowableEditDistance
void setAllowableEditDistance(const NbOfErrors_T &iAllowableEditDistance)
Definition: Location.hpp:840
OPENTREP::Place::setDateEnd
void setDateEnd(const Date_T &iDate)
Definition: Place.hpp:618
OPENTREP::Place::getContinentName
const ContinentName_T & getContinentName() const
Definition: Place.hpp:235
OPENTREP::UNLOCodeList_T
std::list< UNLOCode_T > UNLOCodeList_T
Definition: OPENTREP_Types.hpp:229
OPENTREP::Location::getCommonName
const CommonName_T & getCommonName() const
Definition: Location.hpp:95
OPENTREP::Place::setModificationDate
void setModificationDate(const Date_T &iModDate)
Definition: Place.hpp:835
OPENTREP::Place::setEditDistance
void setEditDistance(const NbOfErrors_T &iEditDistance)
Definition: Place.hpp:870
OPENTREP::Location::setAdmin1AsciiName
void setAdmin1AsciiName(const std::string &iAdminName)
Definition: Location.hpp:709
OPENTREP::Place::buildIndexSets
void buildIndexSets(const OTransliterator &)
Definition: Place.cpp:465
OPENTREP::Place::getNameMatrix
const NameMatrix & getNameMatrix() const
Definition: Place.hpp:396
OPENTREP::Place::setAllowableEditDistance
void setAllowableEditDistance(const NbOfErrors_T &iAllowableEditDistance)
Definition: Place.hpp:878
OPENTREP::Admin1Code_T
Definition: OPENTREP_Types.hpp:448
OPENTREP::XapianDocID_T
unsigned int XapianDocID_T
Definition: OPENTREP_Types.hpp:650
OPENTREP::Location::setGTopo30
void setGTopo30(const GTopo30_T &iGTopo30)
Definition: Location.hpp:765
OPENTREP::RawDataString_T
Definition: OPENTREP_Types.hpp:76
OPENTREP::Location::setWACName
void setWACName(const std::string &iWACName)
Definition: Location.hpp:611
OPENTREP::Location::setFeatureClass
void setFeatureClass(const std::string &iFeatClass)
Definition: Location.hpp:681
OPENTREP::Admin2UTFName_T
Definition: OPENTREP_Types.hpp:490
OPENTREP::Admin2ASCIIName_T
Definition: OPENTREP_Types.hpp:501
OPENTREP::Admin4Code_T
Definition: OPENTREP_Types.hpp:522
OPENTREP::Location::getAsciiName
const ASCIIName_T & getAsciiName() const
Definition: Location.hpp:102
OPENTREP::AltNameShortListString_T
Definition: OPENTREP_Types.hpp:277
OPENTREP::PageRank_T
double PageRank_T
Definition: OPENTREP_Types.hpp:630
OPENTREP::Place::setIataType
void setIataType(const std::string &iIATAType)
Definition: Place.hpp:540
OPENTREP::Location
Structure modelling a (geographical) location.
Definition: Location.hpp:25
OPENTREP::Location::getLatitude
const Latitude_T & getLatitude() const
Definition: Location.hpp:249
OPENTREP::Location::setTimeZone
void setTimeZone(const std::string &iTimeZone)
Definition: Location.hpp:639
OPENTREP::Place::setTimeZone
void setTimeZone(const std::string &iTimeZone)
Definition: Place.hpp:695
OPENTREP::Place::addUICCode
void addUICCode(const UICCode_T &iUICCode)
Definition: Place.hpp:575
OPENTREP::Location::describeKey
std::string describeKey() const
Definition: Location.cpp:205
OPENTREP::Place::setCommonName
void setCommonName(const std::string &iName)
Definition: Place.hpp:583
OPENTREP::Place::getKey
const LocationKey & getKey() const
Definition: Place.hpp:59
OPENTREP::Place::isGeonames
const IsGeonames_T & isGeonames() const
Definition: Place.hpp:87
OPENTREP::FeatureClass_T
Definition: OPENTREP_Types.hpp:532
OPENTREP::Place::getPercentage
const MatchingPercentage_T & getPercentage() const
Definition: Place.hpp:431
OPENTREP::Place::getCorrectedKeywords
const std::string & getCorrectedKeywords() const
Definition: Place.hpp:424
OPENTREP::Location::setEditDistance
void setEditDistance(const NbOfErrors_T &iEditDistance)
Definition: Location.hpp:832
OPENTREP::UICCodeList_T
std::list< UICCode_T > UICCodeList_T
Definition: OPENTREP_Types.hpp:242
OPENTREP::Location::getAdmin3Code
const Admin3Code_T & getAdmin3Code() const
Definition: Location.hpp:319
OPENTREP::Location::getEditDistance
const NbOfErrors_T & getEditDistance() const
Definition: Location.hpp:417
OPENTREP::Location::getAltCountryCode
const AltCountryCode_T & getAltCountryCode() const
Definition: Location.hpp:172
OPENTREP::Location::setAltCountryCode
void setAltCountryCode(const std::string &iCountryCode)
Definition: Location.hpp:583
OPENTREP::Place::getStemmingSet
const StringSet_T & getStemmingSet() const
Definition: Place.hpp:502
OPENTREP::Location::getAdmin1UtfName
const Admin1UTFName_T & getAdmin1UtfName() const
Definition: Location.hpp:284
OPENTREP::Place::getIataType
const IATAType & getIataType() const
Definition: Place.hpp:73
OPENTREP::Place::getRawDataString
const RawDataString_T & getRawDataString() const
Definition: Place.hpp:453
OPENTREP::FacPlaceHolder
Definition: FacPlaceHolder.hpp:17
OPENTREP::Location::setRawDataString
void setRawDataString(const std::string &iRawDataString)
Definition: Location.hpp:861
OPENTREP::Place::getContinentCode
const ContinentCode_T & getContinentCode() const
Definition: Place.hpp:228
OPENTREP
Definition: BasChronometer.cpp:10
OPENTREP::Place::getIataCode
const IATACode_T & getIataCode() const
Definition: Place.hpp:66
OPENTREP::Place::getCityList
const CityDetailsList_T & getCityList() const
Definition: Place.hpp:172
OPENTREP::Location::setContinentName
void setContinentName(const std::string &iContinentName)
Definition: Location.hpp:632
NameMatrix.hpp
OPENTREP::Location::setPercentage
void setPercentage(const MatchingPercentage_T &iPercentage)
Definition: Location.hpp:825
PlaceList.hpp
OPENTREP::PlaceHolder
Definition: PlaceHolder.hpp:16
OPENTREP::Place::setPageRank
void setPageRank(const PageRank_T &iPageRank)
Definition: Place.hpp:828
OPENTREP::Location::getDSTOffset
const DSTOffset_T & getDSTOffset() const
Definition: Location.hpp:235
OPENTREP::Place::getWACName
const WACName_T & getWACName() const
Definition: Place.hpp:214
OPENTREP::Date_T
boost::gregorian::date Date_T
Definition: OPENTREP_Types.hpp:579
OPENTREP::Location::setIcaoCode
void setIcaoCode(const std::string &iIcaoCode)
Definition: Location.hpp:484
OPENTREP::Place::getAsciiName
const ASCIIName_T & getAsciiName() const
Definition: Place.hpp:130
OPENTREP::Location::setAdmin4Code
void setAdmin4Code(const std::string &iAdminCode)
Definition: Location.hpp:744
OPENTREP::Place::getAdmin3Code
const Admin3Code_T & getAdmin3Code() const
Definition: Place.hpp:340
OPENTREP::Location::getCountryCode
const CountryCode_T & getCountryCode() const
Definition: Location.hpp:165
OPENTREP::Place::setAdmin1UtfName
void setAdmin1UtfName(const std::string &iAdminName)
Definition: Place.hpp:758
OPENTREP::Place::setCountryName
void setCountryName(const std::string &iCountryName)
Definition: Place.hpp:660
OPENTREP::Location::getKey
const LocationKey & getKey() const
Definition: Location.hpp:31
OPENTREP::Longitude_T
GeoCoord_T Longitude_T
Definition: OPENTREP_Types.hpp:564
OPENTREP::FacPlace
Definition: FacPlace.hpp:20
OPENTREP::Location::setAdmin3Code
void setAdmin3Code(const std::string &iAdminCode)
Definition: Location.hpp:737
OPENTREP::Place::setFaaCode
void setFaaCode(const std::string &iFaaCode)
Definition: Place.hpp:561
OPENTREP::Place::describeSets
std::string describeSets() const
Definition: Place.cpp:157
OPENTREP::Location::setEnvelopeID
void setEnvelopeID(const EnvelopeID_T &iEnvelopeID)
Definition: Location.hpp:541
OPENTREP::Place::toString
std::string toString() const
Definition: Place.cpp:85
OPENTREP::Place::getDocID
const XapianDocID_T & getDocID() const
Definition: Place.hpp:460
OPENTREP::Location::getStateCode
const StateCode_T & getStateCode() const
Definition: Location.hpp:158
OPENTREP::Location::setPageRank
void setPageRank(const PageRank_T &iPageRank)
Definition: Location.hpp:772
OPENTREP::Location::getOriginalKeywords
const std::string & getOriginalKeywords() const
Definition: Location.hpp:396
OPENTREP::Location::getAdmin1Code
const Admin1Code_T & getAdmin1Code() const
Definition: Location.hpp:277
OPENTREP::Place::getComment
const Comment_T & getComment() const
Definition: Place.hpp:165
Location.hpp
OPENTREP::Location::setWAC
void setWAC(const WAC_T &iWAC)
Definition: Location.hpp:604
OPENTREP::NameList_T
std::list< std::string > NameList_T
Definition: Names.hpp:20
OPENTREP::Place::getUNLOCodeList
const UNLOCodeList_T & getUNLOCodeList() const
Definition: Place.hpp:108
OPENTREP::Place::getFeatureCode
const FeatureCode_T & getFeatureCode() const
Definition: Place.hpp:291
OPENTREP::Place::setDateFrom
void setDateFrom(const Date_T &iDate)
Definition: Place.hpp:611
OPENTREP::Location::addName
void addName(const LanguageCode_T &iLanguageCode, const std::string &iName)
Definition: Location.hpp:796
OPENTREP::Location::setOriginalKeywords
void setOriginalKeywords(const std::string &iOriginalKeywords)
Definition: Location.hpp:811
OPENTREP::FeatureCode_T
Definition: OPENTREP_Types.hpp:543
OPENTREP::Place::getWAC
const WAC_T & getWAC() const
Definition: Place.hpp:207
OPENTREP::Place::addUNLOCode
void addUNLOCode(const std::string &iUNLOCode)
Definition: Place.hpp:568
OPENTREP::Place::getSpellingSet
const StringSet_T & getSpellingSet() const
Definition: Place.hpp:495
OPENTREP::Location::getRawOffset
const RawOffset_T & getRawOffset() const
Definition: Location.hpp:242
OPENTREP::Place::setComment
void setComment(const std::string &iComment)
Definition: Place.hpp:625
OPENTREP::Place::setGMTOffset
void setGMTOffset(const GMTOffset_T &iOffset)
Definition: Place.hpp:702
OPENTREP::TimeZone_T
Definition: OPENTREP_Types.hpp:605
OPENTREP::LanguageCode_T
Definition: OPENTREP_Types.hpp:300
OPENTREP::Place::getCurrencyCode
const CurrencyCode_T & getCurrencyCode() const
Definition: Place.hpp:221
OPENTREP::BomAbstract
Base class for the Business Object Model (BOM) layer.
Definition: BomAbstract.hpp:17
OPENTREP::World
Definition: World.hpp:20
OPENTREP::Place::completeLocation
const Location & completeLocation()
Definition: Place.cpp:761
OPENTREP::Location::setContinentCode
void setContinentCode(const std::string &iContinentCode)
Definition: Location.hpp:625
OPENTREP::Location::getPercentage
const MatchingPercentage_T & getPercentage() const
Definition: Location.hpp:410
OPENTREP::AltCountryCode_T
Definition: OPENTREP_Types.hpp:380
OPENTREP::GTopo30_T
int GTopo30_T
Definition: OPENTREP_Types.hpp:600
OPENTREP::Location::setAdmin2Code
void setAdmin2Code(const std::string &iAdminCode)
Definition: Location.hpp:716
OPENTREP::Place::TermSetMap_T
std::map< const Weight_T, StringSet_T > TermSetMap_T
Definition: Place.hpp:41
OPENTREP::Place::getFeatureClass
const FeatureClass_T & getFeatureClass() const
Definition: Place.hpp:284
OPENTREP::Location::setElevation
void setElevation(const Elevation_T &iElevation)
Definition: Location.hpp:758
OPENTREP::Location::setComment
void setComment(const std::string &iComment)
Definition: Location.hpp:562
OPENTREP::Place::resetIndexSets
void resetIndexSets()
Definition: Place.cpp:220
OPENTREP::Location::getPageRank
const PageRank_T & getPageRank() const
Definition: Location.hpp:354
OPENTREP::Place::getIcaoCode
const ICAOCode_T & getIcaoCode() const
Definition: Place.hpp:94
OPENTREP::Location::setIataType
void setIataType(const IATAType &iIATAType)
Definition: Location.hpp:470
OPENTREP::DSTOffset_T
float DSTOffset_T
Definition: OPENTREP_Types.hpp:618
OPENTREP::Admin2Code_T
Definition: OPENTREP_Types.hpp:480
OPENTREP::Location::getFeatureCode
const FeatureCode_T & getFeatureCode() const
Definition: Location.hpp:270
OPENTREP::Location::getTimeZone
const TimeZone_T & getTimeZone() const
Definition: Location.hpp:221
OPENTREP::CityDetailsList_T
std::list< CityDetails > CityDetailsList_T
A list of cities, for instance the list of cities served by a travel-related POR (point of reference)...
Definition: CityDetailsList.hpp:13
OPENTREP::Place::setLocation
void setLocation(const Location &iLocation)
Definition: Place.hpp:519
OPENTREP::Location::isGeonames
const IsGeonames_T & isGeonames() const
Definition: Location.hpp:59
OPENTREP::Location::setAdmin1Code
void setAdmin1Code(const std::string &iAdminCode)
Definition: Location.hpp:695
OPENTREP::Place::getFaaCode
const FAACode_T & getFaaCode() const
Definition: Place.hpp:101
OPENTREP::Location::getGTopo30
const GTopo30_T & getGTopo30() const
Definition: Location.hpp:347
OPENTREP::LocationKey
Class modelling the primary key of a location/POR (point of reference).
Definition: LocationKey.hpp:29
OPENTREP::Location::getCorrectedKeywords
const std::string & getCorrectedKeywords() const
Definition: Location.hpp:403
OPENTREP::Place::display
std::string display() const
Definition: Place.cpp:213
OPENTREP::Place::getGTopo30
const GTopo30_T & getGTopo30() const
Definition: Place.hpp:368
OPENTREP::Place::getAlternatePlaceList
const PlaceOrderedList_T & getAlternatePlaceList() const
Definition: Place.hpp:474
OPENTREP::Location::getRawDataString
const RawDataString_T & getRawDataString() const
Definition: Location.hpp:446
OPENTREP::Location::getEnvelopeID
const EnvelopeID_T & getEnvelopeID() const
Definition: Location.hpp:123
BomAbstract.hpp
OPENTREP::Location::getFaaCode
const FAACode_T & getFaaCode() const
Definition: Location.hpp:73
OPENTREP::FacWorld
Definition: FacWorld.hpp:17
OPENTREP::NbOfErrors_T
unsigned short NbOfErrors_T
Definition: OPENTREP_Types.hpp:720
OPENTREP::Location::setCityList
void setCityList(const CityDetailsList_T &iCityList)
Definition: Location.hpp:569
OPENTREP::Place::setContinentCode
void setContinentCode(const std::string &iContinentCode)
Definition: Place.hpp:681
OPENTREP::IsGeonames_T
bool IsGeonames_T
Definition: OPENTREP_Types.hpp:635
OPENTREP::Place::setKey
void setKey(const LocationKey &iKey)
Definition: Place.hpp:526
OPENTREP::Place::getTermSetMap
const TermSetMap_T & getTermSetMap() const
Definition: Place.hpp:481
OPENTREP::Place::getAdmin4Code
const Admin4Code_T & getAdmin4Code() const
Definition: Place.hpp:347
OPENTREP::Location::getDateEnd
const Date_T & getDateEnd() const
Definition: Location.hpp:137
OPENTREP::Place::setPercentage
void setPercentage(const MatchingPercentage_T &iPercentage)
Definition: Place.hpp:863
OPENTREP::Place::getNameList
bool getNameList(const LanguageCode_T &iLanguageCode, NameList_T &ioNameList) const
Definition: Place.hpp:409
OPENTREP::Place::getAdmin1AsciiName
const Admin1ASCIIName_T & getAdmin1AsciiName() const
Definition: Place.hpp:312
OPENTREP::Location::getCityList
const CityDetailsList_T & getCityList() const
Definition: Location.hpp:151
OPENTREP::WACName_T
Definition: OPENTREP_Types.hpp:410
OPENTREP::Location::getContinentCode
const ContinentCode_T & getContinentCode() const
Definition: Location.hpp:207
OPENTREP::Place::getStateCode
const StateCode_T & getStateCode() const
Definition: Place.hpp:179
OPENTREP::Location::getGMTOffset
const GMTOffset_T & getGMTOffset() const
Definition: Location.hpp:228
OPENTREP::Place::setFeatureCode
void setFeatureCode(const std::string &iFeatCode)
Definition: Place.hpp:744
OPENTREP::Location::getUICCodeList
const UICCodeList_T & getUICCodeList() const
Definition: Location.hpp:87
OPENTREP::Location::setGMTOffset
void setGMTOffset(const GMTOffset_T &iOffset)
Definition: Location.hpp:646
OPENTREP::Place::setAltNameShortListString
void setAltNameShortListString(const std::string &iNameListString)
Definition: Place.hpp:597
OPENTREP::ContinentCode_T
Definition: OPENTREP_Types.hpp:428
OPENTREP::Place::getAltCountryCode
const AltCountryCode_T & getAltCountryCode() const
Definition: Place.hpp:193
OPENTREP::Location::setPopulation
void setPopulation(const Population_T &iPopulation)
Definition: Location.hpp:751
OPENTREP::Location::getNameList
bool getNameList(const LanguageCode_T &iLanguageCode, NameList_T &ioNameList) const
Definition: Location.hpp:388
OPENTREP::CountryName_T
Definition: OPENTREP_Types.hpp:391
OPENTREP::Place::setAdmin3Code
void setAdmin3Code(const std::string &iAdminCode)
Definition: Place.hpp:793
OPENTREP::Location::getContinentName
const ContinentName_T & getContinentName() const
Definition: Location.hpp:214
OPENTREP::ASCIIName_T
Definition: OPENTREP_Types.hpp:266
OPENTREP::Location::getAltNameShortListString
const AltNameShortListString_T & getAltNameShortListString() const
Definition: Location.hpp:109
OPENTREP::Place::setCityList
void setCityList(const CityDetailsList_T &iCityList)
Definition: Place.hpp:632
OPENTREP::StateCode_T
Definition: OPENTREP_Types.hpp:358
OPENTREP::Place
Class modelling a place/POR (point of reference).
Definition: Place.hpp:29
OPENTREP::Place::StringSet_T
std::set< std::string > StringSet_T
Definition: Place.hpp:40
OPENTREP::Place::setElevation
void setElevation(const Elevation_T &iElevation)
Definition: Place.hpp:814
OPENTREP::IATAType
Enumeration of place/location types with respect to their use for transportation purposes.
Definition: IATAType.hpp:42
OPENTREP::Location::getGeonamesID
const GeonamesID_T & getGeonamesID() const
Definition: Location.hpp:52
OPENTREP::Place::getSynonymSet
const StringSet_T & getSynonymSet() const
Definition: Place.hpp:509
OPENTREP::Place::fromStream
void fromStream(std::istream &)
Definition: Place.cpp:153
OPENTREP::Place::getAdmin2Code
const Admin2Code_T & getAdmin2Code() const
Definition: Place.hpp:319
OPENTREP::Place::toShortString
std::string toShortString() const
Definition: Place.cpp:126
OPENTREP::Place::getDateEnd
const Date_T & getDateEnd() const
Definition: Place.hpp:158
OPENTREP::Place::getAdmin2AsciiName
const Admin2ASCIIName_T & getAdmin2AsciiName() const
Definition: Place.hpp:333
OPENTREP::Place::setAltCountryCode
void setAltCountryCode(const std::string &iCountryCode)
Definition: Place.hpp:653
OPENTREP::Location::getNameMatrix
const NameMatrix & getNameMatrix() const
Definition: Location.hpp:375
OPENTREP::NameMatrix
Definition: NameMatrix.hpp:22
OPENTREP::Location::getDateFrom
const Date_T & getDateFrom() const
Definition: Location.hpp:130
OPENTREP::Location::setAdmin1UtfName
void setAdmin1UtfName(const std::string &iAdminName)
Definition: Location.hpp:702
OPENTREP::CommonName_T
Definition: OPENTREP_Types.hpp:257
OPENTREP::Place::setIcaoCode
void setIcaoCode(const std::string &iIcaoCode)
Definition: Place.hpp:554
OPENTREP::Place::setGTopo30
void setGTopo30(const GTopo30_T &iGTopo30)
Definition: Place.hpp:821
OPENTREP::Place::setFeatureClass
void setFeatureClass(const std::string &iFeatClass)
Definition: Place.hpp:737
OPENTREP::Place::setAdmin4Code
void setAdmin4Code(const std::string &iAdminCode)
Definition: Place.hpp:800
OPENTREP::Location::getIataType
const IATAType & getIataType() const
Definition: Location.hpp:45
OPENTREP::ContinentName_T
Definition: OPENTREP_Types.hpp:437
OPENTREP::Location::setIataCode
void setIataCode(const std::string &iIataCode)
Definition: Location.hpp:463
OPENTREP::Place::describeShortKey
std::string describeShortKey() const
Definition: Place.hpp:1032
OPENTREP::Place::getCommonName
const CommonName_T & getCommonName() const
Definition: Place.hpp:123
OPENTREP::Place::addName
void addName(const LanguageCode_T &iLanguageCode, const std::string &iName)
Definition: Place.hpp:918
OPENTREP::LocationName_T
Definition: OPENTREP_Types.hpp:247
OPENTREP::Location::setWikiLink
void setWikiLink(const std::string &iWikiLink)
Definition: Location.hpp:786
OPENTREP::Location::setStateCode
void setStateCode(const std::string &iStateCode)
Definition: Location.hpp:597
OPENTREP::Place::getDSTOffset
const DSTOffset_T & getDSTOffset() const
Definition: Place.hpp:256
OPENTREP::Place::DbaPlace
friend class DbaPlace
Definition: Place.hpp:33
OPENTREP_Types.hpp
OPENTREP::Place::setDocID
void setDocID(const XapianDocID_T &iDocID)
Definition: Place.hpp:892
OPENTREP::Admin1UTFName_T
Definition: OPENTREP_Types.hpp:458
OPENTREP::Place::setCorrectedKeywords
void setCorrectedKeywords(const std::string &iCorrectedKeywords)
Definition: Place.hpp:856
OPENTREP::Location::getWikiLink
const WikiLink_T & getWikiLink() const
Definition: Location.hpp:368
OPENTREP::PlaceOrderedList_T
std::list< Place * > PlaceOrderedList_T
Definition: PlaceList.hpp:21
OPENTREP::GeonamesID_T
unsigned int GeonamesID_T
Definition: OPENTREP_Types.hpp:182
OPENTREP::Place::getRawOffset
const RawOffset_T & getRawOffset() const
Definition: Place.hpp:263
OPENTREP::Place::setWAC
void setWAC(const WAC_T &iWAC)
Definition: Place.hpp:667
OPENTREP::Place::getExtraPlaceList
const PlaceOrderedList_T & getExtraPlaceList() const
Definition: Place.hpp:467
OPENTREP::CurrencyCode_T
Definition: OPENTREP_Types.hpp:420
OPENTREP::Location::getWAC
const WAC_T & getWAC() const
Definition: Location.hpp:186
OPENTREP::Location::setCountryName
void setCountryName(const std::string &iCountryName)
Definition: Location.hpp:590
OPENTREP::Location::getAdmin1AsciiName
const Admin1ASCIIName_T & getAdmin1AsciiName() const
Definition: Location.hpp:291
OPENTREP::Place::addTermSet
bool addTermSet(const Weight_T &, const StringSet_T &)
Definition: Place.cpp:242
OPENTREP::Location::getAdmin2UtfName
const Admin2UTFName_T & getAdmin2UtfName() const
Definition: Location.hpp:305
OPENTREP::Place::getAdmin1Code
const Admin1Code_T & getAdmin1Code() const
Definition: Place.hpp:298
OPENTREP::Location::setAsciiName
void setAsciiName(const std::string &iName)
Definition: Location.hpp:520
OPENTREP::FAACode_T
Definition: OPENTREP_Types.hpp:199
OPENTREP::Place::setRawOffset
void setRawOffset(const RawOffset_T &iOffset)
Definition: Place.hpp:716