marble/src
GeoDataContainer Class Reference
#include <GeoDataContainer.h>

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
Definition at line 35 of file GeoDataContainer.h.
Public Member Functions | |
| virtual | ~GeoDataContainer () |
| void | addFeature (GeoDataFeature *feature) |
| virtual void | pack (QDataStream &stream) const |
| virtual void | unpack (QDataStream &stream) |
Protected Member Functions | |
| GeoDataContainer () | |
Protected Attributes | |
| QVector< GeoDataFeature * > | m_featureVector |
Constructor & Destructor Documentation
| GeoDataContainer::~GeoDataContainer | ( | ) | [virtual] |
| GeoDataContainer::GeoDataContainer | ( | ) | [protected] |
Member Function Documentation
| void GeoDataContainer::addFeature | ( | GeoDataFeature * | feature | ) |
Add a feature to the container.
- Parameters:
-
feature the new feature
Definition at line 30 of file GeoDataContainer.cpp.
| void GeoDataContainer::pack | ( | QDataStream & | stream | ) | const [virtual] |
Serialize the container to a stream.
- Parameters:
-
stream the stream
Reimplemented from GeoDataFeature.
Definition at line 36 of file GeoDataContainer.cpp.
| void GeoDataContainer::unpack | ( | QDataStream & | stream | ) | [virtual] |
Unserialize the container from a stream.
- Parameters:
-
stream the stream
Reimplemented from GeoDataFeature.
Definition at line 51 of file GeoDataContainer.cpp.
Member Data Documentation
QVector< GeoDataFeature* > GeoDataContainer::m_featureVector [protected] |
The vector holding all the features in the container.
Definition at line 69 of file GeoDataContainer.h.
The documentation for this class was generated from the following files:
KDE 4.0 API Reference