OpenTREP Logo  0.07.7
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
10 
11 namespace OPENTREP {
12 
13  // Forward declarations
14  class OTransliterator;
15 
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:
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