OpenTREP Logo  0.6.0
C++ Open Travel Request Parsing Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 
11 namespace OPENTREP {
12 
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:
50  ~XapianIndexManager() {}
51  };
52 
53 }
54 #endif // __OPENTREP_CMD_XAPIANINDEXMANAGER_HPP
unsigned short NbOfMatches_T
unsigned int NbOfDBEntries_T
Interface for the OPENTREP Services.
std::list< Location > LocationList_T
Command wrapping utilities for the management of the Xapian (database) index.