File indexing completed on 2024-12-08 10:16:03

0001 /*
0002     SPDX-FileCopyrightText: 2020 Volker Krause <vkrause@kde.org>
0003 
0004     SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #ifndef OSM_DATASETMERGEBUFFER_H
0008 #define OSM_DATASETMERGEBUFFER_H
0009 
0010 #include "datatypes.h"
0011 
0012 namespace OSM {
0013 
0014 /** Holds OSM elements produced by a parser prior to merging into OSM::DataSet. */
0015 class DataSetMergeBuffer
0016 {
0017 public:
0018     void clear();
0019 
0020     std::vector<OSM::Node> nodes;
0021     std::vector<OSM::Way> ways;
0022     std::vector<OSM::Relation> relations;
0023 };
0024 
0025 }
0026 
0027 #endif