forked from osm2pgsql-dev/osm2pgsql
-
Notifications
You must be signed in to change notification settings - Fork 0
/
output-null.cpp
79 lines (57 loc) · 1.58 KB
/
output-null.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
#include "osmtypes.hpp"
#include "output-null.hpp"
struct middle_query_t;
struct options_t;
void output_null_t::cleanup() {
}
int output_null_t::start() {
return 0;
}
void output_null_t::stop() {
}
void output_null_t::commit() {
}
void output_null_t::enqueue_ways(pending_queue_t &, osmid_t, size_t, size_t&) {
}
int output_null_t::pending_way(osmid_t, int) {
return 0;
}
void output_null_t::enqueue_relations(pending_queue_t &, osmid_t, size_t, size_t&) {
}
int output_null_t::pending_relation(osmid_t, int) {
return 0;
}
int output_null_t::node_add(osmium::Node const &) { return 0; }
int output_null_t::way_add(osmium::Way const &) {
return 0;
}
int output_null_t::relation_add(osmium::Relation const &) {
return 0;
}
int output_null_t::node_delete(osmid_t) {
return 0;
}
int output_null_t::way_delete(osmid_t) {
return 0;
}
int output_null_t::relation_delete(osmid_t) {
return 0;
}
int output_null_t::node_modify(osmium::Node const &) { return 0; }
int output_null_t::way_modify(osmium::Way const &) {
return 0;
}
int output_null_t::relation_modify(osmium::Relation const &) {
return 0;
}
std::shared_ptr<output_t> output_null_t::clone(const middle_query_t* cloned_middle) const {
output_null_t *clone = new output_null_t(*this);
clone->m_mid = cloned_middle;
return std::shared_ptr<output_t>(clone);
}
output_null_t::output_null_t(const middle_query_t* mid_, const options_t &options_): output_t(mid_, options_) {
}
output_null_t::output_null_t(const output_null_t& other): output_t(other.m_mid, other.m_options) {
}
output_null_t::~output_null_t() {
}