marble/src
GeoDataDocument Class Reference
#include <GeoDataDocument.h>
Inheritance diagram for GeoDataDocument:

Detailed Description
A container for Features, Styles and in the future Schemas.A GeoDataDocument is a container for features, styles, and schemas. This element is required if your KML file uses schemas or shared styles. It is recommended that all Styles be defined in a Document, each with an id, and then later referenced by a styleUrl for a given Feature or StyleMap.
Definition at line 44 of file GeoDataDocument.h.
Public Member Functions | |
| GeoDataDocument () | |
| ~GeoDataDocument () | |
| const QVector< GeoDataFolder * > | folders () const |
| void | addStyle (GeoDataStyle *style) |
| const GeoDataStyle * | style (QString styleId) const |
Constructor & Destructor Documentation
| GeoDataDocument::GeoDataDocument | ( | ) |
Definition at line 28 of file GeoDataDocument.cpp.
| GeoDataDocument::~GeoDataDocument | ( | ) |
Definition at line 32 of file GeoDataDocument.cpp.
Member Function Documentation
| const QVector< GeoDataFolder * > GeoDataDocument::folders | ( | ) | const |
A convenience function that returns all folders in the document.
- Returns:
- A QVector of GeoDataFolder*
- See also:
- GeoDataFolder
Definition at line 36 of file GeoDataDocument.cpp.
| void GeoDataDocument::addStyle | ( | GeoDataStyle * | style | ) |
Add a style to the style storage.
- Parameters:
-
style the new style
Definition at line 45 of file GeoDataDocument.cpp.
| const GeoDataStyle * GeoDataDocument::style | ( | QString | styleId | ) | const |
Return a style in the style storage.
- Parameters:
-
styleId the id of the style
Definition at line 51 of file GeoDataDocument.cpp.
The documentation for this class was generated from the following files:
KDE 4.0 API Reference