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 () |
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 |
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 | |
Protected Member Functions inherited from Marble::GeoDataGeometry | |
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) |
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.
Constructor & Destructor Documentation
◆ GeoDataMultiGeometry() [1/2]
Marble::GeoDataMultiGeometry::GeoDataMultiGeometry | ( | ) |
Definition at line 24 of file GeoDataMultiGeometry.cpp.
◆ GeoDataMultiGeometry() [2/2]
|
explicit |
Definition at line 29 of file GeoDataMultiGeometry.cpp.
◆ ~GeoDataMultiGeometry()
|
override |
Definition at line 34 of file GeoDataMultiGeometry.cpp.
Member Function Documentation
◆ append()
void Marble::GeoDataMultiGeometry::append | ( | GeoDataGeometry * | other | ) |
add an element
Definition at line 224 of file GeoDataMultiGeometry.cpp.
◆ at() [1/2]
GeoDataGeometry & Marble::GeoDataMultiGeometry::at | ( | int | pos | ) |
Definition at line 105 of file GeoDataMultiGeometry.cpp.
◆ at() [2/2]
const GeoDataGeometry & Marble::GeoDataMultiGeometry::at | ( | int | pos | ) | const |
Definition at line 114 of file GeoDataMultiGeometry.cpp.
◆ begin()
QVector< GeoDataGeometry * >::Iterator Marble::GeoDataMultiGeometry::begin | ( | ) |
Definition at line 162 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.
◆ clear()
void Marble::GeoDataMultiGeometry::clear | ( | ) |
Definition at line 245 of file GeoDataMultiGeometry.cpp.
◆ constBegin()
QVector< GeoDataGeometry * >::ConstIterator Marble::GeoDataMultiGeometry::constBegin | ( | ) | const |
Definition at line 178 of file GeoDataMultiGeometry.cpp.
◆ constEnd()
QVector< GeoDataGeometry * >::ConstIterator Marble::GeoDataMultiGeometry::constEnd | ( | ) | const |
Definition at line 184 of file GeoDataMultiGeometry.cpp.
◆ copy()
|
overridevirtual |
Implements Marble::GeoDataGeometry.
Definition at line 48 of file GeoDataMultiGeometry.cpp.
◆ end()
QVector< GeoDataGeometry * >::Iterator Marble::GeoDataMultiGeometry::end | ( | ) |
Definition at line 170 of file GeoDataMultiGeometry.cpp.
◆ first() [1/2]
GeoDataGeometry & Marble::GeoDataMultiGeometry::first | ( | ) |
Definition at line 142 of file GeoDataMultiGeometry.cpp.
◆ first() [2/2]
const GeoDataGeometry & Marble::GeoDataMultiGeometry::first | ( | ) | const |
Definition at line 156 of file GeoDataMultiGeometry.cpp.
◆ geometryId()
|
overridevirtual |
Implements Marble::GeoDataGeometry.
Definition at line 43 of file GeoDataMultiGeometry.cpp.
◆ last() [1/2]
GeoDataGeometry & Marble::GeoDataMultiGeometry::last | ( | ) |
Definition at line 134 of file GeoDataMultiGeometry.cpp.
◆ last() [2/2]
const GeoDataGeometry & Marble::GeoDataMultiGeometry::last | ( | ) | const |
Definition at line 150 of file GeoDataMultiGeometry.cpp.
◆ latLonAltBox()
|
overridevirtual |
Reimplemented from Marble::GeoDataGeometry.
Definition at line 71 of file GeoDataMultiGeometry.cpp.
◆ nodeType()
|
overridevirtual |
Provides type information for downcasting a GeoNode.
Implements Marble::GeoNode.
Definition at line 38 of file GeoDataMultiGeometry.cpp.
◆ operator!=()
|
inline |
Definition at line 43 of file GeoDataMultiGeometry.h.
◆ operator<<()
GeoDataMultiGeometry & Marble::GeoDataMultiGeometry::operator<< | ( | const GeoDataGeometry & | value | ) |
Definition at line 234 of file GeoDataMultiGeometry.cpp.
◆ operator==()
bool Marble::GeoDataMultiGeometry::operator== | ( | const GeoDataMultiGeometry & | other | ) | const |
Definition at line 53 of file GeoDataMultiGeometry.cpp.
◆ operator[]() [1/2]
GeoDataGeometry & Marble::GeoDataMultiGeometry::operator[] | ( | int | pos | ) |
Definition at line 120 of file GeoDataMultiGeometry.cpp.
◆ operator[]() [2/2]
const GeoDataGeometry & Marble::GeoDataMultiGeometry::operator[] | ( | int | pos | ) | const |
Definition at line 128 of file GeoDataMultiGeometry.cpp.
◆ pack()
|
override |
Definition at line 254 of file GeoDataMultiGeometry.cpp.
◆ size()
int Marble::GeoDataMultiGeometry::size | ( | ) | const |
Definition at line 92 of file GeoDataMultiGeometry.cpp.
◆ unpack()
|
override |
Definition at line 272 of file GeoDataMultiGeometry.cpp.
◆ vector()
QVector< GeoDataGeometry * > Marble::GeoDataMultiGeometry::vector | ( | ) |
Definition at line 98 of file GeoDataMultiGeometry.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:18:18 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.