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