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; }
osmium::item_type operator()(const osmium::memory::Buffer& buffer, const osmium::item_type type) { return operator()(buffer.cbegin(), buffer.cend(), type); }
inline void apply_diff(const osmium::memory::Buffer& buffer, THandlers&... handlers) { apply_diff(buffer.cbegin(), buffer.cend(), handlers...); }