OpenTREP Logo  0.07.18
C++ Open Travel Request Parsing Library
Loading...
Searching...
No Matches
OPENTREP::Location Struct Reference

Structure modelling a (geographical) location. More...

#include <opentrep/Location.hpp>

+ Inheritance diagram for OPENTREP::Location:

Public Member Functions

const LocationKeygetKey () const
 
const IATACode_TgetIataCode () const
 
const IATATypegetIataType () const
 
const GeonamesID_TgetGeonamesID () const
 
const IsGeonames_TisGeonames () const
 
const ICAOCode_TgetIcaoCode () const
 
const FAACode_TgetFaaCode () const
 
const UNLOCodeList_TgetUNLOCodeList () const
 
const UICCodeList_TgetUICCodeList () const
 
const CommonName_TgetCommonName () const
 
const ASCIIName_TgetAsciiName () const
 
const AltNameShortListString_TgetAltNameShortListString () const
 
const TvlPORListString_TgetTvlPORListString () const
 
const EnvelopeID_TgetEnvelopeID () const
 
const Date_TgetDateFrom () const
 
const Date_TgetDateEnd () const
 
const Comment_TgetComment () const
 
const CityDetailsList_TgetCityList () const
 
const StateCode_TgetStateCode () const
 
const CountryCode_TgetCountryCode () const
 
const AltCountryCode_TgetAltCountryCode () const
 
const CountryName_TgetCountryName () const
 
const WAC_TgetWAC () const
 
const WACName_TgetWACName () const
 
const CurrencyCode_TgetCurrencyCode () const
 
const ContinentCode_TgetContinentCode () const
 
const ContinentName_TgetContinentName () const
 
const TimeZone_TgetTimeZone () const
 
const GMTOffset_TgetGMTOffset () const
 
const DSTOffset_TgetDSTOffset () const
 
const RawOffset_TgetRawOffset () const
 
const Latitude_TgetLatitude () const
 
const Longitude_TgetLongitude () const
 
const FeatureClass_TgetFeatureClass () const
 
const FeatureCode_TgetFeatureCode () const
 
const Admin1Code_TgetAdmin1Code () const
 
const Admin1UTFName_TgetAdmin1UtfName () const
 
const Admin1ASCIIName_TgetAdmin1AsciiName () const
 
const Admin2Code_TgetAdmin2Code () const
 
const Admin2UTFName_TgetAdmin2UtfName () const
 
const Admin2ASCIIName_TgetAdmin2AsciiName () const
 
const Admin3Code_TgetAdmin3Code () const
 
const Admin4Code_TgetAdmin4Code () const
 
const Population_TgetPopulation () const
 
const Elevation_TgetElevation () const
 
const GTopo30_TgetGTopo30 () const
 
const PageRank_TgetPageRank () const
 
const Date_TgetModificationDate () const
 
const WikiLink_TgetWikiLink () const
 
const Latitude_TgetGeonameLatitude () const
 
const Longitude_TgetGeonameLongitude () const
 
const NameMatrixgetNameMatrix () const
 
bool getNameList (const LanguageCode_T &iLanguageCode, NameList_T &ioNameList) const
 
const std::string & getOriginalKeywords () const
 
const std::string & getCorrectedKeywords () const
 
const MatchingPercentage_TgetPercentage () const
 
const NbOfErrors_TgetEditDistance () const
 
const NbOfErrors_TgetAllowableEditDistance () const
 
const LocationList_TgetExtraLocationList () const
 
const LocationList_TgetAlternateLocationList () const
 
const RawDataString_TgetRawDataString () const
 
void setKey (const LocationKey &iKey)
 
void setIataCode (const std::string &iIataCode)
 
void setIataType (const IATAType &iIATAType)
 
void setGeonamesID (const GeonamesID_T &iGeonamesID)
 
void setIcaoCode (const std::string &iIcaoCode)
 
void setFaaCode (const std::string &iFaaCode)
 
void addUNLOCode (const UNLOCode_T &iUNLOCode)
 
void addUICCode (const UICCode_T &iUICCode)
 
void setCommonName (const std::string &iName)
 
void setAsciiName (const std::string &iName)
 
void setAltNameShortListString (const std::string &iNameListString)
 
void setTvlPORListString (const std::string &iPORListString)
 
void setEnvelopeID (const EnvelopeID_T &iEnvelopeID)
 
void setDateFrom (const Date_T &iDate)
 
void setDateEnd (const Date_T &iDate)
 
void setComment (const std::string &iComment)
 
void setCityList (const CityDetailsList_T &iCityList)
 
void setCountryCode (const std::string &iCountryCode)
 
void setAltCountryCode (const std::string &iCountryCode)
 
void setCountryName (const std::string &iCountryName)
 
void setStateCode (const std::string &iStateCode)
 
void setWAC (const WAC_T &iWAC)
 
void setWACName (const std::string &iWACName)
 
void setCurrencyCode (const std::string &iCurrencyCode)
 
void setContinentCode (const std::string &iContinentCode)
 
void setContinentName (const std::string &iContinentName)
 
void setTimeZone (const std::string &iTimeZone)
 
void setGMTOffset (const GMTOffset_T &iOffset)
 
void setDSTOffset (const DSTOffset_T &iOffset)
 
void setRawOffset (const RawOffset_T &iOffset)
 
void setLatitude (const Latitude_T &iLatitude)
 
void setLongitude (const Longitude_T &iLongitude)
 
void setFeatureClass (const std::string &iFeatClass)
 
void setFeatureCode (const std::string &iFeatCode)
 
void setAdmin1Code (const std::string &iAdminCode)
 
void setAdmin1UtfName (const std::string &iAdminName)
 
void setAdmin1AsciiName (const std::string &iAdminName)
 
void setAdmin2Code (const std::string &iAdminCode)
 
void setAdmin2UtfName (const std::string &iAdminName)
 
void setAdmin2AsciiName (const std::string &iAdminName)
 
void setAdmin3Code (const std::string &iAdminCode)
 
void setAdmin4Code (const std::string &iAdminCode)
 
void setPopulation (const Population_T &iPopulation)
 
void setElevation (const Elevation_T &iElevation)
 
void setGTopo30 (const GTopo30_T &iGTopo30)
 
void setPageRank (const PageRank_T &iPageRank)
 
void setModificationDate (const Date_T &iModDate)
 
void setWikiLink (const std::string &iWikiLink)
 
void setGeonameLatitude (const Latitude_T &iLatitude)
 
void setGeonameLongitude (const Longitude_T &iLongitude)
 
void addName (const LanguageCode_T &iLanguageCode, const std::string &iName)
 
