0.07.7
C++ Open Travel Request Parsing Library
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
10
#include <
opentrep/OPENTREP_Types.hpp
>
11
#include <
opentrep/LocationList.hpp
>
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
26
class
LocationExchange
{
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
OPENTREP::WordList_T
std::list< Word_T > WordList_T
Definition:
OPENTREP_Types.hpp:690
LocationList.hpp
OPENTREP::Location
Structure modelling a (geographical) location.
Definition:
Location.hpp:25
OPENTREP::LocationList_T
std::list< Location > LocationList_T
Definition:
LocationList.hpp:13
OPENTREP
Definition:
BasChronometer.cpp:10
OPENTREP::LocationExchange::exportLocation
static void exportLocation(treppb::Place &, const Location &)
Definition:
LocationExchange.cpp:82
treppb
Definition:
LocationExchange.hpp:14
OPENTREP::LocationExchange::exportLocationList
static std::string exportLocationList(const LocationList_T &, const WordList_T &iNonMatchedWordList)
Definition:
LocationExchange.cpp:19
OPENTREP::LocationExchange
Utility class to export Opentrep structures in a Protobuf format.
Definition:
LocationExchange.hpp:26
OPENTREP_Types.hpp
Generated on Sat Aug 1 2020 00:00:00 for OpenTREP by
1.8.18