|
libosmscout
1.1.1
|
#include <libosmscout-client-qt/include/osmscout/LocationEntry.h>


Public Types | |
| enum | Type { typeNone, typeObject, typeCoordinate } |
Public Member Functions | |
| LocationEntry (Type type, const QString &label, const QString &objectType, const QStringList &adminRegionList, const QString database, const osmscout::GeoCoord coord, const osmscout::GeoBox bbox, QObject *parent=nullptr) | |
| LocationEntry (const QString &label, const osmscout::GeoCoord &coord, QObject *parent=nullptr) | |
| LocationEntry (QObject *parent=nullptr) | |
| LocationEntry (const LocationEntry &other) | |
| ~LocationEntry () override=default | |
| void | operator= (const LocationEntry &) |
| void | addReference (const osmscout::ObjectFileRef reference) |
| void | mergeWith (const LocationEntry &location) |
| Q_INVOKABLE double | distanceTo (double lat, double lon) const |
| Type | getType () const |
| QString | getTypeString () const |
| QString | getObjectType () const |
| QString | getLabel () const |
| QStringList | getAdminRegionList () const |
| QString | getDatabase () const |
| osmscout::GeoCoord | getCoord () const |
| osmscout::GeoBox | getBBox () const |
| const QList< osmscout::ObjectFileRef > & | getReferences () const |
| double | getLat () const |
| double | getLon () const |
Properties | |
| QString | label |
| QString | type |
| QString | objectType |
| double | lat |
| double | lon |
Qt abstraction for various objects on map, used for search and routing
| osmscout::LocationEntry::LocationEntry | ( | Type | type, |
| const QString & | label, | ||
| const QString & | objectType, | ||
| const QStringList & | adminRegionList, | ||
| const QString | database, | ||
| const osmscout::GeoCoord | coord, | ||
| const osmscout::GeoBox | bbox, | ||
| QObject * | parent = nullptr |
||
| ) |
| osmscout::LocationEntry::LocationEntry | ( | const QString & | label, |
| const osmscout::GeoCoord & | coord, | ||
| QObject * | parent = nullptr |
||
| ) |
|
explicit |
| osmscout::LocationEntry::LocationEntry | ( | const LocationEntry & | other | ) |
copy constructor, note that it copy Qt ownership
| other |
|
overridedefault |
| void osmscout::LocationEntry::addReference | ( | const osmscout::ObjectFileRef | reference | ) |
| Q_INVOKABLE double osmscout::LocationEntry::distanceTo | ( | double | lat, |
| double | lon | ||
| ) | const |
| QStringList osmscout::LocationEntry::getAdminRegionList | ( | ) | const |
| osmscout::GeoBox osmscout::LocationEntry::getBBox | ( | ) | const |
| osmscout::GeoCoord osmscout::LocationEntry::getCoord | ( | ) | const |
| QString osmscout::LocationEntry::getDatabase | ( | ) | const |
| QString osmscout::LocationEntry::getLabel | ( | ) | const |
| double osmscout::LocationEntry::getLat | ( | ) | const |
| double osmscout::LocationEntry::getLon | ( | ) | const |
| QString osmscout::LocationEntry::getObjectType | ( | ) | const |
| const QList<osmscout::ObjectFileRef>& osmscout::LocationEntry::getReferences | ( | ) | const |
| Type osmscout::LocationEntry::getType | ( | ) | const |
| QString osmscout::LocationEntry::getTypeString | ( | ) | const |
| void osmscout::LocationEntry::mergeWith | ( | const LocationEntry & | location | ) |
| void osmscout::LocationEntry::operator= | ( | const LocationEntry & | ) |
|
read |
|
read |
|
read |
|
read |
|
read |
1.8.14