Marble::GeoDataGeometry

Marble::GeoDataGeometry Class Referenceabstract

#include <GeoDataGeometry.h>

Inheritance diagram for Marble::GeoDataGeometry:

Public Member Functions

AltitudeMode altitudeMode () const
 
virtual GeoDataGeometrycopy () const =0
 
void detach ()
 
bool extrude () const
 
virtual EnumGeometryId geometryId () const =0
 
virtual const GeoDataLatLonAltBoxlatLonAltBox () const
 
bool operator!= (const GeoDataGeometry &other) const
 
bool operator== (const GeoDataGeometry &other) const
 
void pack (QDataStream &stream) const override
 
void setAltitudeMode (const AltitudeMode altitudeMode)
 
void setExtrude (bool extrude)
 
void unpack (QDataStream &stream) override
 
- Public Member Functions inherited from Marble::GeoDataObject
 GeoDataObject (const GeoDataObject &)
 
QString id () const
 
GeoDataObjectoperator= (const GeoDataObject &)
 
void pack (QDataStream &stream) const override
 
const GeoDataObjectparent () const
 
GeoDataObjectparent ()
 
QString resolvePath (const QString &relativePath) const
 
void setId (const QString &value)
 
void setParent (GeoDataObject *parent)
 
void setTargetId (const QString &value)
 
QString targetId () const
 
void unpack (QDataStream &steam) override
 
- Public Member Functions inherited from Marble::GeoNode
virtual const char * nodeType () const =0
 

Protected Member Functions

 GeoDataGeometry (GeoDataGeometryPrivate *priv)
 
 GeoDataGeometry (const GeoDataGeometry &other)
 
bool equals (const GeoDataGeometry &other) const
 
GeoDataGeometryoperator= (const GeoDataGeometry &other)
 
- Protected Member Functions inherited from Marble::GeoDataObject
virtual bool equals (const GeoDataObject &other) const
 

Protected Attributes

GeoDataGeometryPrivate * d_ptr
 

Detailed Description

A base class for all geodata features.

GeoDataGeometry is the base class for most geodata classes that deal with geometric data (points, linestrings, polygons, etc.)

See also
GeoDataLineString
GeoDataLinearRing
GeoDataPolygon

Definition at line 43 of file GeoDataGeometry.h.

Member Function Documentation

void Marble::GeoDataGeometry::pack ( QDataStream stream) const
override

Serialize the contents of the feature to stream.

Definition at line 161 of file GeoDataGeometry.cpp.

void Marble::GeoDataGeometry::unpack ( QDataStream stream)
override

Unserialize the contents of the feature from stream.

Definition at line 169 of file GeoDataGeometry.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jul 13 2020 23:19:48 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.