A layer, sublayer, table, or subtype table that can contain an associated feature for creating an association. More...
| Header | #include <Utility |
| Since | Esri |
| Inherits | Esri |
Public Functions
| virtual | ~ |
| QList | asset |
| Esri | feature |
| QString | name() const |
| QFuture | query |
| QFuture | query |
| QFuture | query |
| QFuture | query |
Detailed Description
The UtilityAssociationsFormElement::associationFeatureSourcesAsync(Esri::ArcGISRuntime::UtilityAssociationsFilter*, QObject*) method returns a collection of UtilityAssociationFeatureSource objects, representing the sources of features that can participate in utility associations.
See also UtilityAssociationsFormElement::associationFeatureSourcesAsync(Esri::ArcGISRuntime::UtilityAssociationsFilter*, QObject*).
Member Function Documentation
[override virtual noexcept] UtilityAssociationFeatureSource::~UtilityAssociationFeatureSource ()
Destructor.
QList<Esri::ArcGISRuntime::UtilityAssetType *> UtilityAssociationFeatureSource::assetTypes () const
Returns the list of UtilityAssetType in this UtilityAssociationFeatureSource that can participate in an association.
Esri::ArcGISRuntime::FeatureFormSource *UtilityAssociationFeatureSource::featureFormSource () const
Returns the underlying source this UtilityAssociationFeatureSource represents, such as a FeatureLayer, SubtypeSublayer, ArcGISFeatureTable or SubtypeSubtable.
QString UtilityAssociationFeatureSource::name() const
Returns the name of the table or layer.
QFuture<Esri::ArcGISRuntime::UtilityAssociationFeatureSourceQueryResult *> UtilityAssociationFeatureSource::queryFeaturesAsync (QObject *parent = nullptr)
Submits a query against the UtilityAssociationFeatureSource. This will return all features.
- parent - The optional parent QObject.
This method returns a QFuture for the asynchronous operation. Use future.then() to continue processing when the operation completes. Use future.onFailed() to handle exceptions of type ErrorException.
See Working with QFuture for further details.
QFuture<Esri::ArcGISRuntime::UtilityAssociationFeatureSourceQueryResult *> UtilityAssociationFeatureSource::queryFeaturesAsync (Esri::ArcGISRuntime::UtilityAssetType *assetType , QObject *parent = nullptr)
Submits a query against the UtilityAssociationFeatureSource. This will return all features for the asset type.
- assetType - The UtilityAssetType for features to be included in the query. The UtilityAssetType should be one from assetTypes.
- parent - The optional parent QObject.
This method returns a QFuture for the asynchronous operation. Use future.then() to continue processing when the operation completes. Use future.onFailed() to handle exceptions of type ErrorException.
See Working with QFuture for further details.
QFuture<Esri::ArcGISRuntime::UtilityAssociationFeatureSourceQueryResult *> UtilityAssociationFeatureSource::queryFeaturesAsync (const Esri::ArcGISRuntime::QueryParameters ¶meters, QObject *parent = nullptr)
Submits a query against the UtilityAssociationFeatureSource.
- parameters - A query that defines the features to select from the UtilityAssociationFeatureSource.
- parent - The optional parent QObject.
This method returns a QFuture for the asynchronous operation. Use future.then() to continue processing when the operation completes. Use future.onFailed() to handle exceptions of type ErrorException.
See Working with QFuture for further details.
QFuture<Esri::ArcGISRuntime::UtilityAssociationFeatureSourceQueryResult *> UtilityAssociationFeatureSource::queryFeaturesAsync (Esri::ArcGISRuntime::UtilityAssetType *assetType , const Esri::ArcGISRuntime::QueryParameters ¶meters, QObject *parent = nullptr)
Submits a query against the UtilityAssociationFeatureSource.
- assetType - The UtilityAssetType for features to be included in the query. The UtilityAssetType should be one from assetTypes.
- parameters - A query that defines the features to select from the UtilityAssociationFeatureSource.
- parent - The optional parent QObject.
This method returns a QFuture for the asynchronous operation. Use future.then() to continue processing when the operation completes. Use future.onFailed() to handle exceptions of type ErrorException.
See Working with QFuture for further details.