OpenTREP Logo  0.07.4
C++ Open Travel Request Parsing Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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
unsigned short NbOfMatches_T
Interface for the OPENTREP Services.
std::list< Word_T > WordList_T
Command wrapping the travel request process.
Enumeration of database types.
Definition: DBType.hpp:17
std::list< Location > LocationList_T
std::string TravelQuery_T