A list model storing a list of ArcGISFeature objects. More...
| Header | #include <ArcGIS |
| Since | Esri |
| Inherits | QAbstract |
Public Functions
| virtual | ~ |
| bool | contains( |
| QList | features(QObject *parent = nullptr) const |
| Esri | first() const |
| int | index |
| bool | is |
| Esri | last() const |
Reimplemented Public Functions
| virtual Esri | at(int index) const override |
Detailed Description
Member Function Documentation
[override virtual noexcept] ArcGISFeatureListModel::~ArcGISFeatureListModel ()
Destructor.
[override virtual] Esri::ArcGISRuntime::ArcGISFeature *ArcGISFeatureListModel::at(int index) const
Returns the map feature at the specified index.
bool ArcGISFeatureListModel::contains(Esri::ArcGISRuntime::ArcGISFeature *feature) const
Returns true if the provided feature is in the list model.
QList<Esri::ArcGISRuntime::Feature *> ArcGISFeatureListModel::features(QObject *parent = nullptr) const
Returns all features in the model in a QList as Feature objects.
An optional parent may be provided to set the parent for all objects.
Use this method to get a list of features for use with FeatureLayer::selectFeatures.
See also Returned QObjects Parenting.
Esri::ArcGISRuntime::ArcGISFeature *ArcGISFeatureListModel::first() const
Returns the first feature in the list model.
int ArcGISFeatureListModel::indexOf (Esri::ArcGISRuntime::ArcGISFeature *feature) const
Returns the index of the provided feature in the list model.
bool ArcGISFeatureListModel::isEmpty () const
Returns true if this list model is empty.
Esri::ArcGISRuntime::ArcGISFeature *ArcGISFeatureListModel::last() const
Returns the last feature in the list model.