4#include <QtCore/QObject>
5#include <QtCore/QString>
6#include <QtPositioning/QGeoCoordinate>
7#include <QtQmlIntegration/QtQmlIntegration>
16 Q_MOC_INCLUDE(
"Fact.h")
45 QGeoCoordinate
coordinate()
const {
return _coordinate; }
68 QGeoCoordinate _coordinate;
70 Fact *_latitudeFact =
nullptr;
71 Fact *_longitudeFact =
nullptr;
72 Fact *_latitudeDMSFact =
nullptr;
73 Fact *_longitudeDMSFact =
nullptr;
74 Fact *_zoneFact =
nullptr;
75 Fact *_hemisphereFact =
nullptr;
76 Fact *_eastingFact =
nullptr;
77 Fact *_northingFact =
nullptr;
78 Fact *_mgrsFact =
nullptr;
79 Fact *_offsetEastFact =
nullptr;
80 Fact *_offsetNorthFact =
nullptr;
81 Fact *_offsetUpFact =
nullptr;
82 Fact *_rotateDegreesCWFact =
nullptr;
84 static QMap<QString, FactMetaData*> _metaDataMap;
86 static constexpr const char *_latitudeFactName =
"Latitude";
87 static constexpr const char *_longitudeFactName =
"Longitude";
88 static constexpr const char *_latitudeDMSFactName =
"LatitudeDMS";
89 static constexpr const char *_longitudeDMSFactName =
"LongitudeDMS";
90 static constexpr const char *_zoneFactName =
"Zone";
91 static constexpr const char *_hemisphereFactName =
"Hemisphere";
92 static constexpr const char *_eastingFactName =
"Easting";
93 static constexpr const char *_northingFactName =
"Northing";
94 static constexpr const char *_mgrsFactName =
"MGRS";
95 static constexpr const char *_offsetEastFactName =
"OffsetEast";
96 static constexpr const char *_offsetNorthFactName =
"OffsetNorth";
97 static constexpr const char *_offsetUpFactName =
"OffsetUp";
98 static constexpr const char *_rotateDegreesCWFactName =
"RotateDegreesCW";
A Fact is used to hold a single value within the system.