OpenTREP Logo  0.07.4
C++ Open Travel Request Parsing Library
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
OPENTREP::NbOfDBEntries_T
unsigned int NbOfDBEntries_T
Definition: OPENTREP_Types.hpp:680
OPENTREP::OPENTREP_Service
Interface for the OPENTREP Services.
Definition: OPENTREP_Service.hpp:25
OPENTREP::NbOfMatches_T
unsigned short NbOfMatches_T
Definition: OPENTREP_Types.hpp:715
OPENTREP::XapianIndexManager
Command wrapping utilities for the management of the Xapian (database) index.
Definition: XapianIndexManager.hpp:17
LocationList.hpp
OPENTREP::LocationList_T
std::list< Location > LocationList_T
Definition: LocationList.hpp:13
OPENTREP
Definition: BasChronometer.cpp:10
OPENTREP::TravelDBFilePath_T
Definition: OPENTREP_Types.hpp:46
OPENTREP_Types.hpp