void resetMatrix ()
 
void setOriginalKeywords (const std::string &iOriginalKeywords)
 
void setCorrectedKeywords (const std::string &iCorrectedKeywords)
 
void setPercentage (const MatchingPercentage_T &iPercentage)
 
void setEditDistance (const NbOfErrors_T &iEditDistance)
 
void setAllowableEditDistance (const NbOfErrors_T &iAllowableEditDistance)
 
void addExtraLocation (const Location &iExtraLocation)
 
void addAlternateLocation (const Location &iAlternateLocation)
 
void setRawDataString (const std::string &iRawDataString)
 
Date_T calculateDate () const
 
void consolidateCityDetailsList ()
 
void consolidateAltNameShortListString ()
 
void consolidateTvlPORListString ()
 
void toStream (std::ostream &) const
 
void fromStream (std::istream &)
 
std::string toString () const
 
std::string describeKey () const
 
std::string describeShortKey () const
 
std::string toBasicString () const
 
std::string toShortString () const
 
std::string toSingleLocationString () const
 
std::string describeUNLOCodeList () const
 
std::string describeUICCodeList () const
 
std::string describeCityDetailsList () const
 
 Location (const IATACode_T &, const IATAType &, const GeonamesID_T &, const ICAOCode_T &, const FAACode_T &, const CommonName_T &, const ASCIIName_T &, const EnvelopeID_T &, const Date_T &iDateFrom, const Date_T &iDateEnd, const Comment_T &, const CityDetailsList_T &, const StateCode_T &, const CountryCode_T &, const AltCountryCode_T &, const CountryName_T &, const WAC_T &, const WACName_T &, const CurrencyCode_T &, const ContinentName_T &, const Latitude_T &, const Longitude_T &, const FeatureClass_T &, const FeatureCode_T &, const Admin1Code_T &, const Admin1UTFName_T &, const Admin1ASCIIName_T &, const Admin2Code_T &, const Admin2UTFName_T &, const Admin2ASCIIName_T &, const Admin3Code_T &, const Admin4Code_T &, const Population_T &, const Elevation_T &, const GTopo30_T &, const TimeZone_T &, const GMTOffset_T &, const DSTOffset_T &, const RawOffset_T &, const Date_T &iModDate, const TvlPORListString_T &, const WikiLink_T &, const Latitude_T &, const Longitude_T &, const PageRank_T &, const std::string &iOriginalKeywords, const std::string &iCorrectedKeywords, const MatchingPercentage_T &iPercentage, const NbOfErrors_T &iEditDistance, const NbOfErrors_T &iAllowableEditDistance, const RawDataString_T &)
 
 Location ()
 
 Location (const Location &)
 
 ~Location ()
 

Static Public Member Functions

static FeatureNameList_T getFeatureList (const FeatureCode_T &)
 

Public Attributes

year_t _itYear
 
month_t _itMonth
 
day_t _itDay
 
Language::EN_Language _itLanguageCodeNum
 
LanguageCode_T _itLanguageCode
 
std::string _itLangCode2Char
 
std::string _itLangCodeExt
 
std::string _itLangCodeHist
 
AltNameShortList_T _itAltNameShortList
 
IATACodeList_T _itTvlPORList
 
std::string _itCityIataCode
 
GeonamesID_T _itCityGeonamesID
 
std::string _itCityUtfName
 
std::string _itCityAsciiName
 
std::string _itCityCountryCode
 
std::string _itCityStateCode
 

Detailed Description

Structure modelling a (geographical) location.

Definition at line 25 of file Location.hpp.

Constructor & Destructor Documentation

◆ Location() [1/3]

OPENTREP::Location::Location ( const IATACode_T & iIataCode,
const IATAType & iIataType,
const GeonamesID_T & iGeonamesID,
const ICAOCode_T & iIcaoCode,
const FAACode_T & iFaaCode,
const CommonName_T & iCommonName,
const ASCIIName_T & iASCIIName,
const EnvelopeID_T & iEnvelopeID,
const Date_T & iDateFrom,
const Date_T & iDateEnd,
const Comment_T & iComment,
const CityDetailsList_T & iCityDetailsList,
const StateCode_T & iStateCode,
const CountryCode_T & iCountryCode,
const AltCountryCode_T & iAltCountryCode,
const CountryName_T & iCountryName,
const WAC_T & iWAC,
const WACName_T & iWACName,
const CurrencyCode_T & iCurrencyCode,
const ContinentName_T & iContinentName,
const Latitude_T & iLatitude,
const Longitude_T & iLongitude,
const FeatureClass_T & iFeatureClass,
const FeatureCode_T & iFeatureCode,
const Admin1Code_T & iAdmin1Code,
const Admin1UTFName_T & iAdmin1UtfName,
const Admin1ASCIIName_T & iAdmin1AsciiName,
const Admin2Code_T & iAdmin2Code,
const Admin2UTFName_T & iAdmin2UtfName,
const Admin2ASCIIName_T & iAdmin2AsciiName,
const Admin3Code_T & iAdmin3Code,
const Admin4Code_T & iAdmin4Code,
const Population_T & iPopulation,
const Elevation_T & iElevation,
const GTopo30_T & iGTopo30,
const TimeZone_T & iTimeZone,
const GMTOffset_T & iGMTOffset,
const DSTOffset_T & iDSTOffset,
const RawOffset_T & iRawOffset,
const Date_T & iModDate,
const TvlPORListString_T & iTvlPORListString,
const WikiLink_T & iWikiLink,
const Latitude_T & iPageRank,
const Longitude_T & iGeonameLatitude,
const PageRank_T & iGeonameLongitude,
const std::string & iOriginalKeywords,
const std::string & iCorrectedKeywords,
const MatchingPercentage_T & iPercentage,
const NbOfErrors_T & iEditDistance,
const NbOfErrors_T & iAllowableEditDistance,
const RawDataString_T & iRawDataString )

Main Constructor.

Definition at line 108 of file Location.cpp.

References _itLanguageCode, and _itLanguageCodeNum.

Referenced by addAlternateLocation(), addExtraLocation(), Location(), and toString().

◆ Location() [2/3]

OPENTREP::Location::Location ( )

Default Constructor.

Definition at line 17 of file Location.cpp.

References _itLanguageCode, _itLanguageCodeNum, and OPENTREP::K_DEFAULT_PAGE_RANK.

◆ Location() [3/3]

OPENTREP::Location::Location ( const Location & iLocation)

Default copy constructor.

Definition at line 57 of file Location.cpp.

References _itLanguageCode, _itLanguageCodeNum, getComment(), getDateEnd(), getDateFrom(), getEnvelopeID(), and Location().

