15 FacResultHolder* FacResultHolder::_instance = NULL;
18 FacResultHolder::FacResultHolder () {
22 FacResultHolder::FacResultHolder (
const FacResultHolder&) {
33 if (_instance == NULL) {
35 assert (_instance != NULL);
44 const Xapian::Database& iDatabase) {
47 oResultHolder_ptr =
new ResultHolder (iQueryString, iDatabase);
48 assert (oResultHolder_ptr != NULL);
51 _pool.push_back (oResultHolder_ptr);
53 return *oResultHolder_ptr;
60 ioResult._resultHolder = &ioResultHolder;
63 ioResultHolder._resultList.push_back (&ioResult);
ResultHolder & create(const TravelQuery_T &iQueryString, const Xapian::Database &iDatabase)
static FacSupervisor & instance()
static void initLinkWithResult(ResultHolder &, Result &)
void registerBomFactory(FacBomAbstract *)
Class wrapping functions on a list of Result objects.
static FacResultHolder & instance()
std::string TravelQuery_T
Class wrapping a set of Xapian documents having matched a given query string.
virtual ~FacResultHolder()