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
 
QList< GeoDataGeometry * >::Iterator begin ()
 
GeoDataGeometrychild (int)
 
const GeoDataGeometrychild (int) const
 
int childPosition (const GeoDataGeometry *child) const
 
void clear ()
 
QList< GeoDataGeometry * >::ConstIterator constBegin () const
 
QList< GeoDataGeometry * >::ConstIterator constEnd () const
 
GeoDataGeometrycopy () const override
 
QList< GeoDataGeometry * >::Iterator end ()
 
QList< GeoDataGeometry * >::Iterator erase (QList< GeoDataGeometry * >::Iterator begin, QList< GeoDataGeometry * >::Iterator end)
 
QList< GeoDataGeometry * >::Iterator erase (QList< GeoDataGeometry * >::Iterator pos)
 
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
 
QList< 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
 
GeoDataObjectparent ()
 
const GeoDataObjectparent () 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
 
- Public Member Functions inherited from Marble::GeoNode

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
 
GeoDataGeometryoperator= (const GeoDataGeometry &other)
 
- Protected Member Functions inherited from Marble::GeoDataObject
- 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 26 of file GeoDataMultiGeometry.h.

Constructor & Destructor Documentation

◆ GeoDataMultiGeometry() [1/2]

Marble::GeoDataMultiGeometry::GeoDataMultiGeometry ( )

Definition at line 22 of file GeoDataMultiGeometry.cpp.

◆ GeoDataMultiGeometry() [2/2]

Marble::GeoDataMultiGeometry::GeoDataMultiGeometry ( const GeoDataGeometry & other)
explicit

Definition at line 27 of file GeoDataMultiGeometry.cpp.

Member Function Documentation

◆ append()

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

add an element

Definition at line 219 of file GeoDataMultiGeometry.cpp.

◆ at() [1/2]

GeoDataGeometry & Marble::GeoDataMultiGeometry::at ( int pos)

Definition at line 100 of file GeoDataMultiGeometry.cpp.

◆ at() [2/2]

const GeoDataGeometry & Marble::GeoDataMultiGeometry::at ( int pos) const

Definition at line 109 of file GeoDataMultiGeometry.cpp.

◆ begin()

QList< GeoDataGeometry * >::Iterator Marble::GeoDataMultiGeometry::begin ( )

Definition at line 157 of file GeoDataMultiGeometry.cpp.

◆ child() [1/2]

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

returns the requested child item

Definition at line 188 of file GeoDataMultiGeometry.cpp.

◆ child() [2/2]

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

returns the requested child item

Definition at line 196 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 205 of file GeoDataMultiGeometry.cpp.

◆ clear()

void Marble::GeoDataMultiGeometry::clear ( )

Definition at line 239 of file GeoDataMultiGeometry.cpp.

◆ constBegin()

QList< GeoDataGeometry * >::ConstIterator Marble::GeoDataMultiGeometry::constBegin ( ) const

Definition at line 173 of file GeoDataMultiGeometry.cpp.

◆ constEnd()

QList< GeoDataGeometry * >::ConstIterator Marble::GeoDataMultiGeometry::constEnd ( ) const

Definition at line 179 of file GeoDataMultiGeometry.cpp.

◆ copy()

GeoDataGeometry * Marble::GeoDataMultiGeometry::copy ( ) const
overridevirtual

Implements Marble::GeoDataGeometry.

Definition at line 44 of file GeoDataMultiGeometry.cpp.

◆ end()

QList< GeoDataGeometry * >::Iterator Marble::GeoDataMultiGeometry::end ( )

Definition at line 165 of file GeoDataMultiGeometry.cpp.

◆ first() [1/2]

GeoDataGeometry & Marble::GeoDataMultiGeometry::first ( )

Definition at line 137 of file GeoDataMultiGeometry.cpp.

◆ first() [2/2]

const GeoDataGeometry & Marble::GeoDataMultiGeometry::first ( ) const

Definition at line 151 of file GeoDataMultiGeometry.cpp.

◆ geometryId()

EnumGeometryId Marble::GeoDataMultiGeometry::geometryId ( ) const
overridevirtual

Implements Marble::GeoDataGeometry.

Definition at line 39 of file GeoDataMultiGeometry.cpp.

◆ last() [1/2]

GeoDataGeometry & Marble::GeoDataMultiGeometry::last ( )

Definition at line 129 of file GeoDataMultiGeometry.cpp.

◆ last() [2/2]

const GeoDataGeometry & Marble::GeoDataMultiGeometry::last ( ) const

Definition at line 145 of file GeoDataMultiGeometry.cpp.

◆ latLonAltBox()

const GeoDataLatLonAltBox & Marble::GeoDataMultiGeometry::latLonAltBox ( ) const
overridevirtual

Reimplemented from Marble::GeoDataGeometry.

Definition at line 67 of file GeoDataMultiGeometry.cpp.

◆ nodeType()

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

Provides type information for downcasting a GeoNode.

Implements Marble::GeoNode.

Definition at line 34 of file GeoDataMultiGeometry.cpp.

◆ operator!=()

bool Marble::GeoDataMultiGeometry::operator!= ( const GeoDataMultiGeometry & other) const
inline

Definition at line 41 of file GeoDataMultiGeometry.h.

◆ operator<<()

GeoDataMultiGeometry & Marble::GeoDataMultiGeometry::operator<< ( const GeoDataGeometry & value)

Definition at line 228 of file GeoDataMultiGeometry.cpp.

◆ operator==()

bool Marble::GeoDataMultiGeometry::operator== ( const GeoDataMultiGeometry & other) const

Definition at line 49 of file GeoDataMultiGeometry.cpp.

◆ operator[]() [1/2]

GeoDataGeometry & Marble::GeoDataMultiGeometry::operator[] ( int pos)

Definition at line 115 of file GeoDataMultiGeometry.cpp.

◆ operator[]() [2/2]

const GeoDataGeometry & Marble::GeoDataMultiGeometry::operator[] ( int pos) const

Definition at line 123 of file GeoDataMultiGeometry.cpp.

◆ pack()

void Marble::GeoDataMultiGeometry::pack ( QDataStream & stream) const
override

Definition at line 248 of file GeoDataMultiGeometry.cpp.

◆ size()

int Marble::GeoDataMultiGeometry::size ( ) const

Definition at line 87 of file GeoDataMultiGeometry.cpp.

◆ unpack()

void Marble::GeoDataMultiGeometry::unpack ( QDataStream & stream)
override

Definition at line 263 of file GeoDataMultiGeometry.cpp.

◆ vector()

QList< GeoDataGeometry * > Marble::GeoDataMultiGeometry::vector ( )

Definition at line 93 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-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:15:46 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.