KOSMIndoorMap

abstractwriter.cpp
1/*
2 SPDX-FileCopyrightText: 2022 Volker Krause <vkrause@kde.org>
3 SPDX-License-Identifier: LGPL-2.0-or-later
4*/
5
6#include "abstractwriter.h"
7
8#include <QIODevice>
9
10#include <cassert>
11
12using namespace OSM;
13
14AbstractWriter::~AbstractWriter() = default;
15
17{
18 assert(io);
19 assert(io->isOpen());
20 writeToIODevice(dataSet, io);
21}
void write(const OSM::DataSet &dataSet, QIODevice *io)
Write the given data set into io.
A set of nodes, ways and relations.
Definition datatypes.h:346
Low-level types and functions to work with raw OSM data as efficiently as possible.
bool isOpen() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:17:55 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.