◆ ~Location()

OPENTREP::Location::~Location ( )

Destructor.

Definition at line 193 of file Location.cpp.

Member Function Documentation

◆ getKey()

const LocationKey & OPENTREP::Location::getKey ( ) const
inline

Get the primary key (IATA and ICAO codes, Geonames ID) of that location.

Definition at line 31 of file Location.hpp.

Referenced by OPENTREP::LocationExchange::exportLocation(), OPENTREP::DBManager::getPORByIATACode(), OPENTREP::DBManager::getPORByUNLOCode(), and OPENTREP::Result::getPrimaryKey().

◆ getIataCode()

const IATACode_T & OPENTREP::Location::getIataCode ( ) const
inline

Get the IATA code.

Definition at line 38 of file Location.hpp.

Referenced by OPENTREP::BomJSONExport::jsonExportLocation().

◆ getIataType()

const IATAType & OPENTREP::Location::getIataType ( ) const
inline

Get the IATA location type (e.g., A for airport).

Definition at line 45 of file Location.hpp.

◆ getGeonamesID()

const GeonamesID_T & OPENTREP::Location::getGeonamesID ( ) const
inline

Get the Geonames ID.

Definition at line 52 of file Location.hpp.

Referenced by OPENTREP::BomJSONExport::jsonExportLocation().

◆ isGeonames()

const IsGeonames_T & OPENTREP::Location::isGeonames ( ) const
inline

State whether that POR is referenced by Geonames.

Definition at line 59 of file Location.hpp.

Referenced by OPENTREP::LocationExchange::exportLocation().

◆ getIcaoCode()

const ICAOCode_T & OPENTREP::Location::getIcaoCode ( ) const
inline

Get the ICAO code.

Definition at line 66 of file Location.hpp.

Referenced by OPENTREP::LocationExchange::exportLocation(), and OPENTREP::BomJSONExport::jsonExportLocation().

◆ getFaaCode()

const FAACode_T & OPENTREP::Location::getFaaCode ( ) const
inline

Get the FAA code.

Definition at line 73 of file Location.hpp.

Referenced by OPENTREP::LocationExchange::exportLocation(), and OPENTREP::BomJSONExport::jsonExportLocation().

◆ getUNLOCodeList()

const UNLOCodeList_T & OPENTREP::Location::getUNLOCodeList ( ) const
inline

Get the list of UN/LOCODE five-letter codes.

Definition at line 80 of file Location.hpp.

Referenced by OPENTREP::LocationExchange::exportLocation(), and OPENTREP::BomJSONExport::jsonExportLocation().

◆ getUICCodeList()

const UICCodeList_T & OPENTREP::Location::getUICCodeList ( ) const
inline

Get the list of UIC codes.

Definition at line 87 of file Location.hpp.

Referenced by OPENTREP::LocationExchange::exportLocation().

◆ getCommonName()

const CommonName_T & OPENTREP::Location::getCommonName ( ) const
inline

Get the common name (usually in American English, but not necessarily in ASCII).

Definition at line 95 of file Location.hpp.

Referenced by OPENTREP::LocationExchange::exportLocation(), and OPENTREP::BomJSONExport::jsonExportLocation().

◆ getAsciiName()

const ASCIIName_T & OPENTREP::Location::getAsciiName ( ) const
inline

Get the ASCII name (not necessarily in English).

Definition at line 102 of file Location.hpp.

Referenced by OPENTREP::LocationExchange::exportLocation(), and OPENTREP::BomJSONExport::jsonExportLocation().

◆ getAltNameShortListString()

const AltNameShortListString_T & OPENTREP::Location::getAltNameShortListString ( ) const
inline

Get the short list of alternate names (without language codes).

Definition at line 109 of file Location.hpp.

◆ getTvlPORListString()

const TvlPORListString_T & OPENTREP::Location::getTvlPORListString ( ) const
inline

Get the list of IATA codes of the travel-related POR.

Definition at line 116 of file Location.hpp.

Referenced by OPENTREP::LocationExchange::exportLocation(), and OPENTREP::BomJSONExport::jsonExportLocation().

◆ getEnvelopeID()

const EnvelopeID_T & OPENTREP::Location::getEnvelopeID ( ) const
inline

◆ getDateFrom()

const Date_T & OPENTREP::Location::getDateFrom ( ) const
inline

Get the beginning date of the validity period

Definition at line 130 of file Location.hpp.

Referenced by OPENTREP::LocationExchange::exportLocation(), OPENTREP::BomJSONExport::jsonExportLocation(), and Location().

◆ getDateEnd()

const Date_T & OPENTREP::Location::getDateEnd ( ) const
inline

Get the end date of the validity period

Definition at line 137 of file Location.hpp.

Referenced by OPENTREP::LocationExchange::exportLocation(), OPENTREP::BomJSONExport::jsonExportLocation(), and Location().

◆ getComment()

const Comment_T & OPENTREP::Location::getComment ( ) const
inline

Get the commentaries.

Definition at line 144 of file Location.hpp.

Referenced by OPENTREP::LocationExchange::exportLocation(), and Location().

◆ getCityList()

const CityDetailsList_T & OPENTREP::Location::getCityList ( ) const
inline

Get the list of served cities.

Definition at line 151 of file Location.hpp.

Referenced by OPENTREP::LocationExchange::exportLocation(), and OPENTREP::BomJSONExport::jsonExportLocation().

◆ getStateCode()

const StateCode_T & OPENTREP::Location::getStateCode ( ) const
inline

Get the state code.

Definition at line 158 of file Location.hpp.

Referenced by OPENTREP::LocationExchange::exportLocation(), and OPENTREP::BomJSONExport::jsonExportLocation().

◆ getCountryCode()

const CountryCode_T & OPENTREP::Location::getCountryCode ( ) const
inline

Get the country code.

Definition at line 165 of file Location.hpp.

Referenced by OPENTREP::LocationExchange::exportLocation(), and OPENTREP::BomJSONExport::jsonExportLocation().

◆ getAltCountryCode()

const AltCountryCode_T & OPENTREP::Location::getAltCountryCode ( ) const
inline

Get the alternative country code.

Definition at line 172 of file Location.hpp.

Referenced by OPENTREP::LocationExchange::exportLocation(), and OPENTREP::BomJSONExport::jsonExportLocation().

◆ getCountryName()

const CountryName_T & OPENTREP::Location::getCountryName ( ) const
inline

Get the country name.

Definition at line 179 of file Location.hpp.

Referenced by OPENTREP::LocationExchange::exportLocation(), and OPENTREP::BomJSONExport::jsonExportLocation().

