Utility class to export Opentrep structures in a Protobuf format. More...
#include <opentrep/bom/LocationExchange.hpp>
Static Public Member Functions | |
static void | exportLocationList (std::ostream &, const LocationList_T &, const WordList_T &iNonMatchedWordList) |
static void | exportLocation (treppb::Place &, const Location &) |
Utility class to export Opentrep structures in a Protobuf format.
Definition at line 26 of file LocationExchange.hpp.
|
static |
Export (dump in the underlying output log stream and in Protobuf format) a list of Location objects.
std::ostream& | Output stream in which the Location objects should be logged/dumped. |
const | LocationList_T& List of Location objects to be exported. |
const | WordList_T& The list of non-matching keywords. |
Definition at line 19 of file LocationExchange.cpp.
References exportLocation().
|
static |
Export (dump in the underlying output log stream and in Protobuf format) a Location object.
treppb::Place& | Protobuf holder in which the Location structure should be logged/dumped. |
const | Location& Location object to be exported. |
Definition at line 73 of file LocationExchange.cpp.
References OPENTREP::Location::getAdmin1AsciiName(), OPENTREP::Location::getAdmin1Code(), OPENTREP::Location::getAdmin1UtfName(), OPENTREP::Location::getAdmin2AsciiName(), OPENTREP::Location::getAdmin2Code(), OPENTREP::Location::getAdmin2UtfName(), OPENTREP::Location::getAdmin3Code(), OPENTREP::Location::getAdmin4Code(), OPENTREP::Location::getAllowableEditDistance(), OPENTREP::Location::getAltCountryCode(), OPENTREP::Location::getAlternateLocationList(), OPENTREP::Location::getAsciiName(), OPENTREP::Location::getCityAsciiName(), OPENTREP::Location::getCityCode(), OPENTREP::Location::getCityUtfName(), OPENTREP::Location::getComment(), OPENTREP::Location::getCommonName(), OPENTREP::Location::getContinentCode(), OPENTREP::Location::getContinentName(), OPENTREP::Location::getCorrectedKeywords(), OPENTREP::Location::getCountryCode(), OPENTREP::Location::getCountryName(), OPENTREP::Location::getDateEnd(), OPENTREP::Location::getDateFrom(), OPENTREP::Location::getDSTOffset(), OPENTREP::Location::getEditDistance(), OPENTREP::Location::getElevation(), OPENTREP::Location::getExtraLocationList(), OPENTREP::Location::getFaaCode(), OPENTREP::Location::getFeatureClass(), OPENTREP::Location::getFeatureCode(), OPENTREP::LocationKey::getGeonamesID(), OPENTREP::Location::getGMTOffset(), OPENTREP::Location::getGTopo30(), OPENTREP::LocationKey::getIataCode(), OPENTREP::LocationKey::getIataType(), OPENTREP::Location::getIcaoCode(), OPENTREP::Location::getKey(), OPENTREP::Names::getLanguageCode(), OPENTREP::Location::getLatitude(), OPENTREP::Location::getLongitude(), OPENTREP::Location::getModificationDate(), OPENTREP::Names::getNameList(), OPENTREP::NameMatrix::getNameMatrix(), OPENTREP::Location::getNameMatrix(), OPENTREP::Location::getOriginalKeywords(), OPENTREP::Location::getPageRank(), OPENTREP::Location::getPercentage(), OPENTREP::Location::getPopulation(), OPENTREP::Location::getRawOffset(), OPENTREP::Location::getStateCode(), OPENTREP::Location::getTimeZone(), OPENTREP::Location::getTvlPORListString(), OPENTREP::IATAType::getTypeAsPB(), and OPENTREP::Location::getWikiLink().
Referenced by exportLocationList().