Overpass API regression suite coverage (Saxony) / 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 >()
347036509 q{ return osm_base_settings().NODES; }
36template< > inline File_Properties* current_skeleton_file_properties< Way_Skeleton >()
371864502 q{ return osm_base_settings().WAYS; }
39template< > inline File_Properties* current_skeleton_file_properties< Relation_Skeleton >()
401395342 q{ return osm_base_settings().RELATIONS; }
44template< typename Skeleton >
45File_Properties* current_meta_file_properties()
4755 q return 0;
50template< > inline File_Properties* current_meta_file_properties< Node_Skeleton >()
5128391365 q{ return meta_settings().NODES_META; }
53template< > inline File_Properties* current_meta_file_properties< Way_Skeleton >()
5428384359 q{ return meta_settings().WAYS_META; }
56template< > inline File_Properties* current_meta_file_properties< Relation_Skeleton >()
5728367358 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 >()
685848219 q{ return attic_settings().NODES; }
70template< > inline File_Properties* attic_skeleton_file_properties< Way_Skeleton >()
711065219 q{ return attic_settings().WAYS; }
73template< > inline File_Properties* attic_skeleton_file_properties< Relation_Skeleton >()
74831150 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 >()
852066345 q{ return osm_base_settings().NODE_TAGS_LOCAL; }
87template< > inline File_Properties* current_local_tags_file_properties< Way_Skeleton >()
882182361 q{ return osm_base_settings().WAY_TAGS_LOCAL; }
90template< > inline File_Properties* current_local_tags_file_properties< Relation_Skeleton >()
912032325 q{ return osm_base_settings().RELATION_TAGS_LOCAL; }
93template< > inline File_Properties* current_local_tags_file_properties< Area_Skeleton >()
944236 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 >()
105468311 q{ return osm_base_settings().NODE_TAGS_GLOBAL; }
107template< > inline File_Properties* current_global_tags_file_properties< Way_Skeleton >()
108592413 q{ return osm_base_settings().WAY_TAGS_GLOBAL; }
110template< > inline File_Properties* current_global_tags_file_properties< Relation_Skeleton >()
111361281 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 >()
1591714 q{ return osm_base_settings().NODE_KEYS; }
161template< > inline File_Properties* key_file_properties< Way_Skeleton >()
1621613 q{ return osm_base_settings().WAY_KEYS; }
164template< > inline File_Properties* key_file_properties< Relation_Skeleton >()
1651612 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 >()
17639164 q{ return attic_settings().NODE_IDX_LIST; }
178template< > inline File_Properties* attic_idx_list_properties< Way_Skeleton >()
17941180 q{ return attic_settings().WAY_IDX_LIST; }
181template< > inline File_Properties* attic_idx_list_properties< Relation_Skeleton >()
18241676 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 >()
19326242267 q{ return attic_settings().NODES_UNDELETED; }
195template< > inline File_Properties* attic_undeleted_file_properties< Way_Skeleton >()
19626236262 q{ return attic_settings().WAYS_UNDELETED; }
198template< > inline File_Properties* attic_undeleted_file_properties< Relation_Skeleton >()
19926231262 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 >()
21027248284 q{ return attic_settings().NODES_META; }
212template< > inline File_Properties* attic_meta_file_properties< Way_Skeleton >()
21327241275 q{ return attic_settings().WAYS_META; }
215template< > inline File_Properties* attic_meta_file_properties< Relation_Skeleton >()
21627224275 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 >()
227679131 q{ return attic_settings().NODE_TAGS_LOCAL; }
229template< > inline File_Properties* attic_local_tags_file_properties< Way_Skeleton >()
230739138 q{ return attic_settings().WAY_TAGS_LOCAL; }
232template< > inline File_Properties* attic_local_tags_file_properties< Relation_Skeleton >()
233667122 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 >()
244468311 q{ return attic_settings().NODE_TAGS_GLOBAL; }
246template< > inline File_Properties* attic_global_tags_file_properties< Way_Skeleton >()
247592413 q{ return attic_settings().WAY_TAGS_GLOBAL; }
249template< > inline File_Properties* attic_global_tags_file_properties< Relation_Skeleton >()
250361281 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 >()
2953721 q{ return attic_settings().NODE_CHANGELOG; }
297template< > inline File_Properties* changelog_file_properties< Way_Skeleton >()
2983721 q{ return attic_settings().WAY_CHANGELOG; }
300template< > inline File_Properties* changelog_file_properties< Relation_Skeleton >()
3014021 q{ return attic_settings().RELATION_CHANGELOG; }
304#endif