marble
#include <GeoUriParser.h>
Public Member Functions | |
GeoUriParser (const QString &geoUri=QString()) | |
GeoDataCoordinates | coordinates () const |
QString | geoUri () const |
bool | parse () |
Planet | planet () const |
void | setGeoUri (const QString &geoUri) |
Detailed Description
A class for parsing Geo: URIs.
Wikipage: http://en.wikipedia.org/wiki/Geo_URI RFC: 5870 (8 June 2010)
Definition at line 27 of file GeoUriParser.h.
Constructor & Destructor Documentation
Constructs a new GeoUriParser with the given Geo URI.
Definition at line 23 of file GeoUriParser.cpp.
Member Function Documentation
GeoDataCoordinates Marble::GeoUriParser::coordinates | ( | ) | const |
Returns the coordinates parsed.
null is returned when parsing was not successful.
Definition at line 42 of file GeoUriParser.cpp.
QString Marble::GeoUriParser::geoUri | ( | ) | const |
Returns the Geo URI stored in this parser.
Definition at line 37 of file GeoUriParser.cpp.
bool Marble::GeoUriParser::parse | ( | ) |
Parse the given Geo URI.
- Returns
- true iff the GeoURI is valid and was successfully parsed
Definition at line 72 of file GeoUriParser.cpp.
Planet Marble::GeoUriParser::planet | ( | ) | const |
Returns the Planet on which the coordinates are valid.
Definition at line 47 of file GeoUriParser.cpp.
void Marble::GeoUriParser::setGeoUri | ( | const QString & | geoUri | ) |
Set the Geo URI to be parsed.
Definition at line 30 of file GeoUriParser.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:45 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.