GeoDataContainer Class Reference
from PyKDE4.marble import *
Inherits: Marble.GeoDataFeature → Marble.GeoDataObject → Marble.GeoNode
Subclasses: Marble.GeoDataFolder
Namespace: Marble
Detailed Description
A base class that can hold GeoDataFeatures
GeoDataContainer is the base class for the GeoData container
classes GeoDataFolder and GeoDataDocument. It is never
instantiated by itself, but is always used as part of a derived
class.
It is based on GeoDataFeature, and it only adds a
QVector<GeodataFeature *> to it, making it a Feature that can hold
other Features.
- See also:
- GeoDataFolder
- See also:
- GeoDataDocument
Method Documentation
return the reference of the element at a specific position
QVector::Iterator begin |
( |
|
self ) |
|
QVector::ConstIterator constBegin |
( |
|
self ) |
|
QVector::ConstIterator constEnd |
( |
|
self ) |
|
QVector::Iterator end |
( |
|
self ) |
|
QVector features |
( |
|
self ) |
|
A convenience function that returns all features in this container.
- Returns:
- A QVector of GeoDataFeature
- See also:
- GeoDataFeature
return the reference of the last element for convenience
A convenience function that returns all folders in this container.
- Returns:
- A QVector of GeoDataFolder
- See also:
- GeoDataFolder
return the reference of the last element for convenience
Serialize the container to a stream.
- Parameters:
-
QVector placemarks |
( |
|
self ) |
|
A convenience function that returns all placemarks in this container.
- Returns:
- A QVector of GeoDataPlacemark
- See also:
- GeoDataPlacemark
- See also:
- PlacemarkContainer
Unserialize the container from a stream
- Parameters:
-