File indexing completed on 2025-01-05 03:58:53
0001 // SPDX-License-Identifier: LGPL-2.1-or-later 0002 // 0003 // SPDX-FileCopyrightText: 2017 Mohammed Nafees <nafees.technocool@gmail.com> 0004 // 0005 0006 #ifndef MARBLE_GEODATABUILDING_P_H 0007 #define MARBLE_GEODATABUILDING_P_H 0008 0009 #include "GeoDataGeometry_p.h" 0010 #include "GeoDataMultiGeometry.h" 0011 0012 namespace Marble { 0013 0014 class GeoDataBuildingPrivate : public GeoDataGeometryPrivate 0015 { 0016 public: 0017 GeoDataBuildingPrivate() 0018 : m_height(0.0), 0019 m_minLevel(0), 0020 m_maxLevel(0) 0021 { 0022 } 0023 0024 GeoDataGeometryPrivate *copy() const override 0025 { 0026 GeoDataBuildingPrivate* copy = new GeoDataBuildingPrivate; 0027 *copy = *this; 0028 return copy; 0029 } 0030 0031 double m_height; 0032 int m_minLevel; 0033 int m_maxLevel; 0034 QVector<int> m_nonExistentLevels; 0035 GeoDataMultiGeometry m_multiGeometry; 0036 QString m_name; 0037 QVector<GeoDataBuilding::NamedEntry> m_entries; 0038 }; 0039 0040 } 0041 0042 #endif