Overpass API regression suite coverage (Nova Scotia) / overpass_api/data/filenames.h

overpass_api/data/filenames.h

40 of 53 instrumented lines run by the suite (75.5%) at 8edf11b0419c (this file on GitHub).

runnever runcolumns: line, executions, queries (click for the queries that run the line)

1/** Copyright 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018 Roland Olbricht et al.
2 *
3 * This file is part of Overpass_API.
4 *
5 * Overpass_API is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU Affero General Public License as
7 * published by the Free Software Foundation, either version 3 of the
8 * License, or (at your option) any later version.
9 *
10 * Overpass_API is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU Affero General Public License
16 * along with Overpass_API. If not, see <http://www.gnu.org/licenses/>.
17 */
19#ifndef DE__OSM3S___OVERPASS_API__DATA__FILENAMES_H
20#define DE__OSM3S___OVERPASS_API__DATA__FILENAMES_H
23#include "../core/settings.h"
24#include "../core/datatypes.h"
27template< typename Skeleton >
28File_Properties* current_skeleton_file_properties()
30 return 0;
33template< > inline File_Properties* current_skeleton_file_properties< Node_Skeleton >()
343637471 q{ return osm_base_settings().NODES; }
36template< > inline File_Properties* current_skeleton_file_properties< Way_Skeleton >()
372581462 q{ return osm_base_settings().WAYS; }
39template< > inline File_Properties* current_skeleton_file_properties< Relation_Skeleton >()
401434324 q{ return osm_base_settings().RELATIONS; }
44template< typename Skeleton >
45File_Properties* current_meta_file_properties()
4733 q return 0;
50template< > inline File_Properties* current_meta_file_properties< Node_Skeleton >()
514465327 q{ return meta_settings().NODES_META; }
53template< > inline File_Properties* current_meta_file_properties< Way_Skeleton >()
544457317 q{ return meta_settings().WAYS_META; }
56template< > inline File_Properties* current_meta_file_properties< Relation_Skeleton >()
574443319 q{ return meta_settings().RELATIONS_META; }
61template< typename Skeleton >
62File_Properties* attic_skeleton_file_properties()
64 return 0;
67template< > inline File_Properties* attic_skeleton_file_properties< Node_Skeleton >()
681701204 q{ return attic_settings().NODES; }
70template< > inline File_Properties* attic_skeleton_file_properties< Way_Skeleton >()
711128195 q{ return attic_settings().WAYS; }
73template< > inline File_Properties* attic_skeleton_file_properties< Relation_Skeleton >()
74911145 q{ return attic_settings().RELATIONS; }
78template< typename Skeleton >
79File_Properties* current_local_tags_file_properties()
81 return 0;
84template< > inline File_Properties* current_local_tags_file_properties< Node_Skeleton >()
853469309 q{ return osm_base_settings().NODE_TAGS_LOCAL; }
87template< > inline File_Properties* current_local_tags_file_properties< Way_Skeleton >()
881985338 q{ return osm_base_settings().WAY_TAGS_LOCAL; }
90template< > inline File_Properties* current_local_tags_file_properties< Relation_Skeleton >()
912662299 q{ return osm_base_settings().RELATION_TAGS_LOCAL; }
93template< > inline File_Properties* current_local_tags_file_properties< Area_Skeleton >()
943428 q{ return area_settings().AREA_TAGS_LOCAL; }
98template< typename Skeleton >
99File_Properties* current_global_tags_file_properties()
101 return 0;
104template< > inline File_Properties* current_global_tags_file_properties< Node_Skeleton >()
105446299 q{ return osm_base_settings().NODE_TAGS_GLOBAL; }
107template< > inline File_Properties* current_global_tags_file_properties< Way_Skeleton >()
108562389 q{ return osm_base_settings().WAY_TAGS_GLOBAL; }
110template< > inline File_Properties* current_global_tags_file_properties< Relation_Skeleton >()
111360279 q{ return osm_base_settings().RELATION_TAGS_GLOBAL; }
113template< > inline File_Properties* current_global_tags_file_properties< Area_Skeleton >()
1140{ return area_settings().AREA_TAGS_GLOBAL; }
118template< typename Skeleton >
119File_Properties* current_global_tags_file_properties_756()
121 return 0;
124template< > inline File_Properties* current_global_tags_file_properties_756< Node_Skeleton >()
1250{ return osm_base_settings().NODE_TAGS_GLOBAL_756; }
127template< > inline File_Properties* current_global_tags_file_properties_756< Way_Skeleton >()
1280{ return osm_base_settings().WAY_TAGS_GLOBAL_756; }
130template< > inline File_Properties* current_global_tags_file_properties_756< Relation_Skeleton >()
1310{ return osm_base_settings().RELATION_TAGS_GLOBAL_756; }
135template< typename Skeleton >
136File_Properties* current_global_tag_frequency_file_properties()
138 return 0;
141template< > inline File_Properties* current_global_tag_frequency_file_properties< Node_Skeleton >()
1420{ return osm_base_settings().NODE_FREQUENT_TAGS; }
144template< > inline File_Properties* current_global_tag_frequency_file_properties< Way_Skeleton >()
1450{ return osm_base_settings().WAY_FREQUENT_TAGS; }
147template< > inline File_Properties* current_global_tag_frequency_file_properties< Relation_Skeleton >()
1480{ return osm_base_settings().RELATION_FREQUENT_TAGS; }
152template< typename Skeleton >
153File_Properties* key_file_properties()
155 return 0;
158template< > inline File_Properties* key_file_properties< Node_Skeleton >()
1591814 q{ return osm_base_settings().NODE_KEYS; }
161template< > inline File_Properties* key_file_properties< Way_Skeleton >()
1621914 q{ return osm_base_settings().WAY_KEYS; }
164template< > inline File_Properties* key_file_properties< Relation_Skeleton >()
1651410 q{ return osm_base_settings().RELATION_KEYS; }
169template< typename Skeleton >
170File_Properties* attic_idx_list_properties()
172 return 0;
175template< > inline File_Properties* attic_idx_list_properties< Node_Skeleton >()
17640757 q{ return attic_settings().NODE_IDX_LIST; }
178template< > inline File_Properties* attic_idx_list_properties< Way_Skeleton >()
17941259 q{ return attic_settings().WAY_IDX_LIST; }
181template< > inline File_Properties* attic_idx_list_properties< Relation_Skeleton >()
18245056 q{ return attic_settings().RELATION_IDX_LIST; }
186template< typename Skeleton >
187File_Properties* attic_undeleted_file_properties()
189 return 0;
192template< > inline File_Properties* attic_undeleted_file_properties< Node_Skeleton >()
1932412239 q{ return attic_settings().NODES_UNDELETED; }
195template< > inline File_Properties* attic_undeleted_file_properties< Way_Skeleton >()
1962400232 q{ return attic_settings().WAYS_UNDELETED; }
198template< > inline File_Properties* attic_undeleted_file_properties< Relation_Skeleton >()
1992394231 q{ return attic_settings().RELATIONS_UNDELETED; }
203template< typename Skeleton >
204File_Properties* attic_meta_file_properties()
206 return 0;
209template< > inline File_Properties* attic_meta_file_properties< Node_Skeleton >()
2103363249 q{ return attic_settings().NODES_META; }
212template< > inline File_Properties* attic_meta_file_properties< Way_Skeleton >()
2133355237 q{ return attic_settings().WAYS_META; }
215template< > inline File_Properties* attic_meta_file_properties< Relation_Skeleton >()
2163341239 q{ return attic_settings().RELATIONS_META; }
220template< typename Skeleton >
221File_Properties* attic_local_tags_file_properties()
223 return 0;
226template< > inline File_Properties* attic_local_tags_file_properties< Node_Skeleton >()
227612124 q{ return attic_settings().NODE_TAGS_LOCAL; }
229template< > inline File_Properties* attic_local_tags_file_properties< Way_Skeleton >()
230636130 q{ return attic_settings().WAY_TAGS_LOCAL; }
232template< > inline File_Properties* attic_local_tags_file_properties< Relation_Skeleton >()
233601114 q{ return attic_settings().RELATION_TAGS_LOCAL; }
237template< typename Skeleton >
238File_Properties* attic_global_tags_file_properties()
240 return 0;
243template< > inline File_Properties* attic_global_tags_file_properties< Node_Skeleton >()
244446299 q{ return attic_settings().NODE_TAGS_GLOBAL; }
246template< > inline File_Properties* attic_global_tags_file_properties< Way_Skeleton >()
247562389 q{ return attic_settings().WAY_TAGS_GLOBAL; }
249template< > inline File_Properties* attic_global_tags_file_properties< Relation_Skeleton >()
250360279 q{ return attic_settings().RELATION_TAGS_GLOBAL; }
254template< typename Skeleton >
255File_Properties* attic_global_tags_file_properties_756()
257 return 0;
260template< > inline File_Properties* attic_global_tags_file_properties_756< Node_Skeleton >()
2610{ return attic_settings().NODE_TAGS_GLOBAL_756; }
263template< > inline File_Properties* attic_global_tags_file_properties_756< Way_Skeleton >()
2640{ return attic_settings().WAY_TAGS_GLOBAL_756; }
266template< > inline File_Properties* attic_global_tags_file_properties_756< Relation_Skeleton >()
2670{ return attic_settings().RELATION_TAGS_GLOBAL_756; }
271template< typename Skeleton >
272File_Properties* attic_global_tag_frequency_file_properties()
274 return 0;
277template< > inline File_Properties* attic_global_tag_frequency_file_properties< Node_Skeleton >()
2780{ return attic_settings().NODE_FREQUENT_TAGS; }
280template< > inline File_Properties* attic_global_tag_frequency_file_properties< Way_Skeleton >()
2810{ return attic_settings().WAY_FREQUENT_TAGS; }
283template< > inline File_Properties* attic_global_tag_frequency_file_properties< Relation_Skeleton >()
2840{ return attic_settings().RELATION_FREQUENT_TAGS; }
288template< typename Skeleton >
289File_Properties* changelog_file_properties()
291 return 0;
294template< > inline File_Properties* changelog_file_properties< Node_Skeleton >()
2952113 q{ return attic_settings().NODE_CHANGELOG; }
297template< > inline File_Properties* changelog_file_properties< Way_Skeleton >()
2982513 q{ return attic_settings().WAY_CHANGELOG; }
300template< > inline File_Properties* changelog_file_properties< Relation_Skeleton >()
3012413 q{ return attic_settings().RELATION_CHANGELOG; }
304#endif