OpenTREP Logo  0.6.0
C++ Open Travel Request Parsing Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
LocationExchange.hpp
Go to the documentation of this file.
1 #ifndef __OPENTREP_BOM_LOCATIONEXCHANGE_HPP
2 #define __OPENTREP_BOM_LOCATIONEXCHANGE_HPP
3 
4 // //////////////////////////////////////////////////////////////////////
5 // Import section
6 // //////////////////////////////////////////////////////////////////////
7 // STL
8 #include <iosfwd>
9 // OpenTrep
12 
13 // Forward declarations for the Protobuf structures
14 namespace treppb {
15  class Place;
16 }
17 
18 namespace OPENTREP {
19 
20  // Forward declarations
21  struct Location;
22 
27  public:
28 
38  static void exportLocationList (std::ostream&, const LocationList_T&,
39  const WordList_T& iNonMatchedWordList);
40 
49  static void exportLocation (treppb::Place&, const Location&);
50  };
51 
52 }
53 #endif // __OPENTREP_BOM_LOCATIONEXCHANGE_HPP
static void exportLocation(treppb::Place &, const Location &)
Structure modelling a (geographical) location.
Definition: Location.hpp:24
std::list< Word_T > WordList_T
std::list< Location > LocationList_T
Utility class to export Opentrep structures in a Protobuf format.
static void exportLocationList(std::ostream &, const LocationList_T &, const WordList_T &iNonMatchedWordList)