OpenTREP Logo  0.07.18
C++ Open Travel Request Parsing Library
Loading...
Searching...
No Matches
XapianIndexManager.hpp
Go to the documentation of this file.
1#ifndef __OPENTREP_CMD_XAPIANINDEXMANAGER_HPP
2#define __OPENTREP_CMD_XAPIANINDEXMANAGER_HPP
3
4// //////////////////////////////////////////////////////////////////////
5// Import section
6// //////////////////////////////////////////////////////////////////////
7// OpenTrep
10
11namespace OPENTREP {
12
17 class XapianIndexManager {
18 friend class OPENTREP_Service;
19 private:
27 static NbOfDBEntries_T getSize (const TravelDBFilePath_T&);
28
37 static NbOfMatches_T drawRandomLocations (const TravelDBFilePath_T&,
38 const NbOfMatches_T& iNbOfDraws,
40
41 private:
45 XapianIndexManager() {}
50 ~XapianIndexManager() {}
51 };
52
53}
54#endif // __OPENTREP_CMD_XAPIANINDEXMANAGER_HPP
Command wrapping utilities for the management of the Xapian (database) index.
unsigned int NbOfDBEntries_T
std::list< Location > LocationList_T
unsigned short NbOfMatches_T