◆ getWAC()

const WAC_T & OPENTREP::Location::getWAC ( ) const
inline

Get the US DOT World Area Code (WAC).

Definition at line 186 of file Location.hpp.

Referenced by OPENTREP::LocationExchange::exportLocation(), and OPENTREP::BomJSONExport::jsonExportLocation().

◆ getWACName()

const WACName_T & OPENTREP::Location::getWACName ( ) const
inline

Get the US DOT World Area Code (WAC) name.

Definition at line 193 of file Location.hpp.

Referenced by OPENTREP::LocationExchange::exportLocation(), and OPENTREP::BomJSONExport::jsonExportLocation().

◆ getCurrencyCode()

const CurrencyCode_T & OPENTREP::Location::getCurrencyCode ( ) const
inline

Get the currency code.

Definition at line 200 of file Location.hpp.

Referenced by OPENTREP::LocationExchange::exportLocation(), and OPENTREP::BomJSONExport::jsonExportLocation().

◆ getContinentCode()

const ContinentCode_T & OPENTREP::Location::getContinentCode ( ) const
inline

Get the continent code.

Definition at line 207 of file Location.hpp.

Referenced by OPENTREP::LocationExchange::exportLocation(), and OPENTREP::BomJSONExport::jsonExportLocation().

◆ getContinentName()

const ContinentName_T & OPENTREP::Location::getContinentName ( ) const
inline

Get the continent name.

Definition at line 214 of file Location.hpp.

Referenced by OPENTREP::LocationExchange::exportLocation(), and OPENTREP::BomJSONExport::jsonExportLocation().

◆ getTimeZone()

const TimeZone_T & OPENTREP::Location::getTimeZone ( ) const
inline

Get the time-zone.

Definition at line 221 of file Location.hpp.

Referenced by OPENTREP::LocationExchange::exportLocation(), and OPENTREP::BomJSONExport::jsonExportLocation().

◆ getGMTOffset()

const GMTOffset_T & OPENTREP::Location::getGMTOffset ( ) const
inline

Get the GMT offset (e.g., 1)

Definition at line 228 of file Location.hpp.

Referenced by OPENTREP::LocationExchange::exportLocation(), and OPENTREP::BomJSONExport::jsonExportLocation().

◆ getDSTOffset()

const DSTOffset_T & OPENTREP::Location::getDSTOffset ( ) const
inline

Get the DST offset (e.g., 2)

Definition at line 235 of file Location.hpp.

Referenced by OPENTREP::LocationExchange::exportLocation(), and OPENTREP::BomJSONExport::jsonExportLocation().

◆ getRawOffset()

const RawOffset_T & OPENTREP::Location::getRawOffset ( ) const
inline

Get the raw offset (e.g., 1)

Definition at line 242 of file Location.hpp.

Referenced by OPENTREP::LocationExchange::exportLocation(), and OPENTREP::BomJSONExport::jsonExportLocation().

◆ getLatitude()

const Latitude_T & OPENTREP::Location::getLatitude ( ) const
inline

Get the latitude.

Definition at line 249 of file Location.hpp.

Referenced by OPENTREP::LocationExchange::exportLocation(), and OPENTREP::BomJSONExport::jsonExportLocation().

◆ getLongitude()

const Longitude_T & OPENTREP::Location::getLongitude ( ) const
inline

Get the longitude.

Definition at line 256 of file Location.hpp.

Referenced by OPENTREP::LocationExchange::exportLocation(), and OPENTREP::BomJSONExport::jsonExportLocation().

◆ getFeatureClass()

const FeatureClass_T & OPENTREP::Location::getFeatureClass ( ) const
inline

Get the feature class (e.g., S for spot).

Definition at line 263 of file Location.hpp.

Referenced by OPENTREP::LocationExchange::exportLocation(), and OPENTREP::BomJSONExport::jsonExportLocation().

◆ getFeatureCode()

const FeatureCode_T & OPENTREP::Location::getFeatureCode ( ) const
inline

Get the feature code (e.g., AIRP for airport).

Definition at line 270 of file Location.hpp.

Referenced by OPENTREP::LocationExchange::exportLocation(), and OPENTREP::BomJSONExport::jsonExportLocation().

◆ getAdmin1Code()

const Admin1Code_T & OPENTREP::Location::getAdmin1Code ( ) const
inline

Get the administrative code of rank 1 (e.g., IL for Illinois).

Definition at line 277 of file Location.hpp.

Referenced by OPENTREP::LocationExchange::exportLocation(), and OPENTREP::BomJSONExport::jsonExportLocation().

◆ getAdmin1UtfName()

const Admin1UTFName_T & OPENTREP::Location::getAdmin1UtfName ( ) const
inline

Get the administrative UTF8 name of rank 1 (e.g., Illinois).

Definition at line 284 of file Location.hpp.

Referenced by OPENTREP::LocationExchange::exportLocation(), and OPENTREP::BomJSONExport::jsonExportLocation().

◆ getAdmin1AsciiName()

const Admin1ASCIIName_T & OPENTREP::Location::getAdmin1AsciiName ( ) const
inline

Get the administrative ASCII name of rank 1 (e.g., Illinois).

Definition at line 291 of file Location.hpp.

Referenced by OPENTREP::LocationExchange::exportLocation(), and OPENTREP::BomJSONExport::jsonExportLocation().

◆ getAdmin2Code()

const Admin2Code_T & OPENTREP::Location::getAdmin2Code ( ) const
inline

Get the administrative code of rank 2.

Definition at line 298 of file Location.hpp.

Referenced by OPENTREP::LocationExchange::exportLocation(), and OPENTREP::BomJSONExport::jsonExportLocation().

◆ getAdmin2UtfName()

const Admin2UTFName_T & OPENTREP::Location::getAdmin2UtfName ( ) const
inline

Get the administrative UTF8 name of rank 2 (e.g., Alpes-Maritimes).

Definition at line 305 of file Location.hpp.

Referenced by OPENTREP::LocationExchange::exportLocation(), and OPENTREP::BomJSONExport::jsonExportLocation().

◆ getAdmin2AsciiName()

const Admin2ASCIIName_T & OPENTREP::Location::getAdmin2AsciiName ( ) const
inline

Get the administrative ASCII name of rank 2 (e.g., Alpes-Maritimes).

Definition at line 312 of file Location.hpp.

Referenced by OPENTREP::LocationExchange::exportLocation(), and OPENTREP::BomJSONExport::jsonExportLocation().

◆ getAdmin3Code()

const Admin3Code_T & OPENTREP::Location::getAdmin3Code ( ) const
inline

