Marble::GeoDataMultiGeometry

Search for usage in LXR

Marble::GeoDataMultiGeometry Class Reference

#include <GeoDataMultiGeometry.h>

Inheritance diagram for Marble::GeoDataMultiGeometry:

Public Member Functions

 GeoDataMultiGeometry (const GeoDataGeometry &other)
 
void append (GeoDataGeometry *other)
 
GeoDataGeometryat (int pos)
 
const GeoDataGeometryat (int pos) const
 
QVector< GeoDataGeometry * >::Iterator begin ()
 
GeoDataGeometrychild (int)
 
const GeoDataGeometrychild (int) const
 
int childPosition (const GeoDataGeometry *child) const
 
void clear ()
 
QVector< GeoDataGeometry * >::ConstIterator constBegin () const
 
QVector< GeoDataGeometry * >::ConstIterator constEnd () const
 
GeoDataGeometrycopy () const override
 
QVector< GeoDataGeometry * >::Iterator end ()
 
QVector< GeoDataGeometry * >::Iterator erase (QVector< GeoDataGeometry * >::Iterator pos)
 
QVector< GeoDataGeometry * >::Iterator erase (QVector< GeoDataGeometry * >::Iterator begin, QVector< GeoDataGeometry * >::Iterator end)
 
GeoDataGeometryfirst ()
 
const GeoDataGeometryfirst () const
 
EnumGeometryId geometryId () const override
 
GeoDataGeometrylast ()
 
const GeoDataGeometrylast () const
 
const GeoDataLatLonAltBoxlatLonAltBox () const override
 
const char * nodeType () const override
 
bool operator!= (const GeoDataMultiGeometry &other) const
 
GeoDataMultiGeometryoperator<< (const GeoDataGeometry &value)
 
bool operator== (const GeoDataMultiGeometry &other) const
 
GeoDataGeometryoperator[] (int pos)
 
const GeoDataGeometryoperator[] (int pos) const
 
void pack (QDataStream &stream) const override
 
int size () const
 
void unpack (QDataStream &stream) override
 
QVector< GeoDataGeometry * > vector ()
 
- Public Member Functions inherited from Marble::GeoDataGeometry
AltitudeMode altitudeMode () const
 
void detach ()
 
bool extrude () 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
 

Additional Inherited Members

- Protected Member Functions inherited from Marble::GeoDataGeometry
 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 inherited from Marble::GeoDataGeometry
GeoDataGeometryPrivate * d_ptr
 

Detailed Description

A class that can contain other GeoDataGeometry objects.

GeoDataMultiGeometry is a collection of other GeoDataGeometry objects. As one can add GeoDataMultiGeometry to itself, you can make up a collection of different objects to form one Placemark.

Definition at line 28 of file GeoDataMultiGeometry.h.

Member Function Documentation

void Marble::GeoDataMultiGeometry::append ( GeoDataGeometry other)

add an element

Definition at line 224 of file GeoDataMultiGeometry.cpp.

GeoDataGeometry * Marble::GeoDataMultiGeometry::child ( int  i)

returns the requested child item

Definition at line 193 of file GeoDataMultiGeometry.cpp.

const GeoDataGeometry * Marble::GeoDataMultiGeometry::child ( int  i) const

returns the requested child item

Definition at line 201 of file GeoDataMultiGeometry.cpp.

int Marble::GeoDataMultiGeometry::childPosition ( const GeoDataGeometry child) const

returns the position of an item in the list

Definition at line 210 of file GeoDataMultiGeometry.cpp.

const char * Marble::GeoDataMultiGeometry::nodeType ( ) const
overridevirtual

Provides type information for downcasting a GeoNode.

Implements Marble::GeoNode.

Definition at line 38 of file GeoDataMultiGeometry.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Tue Oct 26 2021 23:21:27 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.