5#ifndef MARBLE_GEODATARELATION_H
6#define MARBLE_GEODATARELATION_H
8#include "GeoDataCoordinates.h"
9#include "GeoDataPlacemark.h"
11#include "geodata_export.h"
15class GeoDataRelationPrivate;
18class GEODATA_EXPORT GeoDataRelation :
public GeoDataFeature
30 RouteTrolleyBus = 1 << 8,
31 RouteBicycle = 1 << 9,
32 RouteMountainbike = 1 << 10,
34 RouteHiking = 1 << 12,
36 RouteInlineSkates = 1 << 14,
37 RouteSkiDownhill = 1 << 15,
38 RouteSkiNordic = 1 << 16,
39 RouteSkitour = 1 << 17,
43 Q_DECLARE_FLAGS(RelationTypes, RelationType)
46 ~GeoDataRelation()
override;
47 GeoDataRelation(
const GeoDataRelation &other);
48 GeoDataRelation &operator=(GeoDataRelation other);
49 bool operator<(
const GeoDataRelation &other)
const;
51 const char *nodeType()
const override;
52 GeoDataFeature *clone()
const override;
54 void addMember(
const GeoDataFeature *feature, qint64
id, OsmType type,
const QString &role);
57 OsmPlacemarkData &osmData();
58 const OsmPlacemarkData &osmData()
const;
60 RelationType relationType()
const;
65 GeoDataRelationPrivate *
const d_ptr;
66 Q_DECLARE_PRIVATE(GeoDataRelation)
bool operator<(const PosRange< Trait > &l, const PosRange< Trait > &r)
Binds a QML item to a specific geodetic location in screen coordinates.
OsmType
Type of OSM element.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:52:12 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.