0.08.01
C++ Open Travel Request Parsing Library
Toggle main menu visibility
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
8
#include <
opentrep/OPENTREP_Types.hpp
>
9
#include <
opentrep/LocationList.hpp
>
10
11
namespace
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,
39
LocationList_T
&);
40
41
private
:
45
XapianIndexManager() {}
46
XapianIndexManager
(
const
XapianIndexManager
&) {}
50
~XapianIndexManager() {}
51
};
52
53
}
54
#endif
// __OPENTREP_CMD_XAPIANINDEXMANAGER_HPP
LocationList.hpp
OPENTREP_Types.hpp
OPENTREP::XapianIndexManager
Command wrapping utilities for the management of the Xapian (database) index.
Definition
XapianIndexManager.hpp:17
OPENTREP::XapianIndexManager::OPENTREP_Service
friend class OPENTREP_Service
Definition
XapianIndexManager.hpp:18
OPENTREP
Definition
BasChronometer.cpp:10
OPENTREP::NbOfDBEntries_T
unsigned int NbOfDBEntries_T
Definition
OPENTREP_Types.hpp:680
OPENTREP::LocationList_T
std::list< Location > LocationList_T
Definition
LocationList.hpp:18
OPENTREP::NbOfMatches_T
unsigned short NbOfMatches_T
Definition
OPENTREP_Types.hpp:715
OPENTREP::TravelDBFilePath_T
Definition
OPENTREP_Types.hpp:46
Generated on
for OpenTREP by
1.17.0