Get the administrative code of rank 3.

Definition at line 319 of file Location.hpp.

Referenced by OPENTREP::LocationExchange::exportLocation(), and OPENTREP::BomJSONExport::jsonExportLocation().

◆ getAdmin4Code()

const Admin4Code_T & OPENTREP::Location::getAdmin4Code ( ) const
inline

Get the administrative code of rank 4.

Definition at line 326 of file Location.hpp.

Referenced by OPENTREP::LocationExchange::exportLocation(), and OPENTREP::BomJSONExport::jsonExportLocation().

◆ getPopulation()

const Population_T & OPENTREP::Location::getPopulation ( ) const
inline

Get the population (number of inhabitants).

Definition at line 333 of file Location.hpp.

Referenced by OPENTREP::LocationExchange::exportLocation(), and OPENTREP::BomJSONExport::jsonExportLocation().

◆ getElevation()

const Elevation_T & OPENTREP::Location::getElevation ( ) const
inline

Get the elevation.

Definition at line 340 of file Location.hpp.

Referenced by OPENTREP::LocationExchange::exportLocation(), and OPENTREP::BomJSONExport::jsonExportLocation().

◆ getGTopo30()

const GTopo30_T & OPENTREP::Location::getGTopo30 ( ) const
inline

Get the GTopo30.

Definition at line 347 of file Location.hpp.

Referenced by OPENTREP::LocationExchange::exportLocation(), and OPENTREP::BomJSONExport::jsonExportLocation().

◆ getPageRank()

◆ getModificationDate()

const Date_T & OPENTREP::Location::getModificationDate ( ) const
inline

Get the modification date.

Definition at line 361 of file Location.hpp.

Referenced by OPENTREP::LocationExchange::exportLocation(), and OPENTREP::BomJSONExport::jsonExportLocation().

◆ getWikiLink()

const WikiLink_T & OPENTREP::Location::getWikiLink ( ) const
inline

Get the Wikipedia link.

Definition at line 368 of file Location.hpp.

Referenced by OPENTREP::LocationExchange::exportLocation(), and OPENTREP::BomJSONExport::jsonExportLocation().

◆ getGeonameLatitude()

const Latitude_T & OPENTREP::Location::getGeonameLatitude ( ) const
inline

Get the Geonames latitude.

Definition at line 375 of file Location.hpp.

Referenced by OPENTREP::LocationExchange::exportLocation(), and OPENTREP::BomJSONExport::jsonExportLocation().

◆ getGeonameLongitude()

const Longitude_T & OPENTREP::Location::getGeonameLongitude ( ) const
inline

Get the Geonames longitude.

Definition at line 382 of file Location.hpp.

Referenced by OPENTREP::LocationExchange::exportLocation(), and OPENTREP::BomJSONExport::jsonExportLocation().

◆ getNameMatrix()

const NameMatrix & OPENTREP::Location::getNameMatrix ( ) const
inline

Get the map of name lists.

Definition at line 389 of file Location.hpp.

Referenced by OPENTREP::LocationExchange::exportLocation(), and OPENTREP::BomJSONExport::jsonExportLocation().

◆ getNameList()

bool OPENTREP::Location::getNameList ( const LanguageCode_T & iLanguageCode,
NameList_T & ioNameList ) const
inline

Get, for a given language (code), the corresponding list of names.

Parameters
constLanguageCode_T& Language code.
NameList_T&Empty list of names, which will be filled by the method if a list exists for that language code.
Returns
bool Whether or not such a list exists for the given language.

Definition at line 402 of file Location.hpp.

◆ getOriginalKeywords()

const std::string & OPENTREP::Location::getOriginalKeywords ( ) const
inline

Get the original keywords.

Definition at line 410 of file Location.hpp.

Referenced by OPENTREP::LocationExchange::exportLocation(), and OPENTREP::BomJSONExport::jsonExportLocation().

◆ getCorrectedKeywords()

const std::string & OPENTREP::Location::getCorrectedKeywords ( ) const
inline

Get the corrected keywords.

Definition at line 417 of file Location.hpp.

Referenced by OPENTREP::LocationExchange::exportLocation(), and OPENTREP::BomJSONExport::jsonExportLocation().

◆ getPercentage()

const MatchingPercentage_T & OPENTREP::Location::getPercentage ( ) const
inline

Get the matching percentage.

Definition at line 424 of file Location.hpp.

Referenced by OPENTREP::LocationExchange::exportLocation(), and OPENTREP::BomJSONExport::jsonExportLocation().

◆ getEditDistance()

const NbOfErrors_T & OPENTREP::Location::getEditDistance ( ) const
inline

Get the allowed edit distance/error.

Definition at line 431 of file Location.hpp.

Referenced by OPENTREP::LocationExchange::exportLocation(), and OPENTREP::BomJSONExport::jsonExportLocation().

◆ getAllowableEditDistance()

const NbOfErrors_T & OPENTREP::Location::getAllowableEditDistance ( ) const
inline

Get the maximal allowable edit distance/error, with which the matching has been made.

Definition at line 439 of file Location.hpp.

Referenced by OPENTREP::LocationExchange::exportLocation(), and OPENTREP::BomJSONExport::jsonExportLocation().

◆ getExtraLocationList()

const LocationList_T & OPENTREP::Location::getExtraLocationList ( ) const
inline

Get the list of extra matching (similar) locations.

Definition at line 446 of file Location.hpp.

Referenced by OPENTREP::LocationExchange::exportLocation(), and OPENTREP::BomJSONExport::jsonExportLocationList().

◆ getAlternateLocationList()

const LocationList_T & OPENTREP::Location::getAlternateLocationList ( ) const
inline

Get the list of alternate matching (less similar) locations.

Definition at line 453 of file Location.hpp.

Referenced by OPENTREP::LocationExchange::exportLocation(), and OPENTREP::BomJSONExport::jsonExportLocationList().

◆ getRawDataString()

const RawDataString_T & OPENTREP::Location::getRawDataString ( ) const
inline

Get the raw data string, as stored and retrieved by Xapian.

Definition at line 460 of file Location.hpp.

◆ setKey()

void OPENTREP::Location::setKey ( const LocationKey & iKey)
inline

Set the primary key (IATA and ICAO codes, Geonames ID) of that location.

Definition at line 470 of file Location.hpp.

◆ setIataCode()

void OPENTREP::Location::setIataCode ( const std::string & iIataCode)
inline

Set the IATA code.

Definition at line 477 of file Location.hpp.

◆ setIataType()

void OPENTREP::Location::setIataType ( const IATAType & iIATAType)
inline

