• Skip to content
  • Skip to link menu
KDE 4.0 API Reference
  • KDE API Reference
  • kdeedu
  • Sitemap
  • Contact Us
 

marble/src

GeoDataContainer Class Reference

#include <GeoDataContainer.h>

Inheritance diagram for GeoDataContainer:

Inheritance graph
[legend]

List of all members.


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

GeoDataDocument

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]

Destruct the GeoDataContainer.

Definition at line 21 of file GeoDataContainer.cpp.

GeoDataContainer::GeoDataContainer (  )  [protected]

Default constructor.

Definition at line 17 of file GeoDataContainer.cpp.


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:
  • GeoDataContainer.h
  • GeoDataContainer.cpp

marble/src

Skip menu "marble/src"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

kdeedu

Skip menu "kdeedu"
  • kalzium
  • kanagram
  • kig
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  •   docs
  •   src
  • parley
Generated for kdeedu by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal