0.08.01
C++ Open Travel Request Parsing Library
Toggle main menu visibility
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
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
LocationList.hpp
OPENTREP_Types.hpp
OPENTREP::OTransliterator
Definition
OTransliterator.hpp:18
OPENTREP::RequestInterpreter
Command wrapping the travel request process.
Definition
RequestInterpreter.hpp:19
OPENTREP::RequestInterpreter::OPENTREP_Service
friend class OPENTREP_Service
Definition
RequestInterpreter.hpp:20
OPENTREP
Definition
BasChronometer.cpp:10
OPENTREP::WordList_T
std::list< Word_T > WordList_T
Definition
OPENTREP_Types.hpp:690
OPENTREP::TravelQuery_T
std::string TravelQuery_T
Definition
OPENTREP_Types.hpp:660
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::DBType
Enumeration of database types.
Definition
DBType.hpp:17
OPENTREP::SQLDBConnectionString_T
Definition
OPENTREP_Types.hpp:56
OPENTREP::TravelDBFilePath_T
Definition
OPENTREP_Types.hpp:46
Generated on
for OpenTREP by
1.17.0