OpenTREP Logo  0.07.18
C++ Open Travel Request Parsing Library
Loading...
Searching...
No Matches
RequestInterpreter.hpp
Go to the documentation of this file.
1#ifndef __OPENTREP_CMD_REQUESTINTERPRETER_HPP
2#define __OPENTREP_CMD_REQUESTINTERPRETER_HPP
3
4// //////////////////////////////////////////////////////////////////////
5// Import section
6// //////////////////////////////////////////////////////////////////////
7// OpenTrep
10
11namespace OPENTREP {
12
13 // Forward declarations
14 class OTransliterator;
15
19 class RequestInterpreter {
20 friend class OPENTREP_Service;
21 private:
33 static bool areAllCodeOrGeoID (const TravelQuery_T&, WordList_T&);
34
51 static NbOfMatches_T interpretTravelRequest (const TravelDBFilePath_T&,
52 const DBType&,
54 const TravelQuery_T&,
56 const OTransliterator&);
57
58 private:
62 RequestInterpreter() {}
67 ~RequestInterpreter() {}
68 };
69
70}
71#endif // __OPENTREP_CMD_REQUESTINTERPRETER_HPP
Command wrapping the travel request process.
std::list< Word_T > WordList_T
std::string TravelQuery_T
std::list< Location > LocationList_T
unsigned short NbOfMatches_T
Enumeration of database types.
Definition DBType.hpp:17