|
Isis Developer Reference
|
Go to the documentation of this file. 1 #ifndef FeatureNomenclature_h
2 #define FeatureNomenclature_h
11 class QNetworkAccessManager;
13 class QNetworkRequest;
18 template <
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;
@ Degrees
Degrees are generally considered more human readable, 0-360 is one circle, however most math does not...
Definition: Angle.h:56
IAUStatus status() const
Definition: FeatureNomenclature.cpp:740
QString approvalDate() const
Definition: FeatureNomenclature.cpp:682
QString originatingEthnicity() const
Definition: FeatureNomenclature.cpp:666
void queryFeatures(QString target, Latitude startLat, Longitude startLon, Latitude endLat, Longitude endLon)
Makes sure the longitudinal ranges are correct.
Definition: FeatureNomenclature.cpp:100
QString westernLongitudeString() const
Definition: FeatureNomenclature.cpp:649
QUrl referenceUrl() const
Definition: FeatureNomenclature.cpp:722
Distance diameter() const
Definition: FeatureNomenclature.cpp:481
Latitude centerLatitude() const
Definition: FeatureNomenclature.cpp:506
QString lastUpdated() const
Definition: FeatureNomenclature.cpp:714
This is free and unencumbered software released into the public domain.
Definition: BoxcarCachingAlgorithm.h:13
This class is designed to encapsulate the concept of a Latitude.
Definition: Latitude.h:51
Feature nomenclature database querier.
Definition: FeatureNomenclature.h:51
QString referenceUrlString() const
Definition: FeatureNomenclature.cpp:730
QString northernLatitudeString() const
Definition: FeatureNomenclature.cpp:572
QString approvalStatus() const
Definition: FeatureNomenclature.cpp:674
QString displayName() const
Definition: FeatureNomenclature.cpp:449
void swap(FeatureNomenclature &other)
Swap the instances *this and other.
Definition: FeatureNomenclature.cpp:162
Latitude northernLatitude() const
Definition: FeatureNomenclature.cpp:555
QString controlNet() const
Definition: FeatureNomenclature.cpp:431
QString target() const
Definition: FeatureNomenclature.cpp:465
Feature()
Construct a feature with no data.
Definition: FeatureNomenclature.cpp:214
QString system() const
Definition: FeatureNomenclature.cpp:473
@ NoStatus
When this status is assigned to a feature, there will be no status displayed and the feature will not...
Definition: FeatureNomenclature.h:62
Longitude westernLongitude() const
Definition: FeatureNomenclature.cpp:631
~Feature()
Clean up allocated memory by this feature.
Definition: FeatureNomenclature.cpp:246
A named feature on a target.
Definition: FeatureNomenclature.h:117
bool hasResult() const
Test if any understandable results have been received from the nomenclature database.
Definition: FeatureNomenclature.cpp:152
Distance measurement, usually in meters.
Definition: Distance.h:34
This class is designed to encapsulate the concept of a Longitude.
Definition: Longitude.h:40
Longitude centerLongitude() const
Definition: FeatureNomenclature.cpp:530
@ Kilometers
The distance is being specified in kilometers.
Definition: Distance.h:45
Latitude southernLatitude() const
Definition: FeatureNomenclature.cpp:580
QString featureType() const
Definition: FeatureNomenclature.cpp:690
@ Approved
When this status is assigned to a feature, the displayed status will be "Adopted by the IAU" and the ...
Definition: FeatureNomenclature.h:67
QString diameterString() const
Definition: FeatureNomenclature.cpp:498
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
static bool featureDiameterGreaterThan(const FeatureNomenclature::Feature &lhs, const FeatureNomenclature::Feature &rhs)
Compare the diameter of two features.
Definition: FeatureNomenclature.cpp:193
Feature & operator=(const Feature &rhs)
Assign the values of this feature from the values of rhs.
Definition: FeatureNomenclature.cpp:763
QString name() const
Definition: FeatureNomenclature.cpp:413
@ Dropped
When this status is assigned to a feature, the displayed status will be "Dropped, disallowed" and the...
Definition: FeatureNomenclature.h:73
bool isValid() const
Test if this distance has been initialized or not.
Definition: Distance.cpp:192
QList< Feature > features() const
This gives you the features found in all of the queries so far.
Definition: FeatureNomenclature.cpp:136
QString origin() const
Definition: FeatureNomenclature.cpp:706
~FeatureNomenclature()
Frees allocated memory.
Definition: FeatureNomenclature.cpp:77
Isis exception class.
Definition: IException.h:91
#define ASSERT(x)
Definition: IsisDebug.h:134
void featuresIdentified(FeatureNomenclature *)
This is emitted when a query is completed.
IAUStatus
Enumeration of approval statuses.
Definition: FeatureNomenclature.h:57
FeatureNomenclature()
Instantiate a feature nomenclature.
Definition: FeatureNomenclature.cpp:29
@ Unapproved
When this status is assigned to a feature, the displayed status will be "Never approved by the IAU" a...
Definition: FeatureNomenclature.h:79
FeatureNomenclature & operator=(const FeatureNomenclature &other)
This takes on the data from rhs.
Definition: FeatureNomenclature.cpp:176
QString easternLongitudeString() const
Definition: FeatureNomenclature.cpp:623
double toDouble(const QString &string)
Global function to convert from a string to a double.
Definition: IString.cpp:149
@ Programmer
This error is for when a programmer made an API call that was illegal.
Definition: IException.h:146
void swap(Feature &other)
Swap the member data of this feature with another feature.
Definition: FeatureNomenclature.cpp:750
static QList< QPair< Longitude, Longitude > > to360Range(Longitude startLon, Longitude endLon)
Calculates where the longitude range is in 0-360.
Definition: Longitude.cpp:364
This is free and unencumbered software released into the public domain.
Definition: CubeIoHandler.h:23
QString id() const
Definition: FeatureNomenclature.cpp:405
QString cleanName() const
Definition: FeatureNomenclature.cpp:421
QString centerLongitudeString() const
Definition: FeatureNomenclature.cpp:547
QWidget * toWidget() const
This converts the data in this feature to a widget.
Definition: FeatureNomenclature.cpp:259
Q_DECLARE_METATYPE(Isis::FeatureNomenclature::Feature)
This allows Nomenclature Features to be stored in a QVariant.
QString originatingContinent() const
Definition: FeatureNomenclature.cpp:658
QString referenceString() const
Definition: FeatureNomenclature.cpp:698
QString centerLatitudeString() const
Definition: FeatureNomenclature.cpp:522
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
QString southernLatitudeString() const
Definition: FeatureNomenclature.cpp:597
Longitude easternLongitude() const
Definition: FeatureNomenclature.cpp:605