1 #ifndef FeatureNomenclature_h
2 #define FeatureNomenclature_h
11 class QNetworkAccessManager;
13 class QNetworkRequest;
18 template <
typename T>
class QList;
124 QString
name()
const;
When this status is assigned to a feature, there will be no status displayed and the feature will not...
void queryFeatures(QString target, Latitude startLat, Longitude startLon, Latitude endLat, Longitude endLon)
Makes sure the longitudinal ranges are correct.
QString approvalDate() const
QNetworkRequest * m_request
Network request sent.
QString originatingEthnicity() const
void readSearchResults(QDomElement)
This is a helper method for requestFinished.
When this status is assigned to a feature, the displayed status will be "Dropped, disallowed" and the...
IAUStatus m_statusApproval
The approval status of the feature from the database.
Longitude westernLongitude() const
FeatureNomenclature()
Instantiate a feature nomenclature.
QString westernLongitudeString() const
Feature nomenclature database querier.
Latitude northernLatitude() const
IAUStatus m_approvalStatus
The approval status of the feature.
QWidget * toWidget() const
This converts the data in this feature to a widget.
When this status is assigned to a feature, the displayed status will be "Adopted by the IAU" and the ...
QString controlNet() const
void swap(Feature &other)
Swap the member data of this feature with another feature.
QString southernLatitudeString() const
QString referenceUrlString() const
This class is designed to encapsulate the concept of a Latitude.
QString centerLongitudeString() const
QString displayName() const
Q_DECLARE_METATYPE(Isis::Cube *)
This allows Cube *'s to be stored in a QVariant.
~FeatureNomenclature()
Frees allocated memory.
QString centerLatitudeString() const
QString diameterString() const
Feature & operator=(const Feature &rhs)
Assign the values of this feature from the values of rhs.
Latitude southernLatitude() const
Feature()
Construct a feature with no data.
Distance measurement, usually in meters.
QList< Feature > * m_features
These are the features identified by the nomenclature database.
QString getTagText(QString tagName) const
Get the string value of an element of the XML.
QNetworkAccessManager * m_networkMgr
Network manager does request.
This class is designed to encapsulate the concept of a Longitude.
bool m_lastQuery
True if all queries have finished.
When this status is assigned to a feature, the displayed status will be "Never approved by the IAU" a...
QString lastUpdated() const
Latitude centerLatitude() const
void runQuery(QString target, Latitude startLat, Longitude startLon, Latitude endLat, Longitude endLon)
Query the nomenclature database for features inside the given range on the target.
QString featureType() const
QUrl referenceUrl() const
Longitude centerLongitude() const
QList< Feature > features() const
This gives you the features found in all of the queries so far.
Distance diameter() const
void swap(FeatureNomenclature &other)
Swap the instances *this and other.
QString referenceString() const
QDomElement * m_xmlRepresenation
This is the XML returned by the nomenclature DB.
~Feature()
Clean up allocated memory by this feature.
QString cleanName() const
Longitude easternLongitude() const
void requestFinished(QNetworkReply *)
This is called when a query is done.
QString approvalStatus() const
QString easternLongitudeString() const
static bool featureDiameterGreaterThan(const FeatureNomenclature::Feature &lhs, const FeatureNomenclature::Feature &rhs)
Compare the diameter of two features.
void featuresIdentified(FeatureNomenclature *)
This is emitted when a query is completed.
QString originatingContinent() const
bool hasResult() const
Test if any understandable results have been received from the nomenclature database.
QString northernLatitudeString() const
FeatureNomenclature & operator=(const FeatureNomenclature &other)
This takes on the data from rhs.
A named feature on a target.
IAUStatus
Enumeration of approval statuses.