4#include <QtCore/QObject>
5#include <QtCore/QString>
6#include <QtPositioning/QGeoCoordinate>
7#include <QtQmlIntegration/QtQmlIntegration>
16 Q_MOC_INCLUDE(
"Fact.h")
41 QGeoCoordinate
coordinate()
const {
return _coordinate; }
59 QGeoCoordinate _coordinate;
61 Fact *_latitudeFact =
nullptr;
62 Fact *_longitudeFact =
nullptr;
63 Fact *_zoneFact =
nullptr;
64 Fact *_hemisphereFact =
nullptr;
65 Fact *_eastingFact =
nullptr;
66 Fact *_northingFact =
nullptr;
67 Fact *_mgrsFact =
nullptr;
68 Fact *_offsetEastFact =
nullptr;
69 Fact *_offsetNorthFact =
nullptr;
70 Fact *_offsetUpFact =
nullptr;
71 Fact *_rotateDegreesCWFact =
nullptr;
73 static QMap<QString, FactMetaData*> _metaDataMap;
75 static constexpr const char *_latitudeFactName =
"Latitude";
76 static constexpr const char *_longitudeFactName =
"Longitude";
77 static constexpr const char *_zoneFactName =
"Zone";
78 static constexpr const char *_hemisphereFactName =
"Hemisphere";
79 static constexpr const char *_eastingFactName =
"Easting";
80 static constexpr const char *_northingFactName =
"Northing";
81 static constexpr const char *_mgrsFactName =
"MGRS";
82 static constexpr const char *_offsetEastFactName =
"OffsetEast";
83 static constexpr const char *_offsetNorthFactName =
"OffsetNorth";
84 static constexpr const char *_offsetUpFactName =
"OffsetUp";
85 static constexpr const char *_rotateDegreesCWFactName =
"RotateDegreesCW";
A Fact is used to hold a single value within the system.