OpenTREP Logo  0.07.18
C++ Open Travel Request Parsing Library
Loading...
Searching...
No Matches
FacResult.hpp
Go to the documentation of this file.
1#ifndef __OPENTREP_FAC_FACRESULT_HPP
2#define __OPENTREP_FAC_FACRESULT_HPP
3
4// //////////////////////////////////////////////////////////////////////
5// Import section
6// //////////////////////////////////////////////////////////////////////
7// OpenTrep
9
10namespace OPENTREP {
11
12 // Forward declarations.
13 class Result;
14
18 class FacResult : public FacBomAbstract {
19 public:
20
28 static FacResult& instance();
29
36 virtual ~FacResult();
37
45 Result& create (const TravelQuery_T&, const Xapian::Database&);
46
47
48 private:
55 FacResult ();
56 FacResult (const FacResult&);
57
58 private:
62 static FacResult* _instance;
63 };
64}
65#endif // __OPENTREP_FAC_FACRESULT_HPP
Result & create(const TravelQuery_T &, const Xapian::Database &)
Definition FacResult.cpp:41
static FacResult & instance()
Definition FacResult.cpp:29
Class wrapping a set of Xapian documents having matched a given query string.
Definition Result.hpp:48
std::string TravelQuery_T