16 FacResult::FacResult () {
31 if (_instance == NULL) {
32 _instance =
new FacResult();
33 assert (_instance != NULL);
42 const Xapian::Database& iXapianDatabase) {
43 Result* oResult_ptr = NULL;
45 oResult_ptr =
new Result (iQueryString, iXapianDatabase);
46 assert (oResult_ptr != NULL);
49 _pool.push_back (oResult_ptr);
Result & create(const TravelQuery_T &, const Xapian::Database &)
static FacResult & instance()
static FacSupervisor & instance()
void registerBomFactory(FacBomAbstract *)
Class wrapping a set of Xapian documents having matched a given query string.
std::string TravelQuery_T