0.6.0
C++ Open Travel Request Parsing Library
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
IndexBuilder.hpp
Go to the documentation of this file.
1
#ifndef __OPENTREP_CMD_INDEXBUILDER_HPP
2
#define __OPENTREP_CMD_INDEXBUILDER_HPP
3
4
// //////////////////////////////////////////////////////////////////////
5
// Import section
6
// //////////////////////////////////////////////////////////////////////
7
// OpenTrep
8
#include <
opentrep/OPENTREP_Types.hpp
>
9
10
// Forward declarations
11
namespace
Xapian {
12
class
WritableDatabase;
13
}
14
15
namespace
OPENTREP {
16
17
// Forward declarations
18
class
Place;
19
struct
OTransliterator;
20
24
class
IndexBuilder
{
25
friend
class
OPENTREP_Service
;
26
private
:
27
35
static
void
addDocumentToIndex (Xapian::WritableDatabase&,
Place
&,
36
const
OTransliterator
&);
37
45
static
NbOfDBEntries_T
buildSearchIndex (
const
PORFilePath_T
&,
46
const
TravelDBFilePath_T
&,
47
const
OTransliterator
&);
48
49
private
:
53
IndexBuilder
() {}
54
58
IndexBuilder
(
const
IndexBuilder
&) {}
59
63
~IndexBuilder() {}
64
};
65
66
}
67
#endif // __OPENTREP_CMD_INDEXBUILDER_HPP
OPENTREP_Types.hpp
OPENTREP::TravelDBFilePath_T
Definition:
OPENTREP_Types.hpp:46
OPENTREP::NbOfDBEntries_T
unsigned int NbOfDBEntries_T
Definition:
OPENTREP_Types.hpp:463
OPENTREP::OPENTREP_Service
Interface for the OPENTREP Services.
Definition:
OPENTREP_Service.hpp:24
OPENTREP::Place
Class modelling a place/POR (point of reference).
Definition:
Place.hpp:28
OPENTREP::IndexBuilder
Command wrapping the travel request process.
Definition:
IndexBuilder.hpp:24
OPENTREP::PORFilePath_T
Definition:
OPENTREP_Types.hpp:37
OPENTREP::OTransliterator
Definition:
OTransliterator.hpp:20
Generated on Mon Feb 3 2014 14:17:07 for OpenTREP by
1.8.6