• UtilityAssociationFeatureSource
  • class Esri::ArcGISRuntime::UtilityAssociationFeatureSource

    A layer, sublayer, table, or subtype table that can contain an associated feature for creating an association. More...

    Header: #include <UtilityAssociationFeatureSource.h>
    Since: Esri::ArcGISRuntime 300.0
    Inherits: Esri::ArcGISRuntime::Object

    Public Functions

    virtual ~UtilityAssociationFeatureSource() override
    QList<Esri::ArcGISRuntime::UtilityAssetType *> assetTypes() const
    Esri::ArcGISRuntime::FeatureFormSource *featureFormSource() const
    QString name() const
    QFuture<Esri::ArcGISRuntime::UtilityAssociationFeatureSourceQueryResult *> queryFeaturesAsync(QObject *parent = nullptr)
    QFuture<Esri::ArcGISRuntime::UtilityAssociationFeatureSourceQueryResult *> queryFeaturesAsync(Esri::ArcGISRuntime::UtilityAssetType *assetType, QObject *parent = nullptr)
    QFuture<Esri::ArcGISRuntime::UtilityAssociationFeatureSourceQueryResult *> queryFeaturesAsync(const Esri::ArcGISRuntime::QueryParameters &parameters, QObject *parent = nullptr)
    QFuture<Esri::ArcGISRuntime::UtilityAssociationFeatureSourceQueryResult *> queryFeaturesAsync(Esri::ArcGISRuntime::UtilityAssetType *assetType, const Esri::ArcGISRuntime::QueryParameters &parameters, QObject *parent = nullptr)

    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.

    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 &parameters, QObject *parent = nullptr)

    Submits a query against the UtilityAssociationFeatureSource.

    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 &parameters, QObject *parent = nullptr)

    Submits a query against the UtilityAssociationFeatureSource.

    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.