62 aOPENTREP_ServiceContext_ptr =
64 iSQLDBConnStr, iDeploymentNumber,
65 iShouldIndexNonIATAPOR,
66 iShouldIndexPORInXapian,
67 iShouldAddPORInSQLDB);
68 assert (aOPENTREP_ServiceContext_ptr != NULL);
71 _pool.push_back (aOPENTREP_ServiceContext_ptr);
73 return *aOPENTREP_ServiceContext_ptr;
Factory for an OPENTREP_ServiceContext object.
OPENTREP_ServiceContext & create(const TravelDBFilePath_T &, const DBType &, const SQLDBConnectionString_T &, const DeploymentNumber_T &)
static FacOpenTrepServiceContext & instance()
Class holding the context of the OpenTrep services.