Marble::GeoDataMultiGeometry
#include <GeoDataMultiGeometry.h>

Public Member Functions | |
GeoDataMultiGeometry (const GeoDataGeometry &other) | |
void | append (GeoDataGeometry *other) |
GeoDataGeometry & | at (int pos) |
const GeoDataGeometry & | at (int pos) const |
QVector< GeoDataGeometry * >::Iterator | begin () |
GeoDataGeometry * | child (int) |
const GeoDataGeometry * | child (int) const |
int | childPosition (const GeoDataGeometry *child) const |
void | clear () |
QVector< GeoDataGeometry * >::ConstIterator | constBegin () const |
QVector< GeoDataGeometry * >::ConstIterator | constEnd () const |
GeoDataGeometry * | copy () const override |
QVector< GeoDataGeometry * >::Iterator | end () |
QVector< GeoDataGeometry * >::Iterator | erase (QVector< GeoDataGeometry * >::Iterator begin, QVector< GeoDataGeometry * >::Iterator end) |
QVector< GeoDataGeometry * >::Iterator | erase (QVector< GeoDataGeometry * >::Iterator pos) |
GeoDataGeometry & | first () |
const GeoDataGeometry & | first () const |
EnumGeometryId | geometryId () const override |
GeoDataGeometry & | last () |
const GeoDataGeometry & | last () const |
const GeoDataLatLonAltBox & | latLonAltBox () const override |
const char * | nodeType () const override |
bool | operator!= (const GeoDataMultiGeometry &other) const |
GeoDataMultiGeometry & | operator<< (const GeoDataGeometry &value) |
bool | operator== (const GeoDataMultiGeometry &other) const |
GeoDataGeometry & | operator[] (int pos) |
const GeoDataGeometry & | operator[] (int pos) const |
void | pack (QDataStream &stream) const override |
int | size () const |
void | unpack (QDataStream &stream) override |
QVector< GeoDataGeometry * > | vector () |
![]() | |
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 |
![]() | |
GeoDataObject (const GeoDataObject &) | |
QString | id () const |
GeoDataObject & | operator= (const GeoDataObject &) |
void | pack (QDataStream &stream) const override |
GeoDataObject * | parent () |
const GeoDataObject * | parent () const |
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 | |
![]() | |
GeoDataGeometry (const GeoDataGeometry &other) | |
GeoDataGeometry (GeoDataGeometryPrivate *priv) | |
bool | equals (const GeoDataGeometry &other) const |
virtual bool | equals (const GeoDataObject &other) const |
GeoDataGeometry & | operator= (const GeoDataGeometry &other) |
![]() | |
virtual bool | equals (const GeoDataObject &other) const |
![]() | |
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
◆ append()
void Marble::GeoDataMultiGeometry::append | ( | GeoDataGeometry * | other | ) |
add an element
Definition at line 224 of file GeoDataMultiGeometry.cpp.
◆ child() [1/2]
GeoDataGeometry * Marble::GeoDataMultiGeometry::child | ( | int | i | ) |
returns the requested child item
Definition at line 193 of file GeoDataMultiGeometry.cpp.
◆ child() [2/2]
const GeoDataGeometry * Marble::GeoDataMultiGeometry::child | ( | int | i | ) | const |
returns the requested child item
Definition at line 201 of file GeoDataMultiGeometry.cpp.
◆ childPosition()
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.
◆ nodeType()
|
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:
Documentation copyright © 1996-2023 The KDE developers.
Generated on Wed Sep 27 2023 04:09:08 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.