1#ifndef FeatureNomenclature_h
2#define FeatureNomenclature_h
11class QNetworkAccessManager;
18template <
typename T>
class QList;
127 QString
name()
const;
163 QString getTagText(QString tagName)
const;
170 QDomElement * m_xmlRepresenation;
183 void requestFinished(QNetworkReply *);
186 void readSearchResults(QDomElement);
187 void runQuery(QString target,
192 QNetworkAccessManager *m_networkMgr;
193 QNetworkRequest *m_request;
196 QList<Feature> *m_features;
Q_DECLARE_METATYPE(Isis::FeatureNomenclature::Feature)
This allows Nomenclature Features to be stored in a QVariant.
Distance measurement, usually in meters.
Definition Distance.h:34
A named feature on a target.
Definition FeatureNomenclature.h:117
QUrl referenceUrl() const
Definition FeatureNomenclature.cpp:721
QString lastUpdated() const
Definition FeatureNomenclature.cpp:713
Latitude northernLatitude() const
Definition FeatureNomenclature.cpp:554
Longitude centerLongitude() const
Definition FeatureNomenclature.cpp:529
QString origin() const
Definition FeatureNomenclature.cpp:705
QString referenceString() const
Definition FeatureNomenclature.cpp:697
Latitude centerLatitude() const
Definition FeatureNomenclature.cpp:505
Longitude easternLongitude() const
Definition FeatureNomenclature.cpp:604
QString id() const
Definition FeatureNomenclature.cpp:404
QString referenceUrlString() const
Definition FeatureNomenclature.cpp:729
QString system() const
Definition FeatureNomenclature.cpp:472
~Feature()
Clean up allocated memory by this feature.
Definition FeatureNomenclature.cpp:245
QString cleanName() const
Definition FeatureNomenclature.cpp:420
QString easternLongitudeString() const
Definition FeatureNomenclature.cpp:622
QString name() const
Definition FeatureNomenclature.cpp:412
QString originatingContinent() const
Definition FeatureNomenclature.cpp:657
QString controlNet() const
Definition FeatureNomenclature.cpp:430
QString northernLatitudeString() const
Definition FeatureNomenclature.cpp:571
Longitude westernLongitude() const
Definition FeatureNomenclature.cpp:630
QWidget * toWidget() const
This converts the data in this feature to a widget.
Definition FeatureNomenclature.cpp:258
QString diameterString() const
Definition FeatureNomenclature.cpp:497
Distance diameter() const
Definition FeatureNomenclature.cpp:480
QString centerLongitudeString() const
Definition FeatureNomenclature.cpp:546
QString approvalDate() const
Definition FeatureNomenclature.cpp:681
QString displayName() const
Definition FeatureNomenclature.cpp:448
IAUStatus status() const
Definition FeatureNomenclature.cpp:739
Feature()
Construct a feature with no data.
Definition FeatureNomenclature.cpp:213
Feature & operator=(const Feature &rhs)
Assign the values of this feature from the values of rhs.
Definition FeatureNomenclature.cpp:762
QString centerLatitudeString() const
Definition FeatureNomenclature.cpp:521
QString target() const
Definition FeatureNomenclature.cpp:464
QString westernLongitudeString() const
Definition FeatureNomenclature.cpp:648
Latitude southernLatitude() const
Definition FeatureNomenclature.cpp:579
QString southernLatitudeString() const
Definition FeatureNomenclature.cpp:596
QString approvalStatus() const
Definition FeatureNomenclature.cpp:673
QString featureType() const
Definition FeatureNomenclature.cpp:689
QString originatingEthnicity() const
Definition FeatureNomenclature.cpp:665
void swap(Feature &other)
Swap the member data of this feature with another feature.
Definition FeatureNomenclature.cpp:749
Feature nomenclature database querier.
Definition FeatureNomenclature.h:51
QList< Feature > features() const
This gives you the features found in all of the queries so far.
Definition FeatureNomenclature.cpp:135
void featuresIdentified(FeatureNomenclature *)
This is emitted when a query is completed.
void swap(FeatureNomenclature &other)
Swap the instances *this and other.
Definition FeatureNomenclature.cpp:161
bool hasResult() const
Test if any understandable results have been received from the nomenclature database.
Definition FeatureNomenclature.cpp:151
IAUStatus
Enumeration of approval statuses.
Definition FeatureNomenclature.h:57
@ Dropped
When this status is assigned to a feature, the displayed status will be "Dropped, disallowed" and the...
Definition FeatureNomenclature.h:73
@ NoStatus
When this status is assigned to a feature, there will be no status displayed and the feature will not...
Definition FeatureNomenclature.h:62
@ Unapproved
When this status is assigned to a feature, the displayed status will be "Never approved by the IAU" a...
Definition FeatureNomenclature.h:79
@ Approved
When this status is assigned to a feature, the displayed status will be "Adopted by the IAU" and the ...
Definition FeatureNomenclature.h:67
~FeatureNomenclature()
Frees allocated memory.
Definition FeatureNomenclature.cpp:76
FeatureNomenclature()
Instantiate a feature nomenclature.
Definition FeatureNomenclature.cpp:28
FeatureNomenclature & operator=(const FeatureNomenclature &other)
This takes on the data from rhs.
Definition FeatureNomenclature.cpp:175
void queryFeatures(QString target, Latitude startLat, Longitude startLon, Latitude endLat, Longitude endLon)
Makes sure the longitudinal ranges are correct.
Definition FeatureNomenclature.cpp:99
static bool featureDiameterGreaterThan(const FeatureNomenclature::Feature &lhs, const FeatureNomenclature::Feature &rhs)
Compare the diameter of two features.
Definition FeatureNomenclature.cpp:192
This class is designed to encapsulate the concept of a Latitude.
Definition Latitude.h:51
This class is designed to encapsulate the concept of a Longitude.
Definition Longitude.h:40
This is free and unencumbered software released into the public domain.
Definition BoxcarCachingAlgorithm.h:13
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16