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