0.07.4
C++ Open Travel Request Parsing Library
|
|
Go to the documentation of this file. 1 #ifndef __OPENTREP_SVC_OPENTREPSERVICECONTEXT_HPP
2 #define __OPENTREP_SVC_OPENTREPSERVICECONTEXT_HPP
55 return _travelDBFilePath;
69 return _sqlDBConnectionString;
76 return _deploymentNumber;
83 return _shouldIndexNonIATAPOR;
90 return _shouldIndexPORInXapian;
97 return _shouldAddPORInSQLDB;
104 return _transliterator;
128 updateXapianAndSQLDBConnectionWithDeploymentNumber();
135 _sqlDBType = iDBType;
143 updateXapianAndSQLDBConnectionWithDeploymentNumber();
150 _deploymentNumber = iDeploymentNumber;
151 updateXapianAndSQLDBConnectionWithDeploymentNumber();
158 _shouldIndexNonIATAPOR = iShouldIndexNonIATAPOR;
165 _shouldIndexPORInXapian = iShouldIndexPORInXapian;
172 _shouldAddPORInSQLDB = iShouldAddPORInSQLDB;
179 _transliterator = iTransliterator;
193 const std::string
display()
const;
249 void updateXapianAndSQLDBConnectionWithDeploymentNumber();
399 #endif // __OPENTREP_SVC_OPENTREPSERVICECONTEXT_HPP
bool shouldIndexNonIATAPOR_T
const PORFilePath_T & getPORFilePath() const
const shouldIndexNonIATAPOR_T & getShouldIncludeAllPORFlag() const
void setWorld(World &ioWorld)
void setPORFilePath(const std::string &iPORFilePath)
void setDeploymentNumber(const DeploymentNumber_T &iDeploymentNumber)
void setShouldIncludeAllPORFlag(const shouldIndexNonIATAPOR_T &iShouldIndexNonIATAPOR)
const SQLDBConnectionString_T & getSQLDBConnectionString() const
const OTransliterator & getTransliterator() const
const shouldIndexPORInXapian_T & getShouldIndexPORInXapianFlag() const
const DeploymentNumber_T & getDeploymentNumber() const
const std::string display() const
void setTravelDBFilePath(const std::string &iTravelDBFilePath)
const std::string shortDisplay() const
bool shouldAddPORInSQLDB_T
const shouldAddPORInSQLDB_T & getShouldAddPORInSQLDB() const
const DBType & getSQLDBType() const
Factory for an OPENTREP_ServiceContext object.
Class holding the context of the OpenTrep services.
void setShouldAddPORInSQLDB(const shouldAddPORInSQLDB_T &iShouldAddPORInSQLDB)
World & getWorldHandler() const
void setSQLDBConnectionString(const std::string &iSQLDBConnStr)
void setSQLDBType(const DBType &iDBType)
const TravelDBFilePath_T & getTravelDBFilePath() const
unsigned short DeploymentNumber_T
void setShouldIndexPORInXapianFlag(const shouldIndexPORInXapian_T &iShouldIndexPORInXapian)
void setTransliterator(const OTransliterator &iTransliterator)
bool shouldIndexPORInXapian_T
Enumeration of database types.