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

marble/src

GeoDataDocument Class Reference

#include <GeoDataDocument.h>

Inheritance diagram for GeoDataDocument:

Inheritance graph
[legend]

List of all members.


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