0.07.4
C++ Open Travel Request Parsing Library
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
8
#include <
opentrep/OPENTREP_Types.hpp
>
9
#include <
opentrep/LocationList.hpp
>
10
11
namespace
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
&,
53
const
SQLDBConnectionString_T
&,
54
const
TravelQuery_T
&,
55
LocationList_T
&,
WordList_T
&,
56
const
OTransliterator
&);
57
58
private
:
62
RequestInterpreter
() {}
63
RequestInterpreter
(
const
RequestInterpreter
&) {}
67
~RequestInterpreter() {}
68
};
69
70
}
71
#endif // __OPENTREP_CMD_REQUESTINTERPRETER_HPP
OPENTREP::TravelQuery_T
std::string TravelQuery_T
Definition:
OPENTREP_Types.hpp:660
OPENTREP::RequestInterpreter
Command wrapping the travel request process.
Definition:
RequestInterpreter.hpp:19
OPENTREP::WordList_T
std::list< Word_T > WordList_T
Definition:
OPENTREP_Types.hpp:690
OPENTREP::OPENTREP_Service
Interface for the OPENTREP Services.
Definition:
OPENTREP_Service.hpp:25
OPENTREP::OTransliterator
Definition:
OTransliterator.hpp:18
OPENTREP::SQLDBConnectionString_T
Definition:
OPENTREP_Types.hpp:56
OPENTREP::NbOfMatches_T
unsigned short NbOfMatches_T
Definition:
OPENTREP_Types.hpp:715
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::DBType
Enumeration of database types.
Definition:
DBType.hpp:17
OPENTREP_Types.hpp
Generated on Thu Dec 19 2019 00:00:00 for OpenTREP by
1.8.16