Set the IATA location type (e.g., A for airport).

Definition at line 484 of file Location.hpp.

◆ setGeonamesID()

void OPENTREP::Location::setGeonamesID ( const GeonamesID_T & iGeonamesID)
inline

Set the Geonames ID.

Definition at line 491 of file Location.hpp.

◆ setIcaoCode()

void OPENTREP::Location::setIcaoCode ( const std::string & iIcaoCode)
inline

Set the ICAO code.

Definition at line 498 of file Location.hpp.

◆ setFaaCode()

void OPENTREP::Location::setFaaCode ( const std::string & iFaaCode)
inline

Set the FAA code.

Definition at line 505 of file Location.hpp.

◆ addUNLOCode()

void OPENTREP::Location::addUNLOCode ( const UNLOCode_T & iUNLOCode)
inline

Add a UN/LOCODE five-letter code to the underlying list.

Definition at line 512 of file Location.hpp.

◆ addUICCode()

void OPENTREP::Location::addUICCode ( const UICCode_T & iUICCode)
inline

Add a UIC code to the underlying list.

Definition at line 519 of file Location.hpp.

◆ setCommonName()

void OPENTREP::Location::setCommonName ( const std::string & iName)
inline

Set the common name (usually in American English, but not necessarily in ASCII).

Definition at line 527 of file Location.hpp.

◆ setAsciiName()

void OPENTREP::Location::setAsciiName ( const std::string & iName)
inline

Set the ASCII name (not necessarily in English).

Definition at line 534 of file Location.hpp.

◆ setAltNameShortListString()

void OPENTREP::Location::setAltNameShortListString ( const std::string & iNameListString)
inline

Set the short list of alternate names (without language codes).

Definition at line 541 of file Location.hpp.

Referenced by consolidateAltNameShortListString().

◆ setTvlPORListString()

void OPENTREP::Location::setTvlPORListString ( const std::string & iPORListString)
inline

Set the list of IATA codes of the travel-related POR.

Definition at line 548 of file Location.hpp.

Referenced by consolidateTvlPORListString().

◆ setEnvelopeID()

void OPENTREP::Location::setEnvelopeID ( const EnvelopeID_T & iEnvelopeID)
inline

Set the envelope ID.

Definition at line 555 of file Location.hpp.

◆ setDateFrom()

void OPENTREP::Location::setDateFrom ( const Date_T & iDate)
inline

Set the beginning date of the validity period

Definition at line 562 of file Location.hpp.

◆ setDateEnd()

void OPENTREP::Location::setDateEnd ( const Date_T & iDate)
inline

Set the end date of the validity period

Definition at line 569 of file Location.hpp.

◆ setComment()

void OPENTREP::Location::setComment ( const std::string & iComment)
inline

Set the commentaries.

Definition at line 576 of file Location.hpp.

◆ setCityList()

void OPENTREP::Location::setCityList ( const CityDetailsList_T & iCityList)
inline

Set the list of served cities.

Definition at line 583 of file Location.hpp.

◆ setCountryCode()

void OPENTREP::Location::setCountryCode ( const std::string & iCountryCode)
inline

Set the country code.

Definition at line 590 of file Location.hpp.

◆ setAltCountryCode()

void OPENTREP::Location::setAltCountryCode ( const std::string & iCountryCode)
inline

Set the alternative country code.

Definition at line 597 of file Location.hpp.

◆ setCountryName()

void OPENTREP::Location::setCountryName ( const std::string & iCountryName)
inline

Set the country name.

Definition at line 604 of file Location.hpp.

◆ setStateCode()

void OPENTREP::Location::setStateCode ( const std::string & iStateCode)
inline

Set the state code.

Definition at line 611 of file Location.hpp.

◆ setWAC()

void OPENTREP::Location::setWAC ( const WAC_T & iWAC)
inline

Set the US DOT World Area Code (WAC).

Definition at line 618 of file Location.hpp.

◆ setWACName()

void OPENTREP::Location::setWACName ( const std::string & iWACName)
inline

Set the US DOT World Area Code (WAC) name.

Definition at line 625 of file Location.hpp.

◆ setCurrencyCode()

void OPENTREP::Location::setCurrencyCode ( const std::string & iCurrencyCode)
inline

Set the currency code.

Definition at line 632 of file Location.hpp.

◆ setContinentCode()

void OPENTREP::Location::setContinentCode ( const std::string & iContinentCode)
inline

Set the continent code.

Definition at line 639 of file Location.hpp.

◆ setContinentName()

void OPENTREP::Location::setContinentName ( const std::string & iContinentName)
inline

Set the continent name.

Definition at line 646 of file Location.hpp.

◆ setTimeZone()

void OPENTREP::Location::setTimeZone ( const std::string & iTimeZone)
inline

Set the time-zone.

Definition at line 653 of file Location.hpp.

◆ setGMTOffset()

void OPENTREP::Location::setGMTOffset ( const GMTOffset_T & iOffset)
inline

Set the GMT offset (e.g., 1)

Definition at line 660 of file Location.hpp.

◆ setDSTOffset()

void OPENTREP::Location::setDSTOffset ( const DSTOffset_T & iOffset)
inline

Set the DST offset (e.g., 2)

Definition at line 667 of file Location.hpp.

◆ setRawOffset()

void OPENTREP::Location::setRawOffset ( const RawOffset_T & iOffset)
inline

Set the raw offset (e.g., 1)

Definition at line 674 of file Location.hpp.

◆ setLatitude()

void OPENTREP::Location::setLatitude ( const Latitude_T & iLatitude)
inline

Set the geographical latitude.

Definition at line 681 of file Location.hpp.

◆ setLongitude()

void OPENTREP::Location::setLongitude ( const Longitude_T & iLongitude)
inline

Set the geographical longitude.

Definition at line 688 of file Location.hpp.

◆ setFeatureClass()

void OPENTREP::Location::setFeatureClass ( const std::string & iFeatClass)
inline

Set the feature class (e.g., S for spot).

Definition at line 695 of file Location.hpp.

◆ setFeatureCode()

void OPENTREP::Location::setFeatureCode ( const std::string & iFeatCode)
inline

Set the feature code (e.g., AIRP for airport).

Definition at line 702 of file Location.hpp.

◆ setAdmin1Code()

void OPENTREP::Location::setAdmin1Code ( const std::string & iAdminCode)
inline

Set the administrative code of rank 1 (e.g., IL for Illinois).

Definition at line 709 of file Location.hpp.

◆ setAdmin1UtfName()

void OPENTREP::Location::setAdmin1UtfName ( const std::string & iAdminName)
inline

