OpenTREP Logo  0.07.18
C++ Open Travel Request Parsing Library
Loading...
Searching...
No Matches
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 <string>
9// OpenTrep
12
13// Forward declarations for the Protobuf structures
14namespace treppb {
15 class Place;
16}
17
18namespace OPENTREP {
19
20 // Forward declarations
21 struct Location;
22
27 public:
28
38 static std::string exportLocationList(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
Utility class to export Opentrep structures in a Protobuf format.
static void exportLocation(treppb::Place &, const Location &)
static std::string exportLocationList(const LocationList_T &, const WordList_T &iNonMatchedWordList)
std::list< Word_T > WordList_T
std::list< Location > LocationList_T
Structure modelling a (geographical) location.
Definition Location.hpp:25