LBS C++ binding
Experimental automated C++ generation from LBS APIs defined in Franca IDL
FreeTextSearch.types.h
1 #pragma once
2 // Generated from Franca IDL Interface
3 // 2017-04-17 49:17
4 
5 /*
6  * SPDX-License-Identifier: MPL-2.0
7  *
8  * Copyright (C) 2014, PCA Peugeot Citroen, XS Embedded GmbH, TomTom
9  * International B.V., Continental Automotive GmbH, BMW Car IT GmbH,
10  * Alpine Electronics R&D Europe GmbH, AISIN AW CO., LTD., Neusoft
11  * Technology Solutions GmbH, Jaguar Land Rover Limited,
12  * Visteon Corporation, Elektrobit Automotive GmbH
13  *
14  * This Source Code Form is subject to the terms of the
15  * Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with
16  * this file, you can obtain one at http://mozilla.org/MPL/2.0/.
17 */
18 
19 #include "CommonTypes.types.h"
20 #include "NavigationTypes.types.h"
21 #include "franca_types.h"
22 
23 // Typedef #0 from FreeTextSearch in package
24 // org.genivi.navigation.freetextsearchservice
25 struct RouteCorridor {
26  Handle routeHandle;
27  DistanceInMeters startOffset;
28  DistanceInMeters corridorWidth;
29  DistanceInMeters corridorLength;
30 };
31 
32 // Typedef #1 from FreeTextSearch in package
33 // org.genivi.navigation.freetextsearchservice
34 typedef String FtsString;
35 
36 // Typedef #2 from FreeTextSearch in package
37 // org.genivi.navigation.freetextsearchservice
38 enum class PlaceType {
39  OTHER = 0,
40  SETTLEMENT = 1,
41 
42 };
43 
44 // Typedef #3 from FreeTextSearch in package
45 // org.genivi.navigation.freetextsearchservice
47  FtsString closestStreetName;
48 };
49 
50 // Typedef #4 from FreeTextSearch in package
51 // org.genivi.navigation.freetextsearchservice
53  Rectangle boundingBox;
54 };
55 
56 // Typedef #5 from FreeTextSearch in package
57 // org.genivi.navigation.freetextsearchservice
59  FtsString closestStreetName;
60 };
61 
62 // Typedef #6 from FreeTextSearch in package
63 // org.genivi.navigation.freetextsearchservice
64 struct PlaceDetails {
65  PlaceType placeType;
66  FtsString placeName;
67  Rectangle placeBoundingBox;
68 };
69 
70 // Typedef #7 from FreeTextSearch in package
71 // org.genivi.navigation.freetextsearchservice
72 typedef UInt32 LocationHandle;
73 
74 // Typedef #8 from FreeTextSearch in package
75 // org.genivi.navigation.freetextsearchservice
76 typedef UInt16 Score;
77 
78 // Typedef #9 from FreeTextSearch in package
79 // org.genivi.navigation.freetextsearchservice
80 union Shape {
81  Circle circle;
82  Rectangle rectangle;
83  RouteCorridor routeCorridor;
84 };
85 
86 // Typedef #10 from FreeTextSearch in package
87 // org.genivi.navigation.freetextsearchservice
88 struct StreetDetails {
89  FtsString streetName;
90  FtsString houseNumber;
91  FtsString houseNumberFromInput;
92 };
93 
94 // Typedef #11 from FreeTextSearch in package
95 // org.genivi.navigation.freetextsearchservice
96 enum class FtsRangeConstants {
97  MAX_FUZZY_LEVEL = 5,
98  MAX_SHAPES = 31,
99  MAX_STRING_LIST_SIZE = 100,
100  MAX_RESULTS = 500,
101  MAX_STRING_LENGTH = 4095,
102  MAX_LOCATION_HANDLES_LIST_SIZE = 4096,
103 
104 };
105 
106 // Typedef #12 from FreeTextSearch in package
107 // org.genivi.navigation.freetextsearchservice
108 typedef UInt32 POICategoryCode;
109 
110 // Typedef #13 from FreeTextSearch in package
111 // org.genivi.navigation.freetextsearchservice
112 enum class FtsStatus {
113  OK = 0,
114  ABORTED = 1,
115  PREFIX_TOO_SHORT = 2,
116  INTERNAL_ERROR = 3,
117  INDEX_MISSING = 4,
118  BAD_VERSION = 5,
119  INVALID_PARAMETER_QUERY = 6,
120  INVALID_PARAMETER_SEARCH_LOCATION = 7,
121  INVALID_PARAMETER_PAGE_SIZE = 8,
122  INVALID_PARAMETER_SEARCH_OPTIONS = 9,
123  INVALID_PARAMETER_SEARCH_CONDITIONS = 10,
124  INVALID_PARAMETER_SEARCH_SHAPES = 11,
125  INVALID_PARAMETER_FUZZY_LEVEL = 12,
126  INVALID_COORDINATES_INPUT = 13,
127 
128 };
129 
130 // Typedef #14 from FreeTextSearch in package
131 // org.genivi.navigation.freetextsearchservice
133  StreetDetails streetDetails;
134  PlaceDetails placeDetails;
135  MapCodeDetails mapCodeDetails;
136  PoliticalDivisionDetails politicalDivisionDetails;
137  CoordinatesDetails coordinatesDetails;
138 };
139 
140 // Typedef #15 from FreeTextSearch in package
141 // org.genivi.navigation.freetextsearchservice
142 typedef Int32 PageId;
143 
144 // Typedef #16 from FreeTextSearch in package
145 // org.genivi.navigation.freetextsearchservice
146 typedef std::vector<FtsString> FtsStringList;
147 // Typedef #17 from FreeTextSearch in package
148 // org.genivi.navigation.freetextsearchservice
149 typedef UInt16 PageSize;
150 
151 // Typedef #18 from FreeTextSearch in package
152 // org.genivi.navigation.freetextsearchservice
153 typedef UInt32 SearchOptions;
154 
155 // Typedef #19 from FreeTextSearch in package
156 // org.genivi.navigation.freetextsearchservice
157 struct POI {
158  LocationHandle locationHandle;
159  POICategoryCode categoryCode;
160  FtsStringList brandNames;
161  FtsString poiName;
162  FtsString address;
163  FtsStringList place;
164  FtsStringList postalCode;
165  FtsString mapCode;
166  FtsString countryCode;
167  FtsString stateCode;
168  FtsString telephone;
169  Coordinate2D coordinate;
170  DistanceInMeters distance;
171  Score score;
172  Boolean fuzzyMatch;
173  Boolean hasParents;
174  Boolean hasChildren;
175  DistanceInMeters detourDistance;
176  Int32 detourTime;
177 };
178 
179 // Typedef #20 from FreeTextSearch in package
180 // org.genivi.navigation.freetextsearchservice
181 struct Address {
182  LocationHandle locationHandle;
183  FtsString countryCode;
184  FtsString stateCode;
185  FtsStringList places;
186  FtsStringList postalCodes;
187  FtsString mapCode;
188  AddressDetails addressDetails;
189  Coordinate2D coordinate;
190  DistanceInMeters distance;
191  Score score;
192  Boolean fuzzyMatch;
193 };
194 
195 // Typedef #21 from FreeTextSearch in package
196 // org.genivi.navigation.freetextsearchservice
197 enum class SearchOption {
198  ADDRESS = 1,
199  POI = 2,
200  POI_SUGGESTION = 4,
201  NO_PLACES = 65536,
202  NO_STREETS = 131072,
203  NO_POI_CATEGORY_ASSUMPTIONS = 262144,
204  NO_POLITICAL_DIVISIONS = 524288,
205  POI_INDICATE_LINKS = 1048576,
206 
207 };
208 
209 // Typedef #22 from FreeTextSearch in package
210 // org.genivi.navigation.freetextsearchservice
211 typedef Int8 FuzzyLevel;
212 
213 // Typedef #23 from FreeTextSearch in package
214 // org.genivi.navigation.freetextsearchservice
215 typedef std::vector<Address> Addresses;
216 // Typedef #24 from FreeTextSearch in package
217 // org.genivi.navigation.freetextsearchservice
218 typedef std::vector<Shape> ShapeList;
219 // Typedef #25 from FreeTextSearch in package
220 // org.genivi.navigation.freetextsearchservice
221 typedef std::vector<LocationHandle> LocationHandleList;
222 // Typedef #26 from FreeTextSearch in package
223 // org.genivi.navigation.freetextsearchservice
224 struct POICategory {
225  POICategoryCode categoryCode;
226  FtsString categoryName;
227  FtsString matchedName;
228  FtsString searchTextSuggestion;
229  Addresses nearAddressSuggestions;
230  Score score;
231 };
232 
233 // Typedef #27 from FreeTextSearch in package
234 // org.genivi.navigation.freetextsearchservice
235 typedef std::vector<POI> POIs;
236 // Typedef #28 from FreeTextSearch in package
237 // org.genivi.navigation.freetextsearchservice
238 typedef std::vector<POICategory> POICategories;
Definition: FreeTextSearch.types.h:88
Definition: FreeTextSearch.types.h:52
Definition: FreeTextSearch.types.h:181
Definition: FreeTextSearch.types.h:58
Definition: FreeTextSearch.types.h:64
Definition: FreeTextSearch.types.h:80
Definition: FreeTextSearch.types.h:132
Definition: FreeTextSearch.types.h:25
Definition: FreeTextSearch.types.h:157
Definition: NavigationTypes.types.h:92
Definition: NavigationTypes.types.h:33
Definition: FreeTextSearch.types.h:224
Definition: NavigationTypes.types.h:22
Definition: FreeTextSearch.types.h:46