Set the administrative UTF8 name of rank 1 (e.g., Illinois).

Definition at line 716 of file Location.hpp.

◆ setAdmin1AsciiName()

void OPENTREP::Location::setAdmin1AsciiName ( const std::string & iAdminName)
inline

Set the administrative ASCII name of rank 1 (e.g., Illinois).

Definition at line 723 of file Location.hpp.

◆ setAdmin2Code()

void OPENTREP::Location::setAdmin2Code ( const std::string & iAdminCode)
inline

Set the administrative code of rank 2.

Definition at line 730 of file Location.hpp.

◆ setAdmin2UtfName()

void OPENTREP::Location::setAdmin2UtfName ( const std::string & iAdminName)
inline

Set the administrative UTF8 name of rank 2 (e.g., Alpes-Maritimes).

Definition at line 737 of file Location.hpp.

◆ setAdmin2AsciiName()

void OPENTREP::Location::setAdmin2AsciiName ( const std::string & iAdminName)
inline

Set the administrative ASCII name of rank 2 (e.g., Alpes-Maritimes).

Definition at line 744 of file Location.hpp.

◆ setAdmin3Code()

void OPENTREP::Location::setAdmin3Code ( const std::string & iAdminCode)
inline

Set the administrative code of rank 3.

Definition at line 751 of file Location.hpp.

◆ setAdmin4Code()

void OPENTREP::Location::setAdmin4Code ( const std::string & iAdminCode)
inline

Set the administrative code of rank 4.

Definition at line 758 of file Location.hpp.

◆ setPopulation()

void OPENTREP::Location::setPopulation ( const Population_T & iPopulation)
inline

Set the population (number of inhabitants).

Definition at line 765 of file Location.hpp.

◆ setElevation()

void OPENTREP::Location::setElevation ( const Elevation_T & iElevation)
inline

Set the elevation.

Definition at line 772 of file Location.hpp.

◆ setGTopo30()

void OPENTREP::Location::setGTopo30 ( const GTopo30_T & iGTopo30)
inline

Set the GTopo30.

Definition at line 779 of file Location.hpp.

◆ setPageRank()

void OPENTREP::Location::setPageRank ( const PageRank_T & iPageRank)
inline

Set the PageRank.

Definition at line 786 of file Location.hpp.

◆ setModificationDate()

void OPENTREP::Location::setModificationDate ( const Date_T & iModDate)
inline

Set the modification date.

Definition at line 793 of file Location.hpp.

◆ setWikiLink()

void OPENTREP::Location::setWikiLink ( const std::string & iWikiLink)
inline

Set the Wikipedia link.

Definition at line 800 of file Location.hpp.

◆ setGeonameLatitude()

void OPENTREP::Location::setGeonameLatitude ( const Latitude_T & iLatitude)
inline

Set the Geonames latitude.

Definition at line 807 of file Location.hpp.

◆ setGeonameLongitude()

void OPENTREP::Location::setGeonameLongitude ( const Longitude_T & iLongitude)
inline

Set the Geonames longitude.

Definition at line 814 of file Location.hpp.

◆ addName()

void OPENTREP::Location::addName ( const LanguageCode_T & iLanguageCode,
const std::string & iName )
inline

Add a name for that location.

Parameters
constLanguageCode_T& Language in which to add the name.
conststd::string& Name to be added.

Definition at line 824 of file Location.hpp.

◆ resetMatrix()

void OPENTREP::Location::resetMatrix ( )
inline

Reset the map of name lists.

Definition at line 832 of file Location.hpp.

◆ setOriginalKeywords()

void OPENTREP::Location::setOriginalKeywords ( const std::string & iOriginalKeywords)
inline

Set the original keywords.

Definition at line 839 of file Location.hpp.

◆ setCorrectedKeywords()

void OPENTREP::Location::setCorrectedKeywords ( const std::string & iCorrectedKeywords)
inline

◆ setPercentage()

void OPENTREP::Location::setPercentage ( const MatchingPercentage_T & iPercentage)
inline

Set the Xapian matching percentage.

Definition at line 853 of file Location.hpp.

◆ setEditDistance()

void OPENTREP::Location::setEditDistance ( const NbOfErrors_T & iEditDistance)
inline

Set the allowed edit distance/error.

Definition at line 860 of file Location.hpp.

◆ setAllowableEditDistance()

void OPENTREP::Location::setAllowableEditDistance ( const NbOfErrors_T & iAllowableEditDistance)
inline

Set the maxiaml allowable edit distance/error, with which the matching has been made.

Definition at line 868 of file Location.hpp.

◆ addExtraLocation()

void OPENTREP::Location::addExtraLocation ( const Location & iExtraLocation)
inline

Add an extra matching location.

Definition at line 875 of file Location.hpp.

References Location().

Referenced by OPENTREP::Place::completeLocation().

◆ addAlternateLocation()

void OPENTREP::Location::addAlternateLocation ( const Location & iAlternateLocation)
inline

Add an alternate matching location.

Definition at line 882 of file Location.hpp.

References Location().

Referenced by OPENTREP::Place::completeLocation().

◆ setRawDataString()

void OPENTREP::Location::setRawDataString ( const std::string & iRawDataString)
inline

Set the raw data string, as stored and retrieved by Xapian.

Definition at line 889 of file Location.hpp.

◆ calculateDate()

Date_T OPENTREP::Location::calculateDate ( ) const

Calculate the date from the staging details.

Definition at line 320 of file Location.cpp.

References _itDay, _itMonth, and _itYear.

◆ consolidateCityDetailsList()

void OPENTREP::Location::consolidateCityDetailsList ( )

Add the details of the served city into the dedicated list.

The staging _itCityXxx items are used to create a CityDetails object, which is then added (copied) into the underlying _cityList member object.

Definition at line 374 of file Location.cpp.

References _itCityAsciiName, _itCityCountryCode, _itCityGeonamesID, _itCityIataCode, _itCityStateCode, and _itCityUtfName.

◆ consolidateAltNameShortListString()

void OPENTREP::Location::consolidateAltNameShortListString ( )

Aggregate the temporary alternate names into the short list of alternate names.

Definition at line 385 of file Location.cpp.

References _itAltNameShortList, and setAltNameShortListString().

◆ consolidateTvlPORListString()

void OPENTREP::Location::consolidateTvlPORListString ( )

Aggregate the temporary IATA codes into the list of travel-related POR.

Definition at line 403 of file Location.cpp.

References _itTvlPORList, and setTvlPORListString().

◆ getFeatureList()

FeatureNameList_T OPENTREP::Location::getFeatureList ( const FeatureCode_T & iFeatureCode)
static

