File indexing completed on 2024-05-12 04:42:17
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 <kosm_export.h> 0011 0012 #include "datatypes.h" 0013 0014 namespace OSM { 0015 0016 /** Holds OSM elements produced by a parser prior to merging into OSM::DataSet. */ 0017 class KOSM_EXPORT DataSetMergeBuffer 0018 { 0019 public: 0020 void clear(); 0021 0022 std::vector<OSM::Node> nodes; 0023 std::vector<OSM::Way> ways; 0024 std::vector<OSM::Relation> relations; 0025 }; 0026 0027 } 0028 0029 #endif