1 #ifndef __OPENTREP_SVC_OPENTREP_SERVICE_HPP
2 #define __OPENTREP_SVC_OPENTREP_SERVICE_HPP
19 class OPENTREP_ServiceContext;
75 typedef std::pair<const PORFilePath_T, const DBFilePathPair_T>
FilePathSet_T;
338 #endif // __OPENTREP_SVC_OPENTREP_SERVICE_HPP
NbOfDBEntries_T getIndexSize()
void setSQLDBConnectString(const SQLDBConnectionString_T &)
unsigned int GeonamesID_T
unsigned short NbOfMatches_T
Class holding the context of the OpenTrep services.
bool shouldIndexNonIATAPOR_T
OPENTREP::shouldIndexPORInXapian_T toggleShouldIndexPORInXapianFlag()
NbOfDBEntries_T insertIntoDBAndXapian()
void createSQLDBIndexes()
unsigned int NbOfDBEntries_T
NbOfMatches_T listByIataCode(const IATACode_T &, LocationList_T &)
Interface for the OPENTREP Services.
std::list< Word_T > WordList_T
NbOfMatches_T listByFaaCode(const FAACode_T &, LocationList_T &)
NbOfDBEntries_T getNbOfPORFromDB()
NbOfMatches_T listByIcaoCode(const ICAOCode_T &, LocationList_T &)
NbOfMatches_T drawRandomLocations(const NbOfMatches_T &iNbOfDraws, LocationList_T &)
Enumeration of database types.
std::list< Location > LocationList_T
NbOfMatches_T listByUICCode(const UICCode_T &, LocationList_T &)
NbOfMatches_T interpretTravelRequest(const std::string &iTravelQuery, LocationList_T &, WordList_T &)
OPENTREP::shouldAddPORInSQLDB_T toggleShouldAddPORInSQLDBFlag()
bool shouldAddPORInSQLDB_T
bool shouldIndexPORInXapian_T
std::pair< const PORFilePath_T, const DBFilePathPair_T > FilePathSet_T
NbOfMatches_T listByGeonameID(const GeonamesID_T &, LocationList_T &)
OPENTREP::DeploymentNumber_T toggleDeploymentNumber()
FilePathSet_T getFilePaths() const
OPENTREP::shouldIndexNonIATAPOR_T toggleShouldIncludeAllPORFlag()
unsigned short DeploymentNumber_T
NbOfMatches_T listByUNLOCode(const UNLOCode_T &, LocationList_T &)
std::pair< const TravelDBFilePath_T, const SQLDBConnectionString_T > DBFilePathPair_T