Derive a list from a (Geonames) feature code. For instance, the 'AIRP' feature code provides:

  • airport
  • airdrome
  • aerodrome
  • airfield
  • airstrip
  • airbase
Parameters
constFeatureCode_T& The feature code.
Returns
const FeatureNameList_T The list of feature names.

Definition at line 421 of file Location.cpp.

Referenced by OPENTREP::Place::addNameToXapianSets().

◆ toStream()

void OPENTREP::Location::toStream ( std::ostream & ioOut) const
virtual

Dump a structure into an output stream.

Parameters
ostream&the output stream.

Implements OPENTREP::OPENTREP_Abstract.

Definition at line 197 of file Location.cpp.

References toString().

◆ fromStream()

void OPENTREP::Location::fromStream ( std::istream & )
virtual

Read a structure from an input stream.

Parameters
istream&the input stream.

Implements OPENTREP::OPENTREP_Abstract.

Definition at line 202 of file Location.cpp.

◆ toString()

std::string OPENTREP::Location::toString ( ) const
virtual

Display of the Location structure with its associated names.

The alternate and extra matches are also fully displayed.

Implements OPENTREP::OPENTREP_Abstract.

Definition at line 282 of file Location.cpp.

References Location(), toShortString(), and toSingleLocationString().

Referenced by main(), and toStream().

◆ describeKey()

std::string OPENTREP::Location::describeKey ( ) const

Get a string describing the whole key (IATA and ICAO codes, Geonames ID).

Definition at line 213 of file Location.cpp.

References describeShortKey().

◆ describeShortKey()

std::string OPENTREP::Location::describeShortKey ( ) const

Get a string describing the whole key (IATA and ICAO codes, Geonames ID).

Definition at line 206 of file Location.cpp.

Referenced by describeKey(), and toBasicString().

◆ toBasicString()

std::string OPENTREP::Location::toBasicString ( ) const

Basic display of the Location structure.

The names are not displayed. No information is displayed about alternate and extra matches.

Definition at line 218 of file Location.cpp.

References describeCityDetailsList(), describeShortKey(), describeUICCodeList(), and describeUNLOCodeList().

Referenced by toShortString(), and toSingleLocationString().

◆ toShortString()

std::string OPENTREP::Location::toShortString ( ) const

Short display of the Location structure.

The names are not displayed. Basic information is displayed about alternate and extra matches.

Definition at line 258 of file Location.cpp.

References toBasicString().

Referenced by toString().

◆ toSingleLocationString()

std::string OPENTREP::Location::toSingleLocationString ( ) const

Display of the Location structure with its associated names.

Contrary to the toString() method, the alternate and extra matches are not displayed.

Definition at line 275 of file Location.cpp.

References toBasicString().

Referenced by toString().

◆ describeUNLOCodeList()

std::string OPENTREP::Location::describeUNLOCodeList ( ) const

Display of the list of UN/LOCODE five-letter codes.

For instance, for Atlantic City, New Jersey (NJ), United States (US), it displays "USACX,USAIY"

Definition at line 326 of file Location.cpp.

Referenced by toBasicString().

◆ describeUICCodeList()

std::string OPENTREP::Location::describeUICCodeList ( ) const

Display of the list of UIC codes.

For instance, for Gare de Grenoble, Auvergne-Rhône-Alpes (ARA), France (FR), it displays "87747006"

Definition at line 342 of file Location.cpp.

Referenced by toBasicString().

◆ describeCityDetailsList()

std::string OPENTREP::Location::describeCityDetailsList ( ) const

Display of the served cities.

For instance, for Bradley International Airport, Connecticut (CT), United States (US), it displays "HFD,BDL,SFY"

Definition at line 358 of file Location.cpp.

Referenced by toBasicString().

Member Data Documentation

◆ _itYear

year_t OPENTREP::Location::_itYear

Staging Date.

Definition at line 1423 of file Location.hpp.

Referenced by calculateDate().

◆ _itMonth

month_t OPENTREP::Location::_itMonth

Definition at line 1424 of file Location.hpp.

Referenced by calculateDate().

◆ _itDay

day_t OPENTREP::Location::_itDay

Definition at line 1425 of file Location.hpp.

Referenced by calculateDate().

◆ _itLanguageCodeNum

Language::EN_Language OPENTREP::Location::_itLanguageCodeNum

Staging alternate names.

Definition at line 1430 of file Location.hpp.

Referenced by Location(), Location(), and Location().

◆ _itLanguageCode

LanguageCode_T OPENTREP::Location::_itLanguageCode

Definition at line 1431 of file Location.hpp.

Referenced by Location(), Location(), and Location().

◆ _itLangCode2Char

std::string OPENTREP::Location::_itLangCode2Char

Definition at line 1432 of file Location.hpp.

◆ _itLangCodeExt

std::string OPENTREP::Location::_itLangCodeExt

Definition at line 1433 of file Location.hpp.

◆ _itLangCodeHist

std::string OPENTREP::Location::_itLangCodeHist

Definition at line 1434 of file Location.hpp.

◆ _itAltNameShortList

AltNameShortList_T OPENTREP::Location::_itAltNameShortList

Definition at line 1435 of file Location.hpp.

Referenced by consolidateAltNameShortListString().

◆ _itTvlPORList

IATACodeList_T OPENTREP::Location::_itTvlPORList

Staging travel-related POR

Definition at line 1440 of file Location.hpp.

Referenced by consolidateTvlPORListString().

◆ _itCityIataCode

std::string OPENTREP::Location::_itCityIataCode

Staging served cities

Definition at line 1445 of file Location.hpp.

Referenced by consolidateCityDetailsList().

◆ _itCityGeonamesID

GeonamesID_T OPENTREP::Location::_itCityGeonamesID

Definition at line 1446 of file Location.hpp.

Referenced by consolidateCityDetailsList().

◆ _itCityUtfName

std::string OPENTREP::Location::_itCityUtfName

Definition at line 1447 of file Location.hpp.

Referenced by consolidateCityDetailsList().

◆ _itCityAsciiName

std::string OPENTREP::Location::_itCityAsciiName

Definition at line 1448 of file Location.hpp.

Referenced by consolidateCityDetailsList().

◆ _itCityCountryCode

std::string OPENTREP::Location::_itCityCountryCode

Definition at line 1449 of file Location.hpp.

Referenced by consolidateCityDetailsList().

◆ _itCityStateCode

std::string OPENTREP::Location::_itCityStateCode

Definition at line 1450 of file Location.hpp.

Referenced by consolidateCityDetailsList().


The documentation for this struct was generated from the following files: