Esempio n. 1
0
                std::string operator()() {
                    osmium::apply(m_input_buffer.cbegin(), m_input_buffer.cend(), *this);

                    if (m_write_change_ops) {
                        open_close_op_tag();
                    }

                    std::string out;
                    std::swap(out, m_out);
                    return out;
                }
Esempio n. 2
0
 osmium::item_type operator()(const osmium::memory::Buffer& buffer, const osmium::item_type type) {
     return operator()(buffer.cbegin(), buffer.cend(), type);
 }
Esempio n. 3
0
 inline void apply_diff(const osmium::memory::Buffer& buffer, THandlers&... handlers) {
     apply_diff(buffer.cbegin(), buffer.cend(), handlers...);
 }