13 FacResult* FacResult::_instance = NULL;
16 FacResult::FacResult () {
20 FacResult::FacResult (
const FacResult&) {
31 if (_instance == NULL) {
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);
static FacSupervisor & instance()
Result & create(const TravelQuery_T &, const Xapian::Database &)
void registerBomFactory(FacBomAbstract *)
static FacResult & instance()
std::string TravelQuery_T
Class wrapping a set of Xapian documents having matched a given query string.