Isis Developer Reference
|
A named feature on a target. More...
#include <FeatureNomenclature.h>
Public Member Functions | |
Feature () | |
Construct a feature with no data. More... | |
Feature (QDomElement searchResultFeature, IAUStatus status) | |
Construct a feature with the data encapsulated inside of the XML. More... | |
Feature (const Feature &other) | |
Copy a feature. More... | |
~Feature () | |
Clean up allocated memory by this feature. More... | |
QWidget * | toWidget () const |
This converts the data in this feature to a widget. More... | |
QString | id () const |
QString | name () const |
QString | cleanName () const |
QString | controlNet () const |
QString | displayName () const |
QString | target () const |
QString | system () const |
Distance | diameter () const |
QString | diameterString () const |
Latitude | centerLatitude () const |
QString | centerLatitudeString () const |
Longitude | centerLongitude () const |
QString | centerLongitudeString () const |
Latitude | northernLatitude () const |
QString | northernLatitudeString () const |
Latitude | southernLatitude () const |
QString | southernLatitudeString () const |
Longitude | easternLongitude () const |
QString | easternLongitudeString () const |
Longitude | westernLongitude () const |
QString | westernLongitudeString () const |
QString | originatingContinent () const |
QString | originatingEthnicity () const |
QString | approvalStatus () const |
QString | approvalDate () const |
QString | featureType () const |
QString | referenceString () const |
QString | origin () const |
QString | lastUpdated () const |
QUrl | referenceUrl () const |
QString | referenceUrlString () const |
IAUStatus | status () const |
void | swap (Feature &other) |
Swap the member data of this feature with another feature. More... | |
Feature & | operator= (const Feature &rhs) |
Assign the values of this feature from the values of rhs. More... | |
A named feature on a target.
This class encapsulates the idea of a single named feature on a target. The accessor methods will return empty strings/invalid data types if data is not present or available. These should be instantiated (originally) by the FeatureNomenclature class.
Isis::FeatureNomenclature::Feature::Feature | ( | ) |
Construct a feature with no data.
References Isis::FeatureNomenclature::NoStatus.
Isis::FeatureNomenclature::Feature::Feature | ( | QDomElement | searchResultFeature, |
IAUStatus | status | ||
) |
Construct a feature with the data encapsulated inside of the XML.
Isis::FeatureNomenclature::Feature::Feature | ( | const Feature & | other | ) |
Copy a feature.
This is a shallow copy.
other | The feature to copy |
Isis::FeatureNomenclature::Feature::~Feature | ( | ) |
Clean up allocated memory by this feature.
QString Isis::FeatureNomenclature::Feature::approvalDate | ( | ) | const |
Referenced by toWidget().
QString Isis::FeatureNomenclature::Feature::approvalStatus | ( | ) | const |
Referenced by toWidget().
Latitude Isis::FeatureNomenclature::Feature::centerLatitude | ( | ) | const |
References Isis::Angle::Degrees, and Isis::toDouble().
QString Isis::FeatureNomenclature::Feature::centerLatitudeString | ( | ) | const |
Referenced by toWidget().
Longitude Isis::FeatureNomenclature::Feature::centerLongitude | ( | ) | const |
References Isis::Angle::Degrees, and Isis::toDouble().
QString Isis::FeatureNomenclature::Feature::centerLongitudeString | ( | ) | const |
Referenced by toWidget().
QString Isis::FeatureNomenclature::Feature::cleanName | ( | ) | const |
QString Isis::FeatureNomenclature::Feature::controlNet | ( | ) | const |
Referenced by toWidget().
Distance Isis::FeatureNomenclature::Feature::diameter | ( | ) | const |
References Isis::Distance::Kilometers, and Isis::toDouble().
Referenced by Isis::FeatureNomenclature::featureDiameterGreaterThan().
QString Isis::FeatureNomenclature::Feature::diameterString | ( | ) | const |
Referenced by toWidget().
QString Isis::FeatureNomenclature::Feature::displayName | ( | ) | const |
Referenced by toWidget().
Longitude Isis::FeatureNomenclature::Feature::easternLongitude | ( | ) | const |
References Isis::Angle::Degrees, and Isis::toDouble().
QString Isis::FeatureNomenclature::Feature::easternLongitudeString | ( | ) | const |
Referenced by toWidget().
QString Isis::FeatureNomenclature::Feature::featureType | ( | ) | const |
Referenced by toWidget().
QString Isis::FeatureNomenclature::Feature::id | ( | ) | const |
Referenced by toWidget().
QString Isis::FeatureNomenclature::Feature::lastUpdated | ( | ) | const |
Referenced by toWidget().
QString Isis::FeatureNomenclature::Feature::name | ( | ) | const |
Latitude Isis::FeatureNomenclature::Feature::northernLatitude | ( | ) | const |
References Isis::Angle::Degrees, and Isis::toDouble().
QString Isis::FeatureNomenclature::Feature::northernLatitudeString | ( | ) | const |
Referenced by toWidget().
FeatureNomenclature::Feature & Isis::FeatureNomenclature::Feature::operator= | ( | const Feature & | rhs | ) |
Assign the values of this feature from the values of rhs.
rhs | The feature on the right hand side of the '=' operator |
References Isis::FeatureNomenclature::swap().
QString Isis::FeatureNomenclature::Feature::origin | ( | ) | const |
Referenced by toWidget().
QString Isis::FeatureNomenclature::Feature::originatingContinent | ( | ) | const |
Referenced by toWidget().
QString Isis::FeatureNomenclature::Feature::originatingEthnicity | ( | ) | const |
Referenced by toWidget().
QString Isis::FeatureNomenclature::Feature::referenceString | ( | ) | const |
Referenced by toWidget().
QUrl Isis::FeatureNomenclature::Feature::referenceUrl | ( | ) | const |
QString Isis::FeatureNomenclature::Feature::referenceUrlString | ( | ) | const |
Referenced by toWidget().
Latitude Isis::FeatureNomenclature::Feature::southernLatitude | ( | ) | const |
References Isis::Angle::Degrees, and Isis::toDouble().
QString Isis::FeatureNomenclature::Feature::southernLatitudeString | ( | ) | const |
Referenced by toWidget().
FeatureNomenclature::IAUStatus Isis::FeatureNomenclature::Feature::status | ( | ) | const |
void Isis::FeatureNomenclature::Feature::swap | ( | Feature & | other | ) |
Swap the member data of this feature with another feature.
other | The feature to swap with. |
QString Isis::FeatureNomenclature::Feature::system | ( | ) | const |
Referenced by toWidget().
QString Isis::FeatureNomenclature::Feature::target | ( | ) | const |
Referenced by toWidget().
QWidget * Isis::FeatureNomenclature::Feature::toWidget | ( | ) | const |
This converts the data in this feature to a widget.
All of the information returned by the server is encapsulated in this widget. There are no controls, this is a display only.
References approvalDate(), approvalStatus(), centerLatitudeString(), centerLongitudeString(), controlNet(), diameterString(), displayName(), easternLongitudeString(), featureType(), id(), lastUpdated(), northernLatitudeString(), origin(), originatingContinent(), originatingEthnicity(), referenceString(), referenceUrlString(), southernLatitudeString(), system(), target(), and westernLongitudeString().
Longitude Isis::FeatureNomenclature::Feature::westernLongitude | ( | ) | const |
References Isis::Angle::Degrees, and Isis::toDouble().
QString Isis::FeatureNomenclature::Feature::westernLongitudeString | ( | ) | const |
Referenced by toWidget().