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

marble

  • Marble
  • OsmParser
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Marble::OsmParser Class Referenceabstract

#include <OsmParser.h>

Inheritance diagram for Marble::OsmParser:
Inheritance graph
[legend]

Public Member Functions

 OsmParser ()
 
 OsmParser (QObject *parent=0)
 
virtual ~OsmParser ()
 
void addWriter (Writer *writer)
 
void read (const QFileInfo &file, const QString &areaName)
 
void writeKml (const QString &area, const QString &version, const QString &date, const QString &transport, const QString &payload, const QString &outputKml) const
 
- Public Member Functions inherited from Marble::GeoParser
 GeoParser (GeoDataGenericSourceType sourceType)
 
virtual ~GeoParser ()
 
GeoDocument * activeDocument ()
 
QString attribute (const char *attributeName) const
 
GeoStackItem parentElement (unsigned int depth=0) const
 
void raiseWarning (const QString &)
 
bool read (QIODevice *)
 
GeoDocument * releaseDocument ()
 

Protected Member Functions

virtual bool parse (const QFileInfo &file, int pass, bool &needAnotherPass)=0
 
void setCategory (Element &element, const QString &key, const QString &value)
 
bool shouldSave (ElementType type, const QString &key, const QString &value)
 

Protected Attributes

QHash< int, Coordinate > m_coordinates
 
QHash< int, Node > m_nodes
 
QHash< int, Relation > m_relations
 
QHash< int, Way > m_ways
 
- Protected Attributes inherited from Marble::GeoParser
GeoDocument * m_document
 
GeoDataGenericSourceType m_source
 

Additional Inherited Members

- Public Types inherited from Marble::GeoParser
typedef QPair< QString, QString > QualifiedName
 

Detailed Description

Definition at line 17 of file src/plugins/runner/osm/OsmParser.h.

Constructor & Destructor Documentation

Marble::OsmParser::OsmParser ( )

Definition at line 21 of file src/plugins/runner/osm/OsmParser.cpp.

Marble::OsmParser::~OsmParser ( )
virtual

Definition at line 26 of file src/plugins/runner/osm/OsmParser.cpp.

Marble::OsmParser::OsmParser ( QObject *  parent = 0)
explicit

Definition at line 65 of file tools/osm-addresses/OsmParser.cpp.

Member Function Documentation

void Marble::OsmParser::addWriter ( Writer *  writer)

Definition at line 117 of file tools/osm-addresses/OsmParser.cpp.

virtual bool Marble::OsmParser::parse ( const QFileInfo &  file,
int  pass,
bool &  needAnotherPass 
)
protectedpure virtual

Implemented in Marble::XmlParser, and PbfParser.

void Marble::OsmParser::read ( const QFileInfo &  file,
const QString &  areaName 
)

Definition at line 218 of file tools/osm-addresses/OsmParser.cpp.

void Marble::OsmParser::setCategory ( Element &  element,
const QString &  key,
const QString &  value 
)
protected

Definition at line 621 of file tools/osm-addresses/OsmParser.cpp.

bool Marble::OsmParser::shouldSave ( ElementType  type,
const QString &  key,
const QString &  value 
)
protected

Definition at line 554 of file tools/osm-addresses/OsmParser.cpp.

void Marble::OsmParser::writeKml ( const QString &  area,
const QString &  version,
const QString &  date,
const QString &  transport,
const QString &  payload,
const QString &  outputKml 
) const

Definition at line 702 of file tools/osm-addresses/OsmParser.cpp.

Member Data Documentation

QHash<int, Coordinate> Marble::OsmParser::m_coordinates
protected

Definition at line 167 of file tools/osm-addresses/OsmParser.h.

QHash<int, Node> Marble::OsmParser::m_nodes
protected

Definition at line 169 of file tools/osm-addresses/OsmParser.h.

QHash<int, Relation> Marble::OsmParser::m_relations
protected

Definition at line 173 of file tools/osm-addresses/OsmParser.h.

QHash<int, Way> Marble::OsmParser::m_ways
protected

Definition at line 171 of file tools/osm-addresses/OsmParser.h.


The documentation for this class was generated from the following files:
  • src/plugins/runner/osm/OsmParser.h
  • src/plugins/runner/osm/OsmParser.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:56 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

marble

Skip menu "marble"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal