Input(const osmium::io::File& file) : m_file(file) { m_header.has_multiple_object_versions(m_file.has_multiple_object_versions()); m_file.open_for_input(); }
explicit InputFormat(const osmium::io::File& file, osmium::osm_entity_bits::type read_which_entities, osmium::thread::Queue<std::string>& input_queue) : m_file(file), m_read_which_entities(read_which_entities), m_input_queue(input_queue) { m_header.set_has_multiple_object_versions(m_file.has_multiple_object_versions()); }
XMLOutputFormat(const osmium::io::File& file, data_queue_type& output_queue) : OutputFormat(file, output_queue), m_write_visible_flag(file.has_multiple_object_versions() || m_file.is_true("force_visible_flag")) { }