1 #ifndef __OPENTREP_BOM_PLACE_HPP
2 #define __OPENTREP_BOM_PLACE_HPP
23 struct OTransliterator;
396 return _location.
getNameList (iLanguageCode, ioNameList);
453 return _extraPlaceList;
460 return _alternatePlaceList;
505 _location = iLocation;
897 const std::string& iName) {
898 _location.
addName (iLanguageCode, iName);
990 void toStream (std::ostream&)
const;
1143 #endif // __OPENTREP_BOM_PLACE_HPP
void setStateCode(const std::string &iStateCode)
const PageRank_T & getPageRank() const
void setEditDistance(const NbOfErrors_T &iEditDistance)
Class modelling the primary key of a location/POR (point of reference).
void setAsciiName(const std::string &iName)
const AltNameShortListString_T & getAltNameShortListString() const
const Admin3Code_T & getAdmin3Code() const
void setCityUtfName(const std::string &iCityUtfName)
const Admin1Code_T & getAdmin1Code() const
void setAdmin4Code(const std::string &iAdminCode)
const CountryCode_T & getCountryCode() const
void setCityAsciiName(const std::string &iCityAsciiName)
const Latitude_T & getLatitude() const
const Population_T & getPopulation() const
const NameMatrix & getNameMatrix() const
void setAltCountryCode(const std::string &iCountryCode)
const Location & getLocation() const
std::set< std::string > StringSet_T
const Population_T & getPopulation() const
const Date_T & getDateFrom() const
void setModificationDate(const Date_T &iModDate)
void setFeatureCode(const std::string &iFeatCode)
void setAdmin1AsciiName(const std::string &iAdminName)
void setContinentCode(const std::string &iContinentCode)
void setFeatureClass(const std::string &iFeatClass)
void setFeatureClass(const std::string &iFeatClass)
void setGTopo30(const GTopo30_T &iGTopo30)
void addNameToXapianSets(const Weight_T &, const LocationName_T &, const FeatureCode_T &, const CityUTFName_T &, const CityASCIIName_T &, 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 &)
void setCorrectedKeywords(const std::string &iCorrectedKeywords)
void setCountryName(const std::string &iCountryName)
const TimeZone_T & getTimeZone() const
const GeonamesID_T & getGeonamesID() const
const IATAType & getIataType() const
const CityCode_T & getCityCode() const
void addName(const LanguageCode_T &iLanguageCode, const std::string &iName)
Structure modelling a (geographical) location.
void setGTopo30(const GTopo30_T &iGTopo30)
const Latitude_T & getLatitude() const
void setDateEnd(const Date_T &iDate)
const StringSet_T & getSynonymSet() const
void setPageRank(const PageRank_T &iPageRank)
void setEnvelopeID(const EnvelopeID_T &iEnvelopeID)
void setLongitude(const Longitude_T &iLongitude)
const Admin2UTFName_T & getAdmin2UtfName() const
const Admin1ASCIIName_T & getAdmin1AsciiName() const
const FeatureCode_T & getFeatureCode() const
void setRawOffset(const RawOffset_T &iOffset)
bool addTermSet(const Weight_T &, const StringSet_T &)
const CityASCIIName_T & getCityAsciiName() const
void setCityAsciiName(const std::string &iCityAsciiName)
const FAACode_T & getFaaCode() const
void setCorrectedKeywords(const std::string &iCorrectedKeywords)
const IsGeonames_T & isGeonames() const
void setIataType(const std::string &iIATAType)
const NbOfErrors_T & getAllowableEditDistance() const
const NbOfErrors_T & getEditDistance() const
const ContinentName_T & getContinentName() const
void setContinentName(const std::string &iContinentName)
void setCommonName(const std::string &iName)
std::string shortDisplay() const
void setGeonamesID(const GeonamesID_T &iGeonamesID)
const GTopo30_T & getGTopo30() const
const FAACode_T & getFaaCode() const
void setAdmin1UtfName(const std::string &iAdminName)
const Admin1UTFName_T & getAdmin1UtfName() const
const FeatureClass_T & getFeatureClass() const
void setFaaCode(const std::string &iFaaCode)
void setWikiLink(const std::string &iWikiLink)
boost::gregorian::date Date_T
void setCountryName(const std::string &iCountryName)
void setAdmin2AsciiName(const std::string &iAdminName)
const TermSetMap_T & getTermSetMap() const
void setPopulation(const Population_T &iPopulation)
void setDSTOffset(const DSTOffset_T &iOffset)
const ICAOCode_T & getIcaoCode() const
std::list< std::string > NameList_T
void setOriginalKeywords(const std::string &iOriginalKeywords)
void toStream(std::ostream &) const
const std::string & getCorrectedKeywords() const
std::string describeShortKey() const
void setAdmin2AsciiName(const std::string &iAdminName)
const Date_T & getDateFrom() const
bool getNameList(const LanguageCode_T &iLanguageCode, NameList_T &ioNameList) const
const Date_T & getModificationDate() const
const WikiLink_T & getWikiLink() const
const NbOfErrors_T & getAllowableEditDistance() const
unsigned int Population_T
void setWikiLink(const std::string &iWikiLink)
const Admin2Code_T & getAdmin2Code() const
const NameMatrix & getNameMatrix() const
const Admin2UTFName_T & getAdmin2UtfName() const
void setAdmin1AsciiName(const std::string &iAdminName)
const Location & completeLocation()
void setComment(const std::string &iComment)
bool getNameList(const LanguageCode_T &iLanguageCode, NameList_T &ioNameList) const
void setCountryCode(const std::string &iCountryCode)
const Admin2ASCIIName_T & getAdmin2AsciiName() const
std::string describeKey() const
void setCityCode(const std::string &iCityCode)
void setDSTOffset(const DSTOffset_T &iOffset)
void setGMTOffset(const GMTOffset_T &iOffset)
const Date_T & getDateEnd() const
const AltCountryCode_T & getAltCountryCode() const
void setLongitude(const Longitude_T &iLongitude)
const PlaceOrderedList_T & getExtraPlaceList() const
const std::string & getCorrectedKeywords() const
const PageRank_T & getPageRank() const
const DSTOffset_T & getDSTOffset() const
void setTimeZone(const std::string &iTimeZone)
void setCityCode(const std::string &iCityCode)
const GeonamesID_T & getCityGeonamesID() const
const CountryName_T & getCountryName() const
void setDateFrom(const Date_T &iDate)
void setIcaoCode(const std::string &iIcaoCode)
void setAllowableEditDistance(const NbOfErrors_T &iAllowableEditDistance)
const GeonamesID_T & getGeonamesID() const
const AltNameShortListString_T & getAltNameShortListString() const
std::map< const Weight_T, StringSet_T > TermSetMap_T
const EnvelopeID_T & getEnvelopeID() const
void setModificationDate(const Date_T &iModDate)
void setLocation(const Location &iLocation)
void setContinentCode(const std::string &iContinentCode)
const ICAOCode_T & getIcaoCode() const
const CommonName_T & getCommonName() const
unsigned short NbOfErrors_T
void setPercentage(const MatchingPercentage_T &iPercentage)
void setOriginalKeywords(const std::string &iOriginalKeywords)
const MatchingPercentage_T & getPercentage() const
const NbOfErrors_T & getEditDistance() const
const Date_T & getDateEnd() const
const FeatureClass_T & getFeatureClass() const
void setCommonName(const std::string &iName)
const CityUTFName_T & getCityUtfName() const
Class modelling a place/POR (point of reference).
const IsGeonames_T & isGeonames() const
std::string describeShortKey() const
const StateCode_T & getStateCode() const
const PlaceOrderedList_T & getAlternatePlaceList() const
void setComment(const std::string &iComment)
std::string describeKey() const
const GeonamesID_T & getCityGeonamesID() const
void buildIndexSets(const OTransliterator &)
const Admin3Code_T & getAdmin3Code() const
void setAdmin3Code(const std::string &iAdminCode)
const RawOffset_T & getRawOffset() const
void setFeatureCode(const std::string &iFeatCode)
const Longitude_T & getLongitude() const
const RawDataString_T & getRawDataString() const
const Admin4Code_T & getAdmin4Code() const
const CityUTFName_T & getCityUtfName() const
const ASCIIName_T & getAsciiName() const
const Elevation_T & getElevation() const
void setAsciiName(const std::string &iName)
const Elevation_T & getElevation() const
const ContinentName_T & getContinentName() const
const IATACode_T & getIataCode() const
const XapianDocID_T & getDocID() const
const GMTOffset_T & getGMTOffset() const
const MatchingPercentage_T & getPercentage() const
void setAdmin1UtfName(const std::string &iAdminName)
const Date_T & getModificationDate() const
void setAltCountryCode(const std::string &iCountryCode)
void setTimeZone(const std::string &iTimeZone)
const CommonName_T & getCommonName() const
std::string display() const
void setElevation(const Elevation_T &iElevation)
const Admin2Code_T & getAdmin2Code() const
void setAltNameShortListString(const std::string &iNameListString)
const StringSet_T & getStemmingSet() const
void setContinentName(const std::string &iContinentName)
void setDateFrom(const Date_T &iDate)
void fromStream(std::istream &)
void setIcaoCode(const std::string &iIcaoCode)
const Comment_T & getComment() const
void setIataCode(const std::string &iIataCode)
Base class for the Business Object Model (BOM) layer.
StringSet_T getTermSet(const Weight_T &) const
const Comment_T & getComment() const
const GTopo30_T & getGTopo30() const
const StringSet_T & getSpellingSet() const
void setFaaCode(const std::string &iFaaCode)
void setAdmin3Code(const std::string &iAdminCode)
const LocationKey & getKey() const
const Admin2ASCIIName_T & getAdmin2AsciiName() const
const CityASCIIName_T & getCityAsciiName() const
const CountryCode_T & getCountryCode() const
void setLatitude(const Latitude_T &iLatitude)
void setAdmin1Code(const std::string &iAdminCode)
const ContinentCode_T & getContinentCode() const
void setDocID(const XapianDocID_T &iDocID)
void setPageRank(const PageRank_T &iPageRank)
const CityCode_T & getCityCode() const
const RawOffset_T & getRawOffset() const
const std::string & getOriginalKeywords() const
void setAltNameShortListString(const std::string &iNameListString)
void setEnvelopeID(const EnvelopeID_T &iEnvelopeID)
void setCityGeonamesID(const GeonamesID_T &iGeonamesID)
std::list< Place * > PlaceOrderedList_T
void setEditDistance(const NbOfErrors_T &iEditDistance)
std::string toString() const
const Admin4Code_T & getAdmin4Code() const
void setDateEnd(const Date_T &iDate)
void setIataCode(const std::string &iIataCode)
const FeatureCode_T & getFeatureCode() const
std::string toShortString() const
const Admin1ASCIIName_T & getAdmin1AsciiName() const
const RawDataString_T & getRawDataString() const
const StateCode_T & getStateCode() const
Enumeration of output types.
void setLatitude(const Latitude_T &iLatitude)
const Admin1UTFName_T & getAdmin1UtfName() const
void setAllowableEditDistance(const NbOfErrors_T &iAllowableEditDistance)
const EnvelopeID_T & getEnvelopeID() const
void setElevation(const Elevation_T &iElevation)
void setGMTOffset(const GMTOffset_T &iOffset)
void setCityUtfName(const std::string &iCityUtfName)
const LocationKey & getKey() const
void setAdmin1Code(const std::string &iAdminCode)
void setRawDataString(const std::string &iRawDataString)
void setGeonamesID(const GeonamesID_T &iGeonamesID)
const CountryName_T & getCountryName() const
void setRawDataString(const std::string &iRawDataString)
const AltCountryCode_T & getAltCountryCode() const
const IATACode_T & getIataCode() const
void addName(const LanguageCode_T &iLanguageCode, const std::string &iName)
void setPercentage(const MatchingPercentage_T &iPercentage)
void setCityGeonamesID(const GeonamesID_T &iGeonamesID)
const ContinentCode_T & getContinentCode() const
const WikiLink_T & getWikiLink() const
void setKey(const LocationKey &iKey)
const ASCIIName_T & getAsciiName() const
double MatchingPercentage_T
const DSTOffset_T & getDSTOffset() const
const IATAType & getIataType() const
const GMTOffset_T & getGMTOffset() const
const std::string & getOriginalKeywords() const
std::string describeSets() const
void setRawOffset(const RawOffset_T &iOffset)
void setKey(const LocationKey &iKey)
void setAdmin2UtfName(const std::string &iAdminName)
const Admin1Code_T & getAdmin1Code() const
void setPopulation(const Population_T &iPopulation)
void setCountryCode(const std::string &iCountryCode)
void setStateCode(const std::string &iStateCode)
void setIataType(const IATAType &iIATAType)
void setAdmin2UtfName(const std::string &iAdminName)
const TimeZone_T & getTimeZone() const
const Longitude_T & getLongitude() const
void setAdmin4Code(const std::string &iAdminCode)
void setAdmin2Code(const std::string &iAdminCode)
void setAdmin2Code(const std::string &iAdminCode)