Obsolete Members for UtilityNetworkDefinition

  • UtilityNetworkDefinition
  • The following members of class UtilityNetworkDefinition are deprecated. They are provided to keep old source code working. We strongly advise against using them in new code.

    Public Functions

    (deprecated) Esri::ArcGISRuntime::TaskWatcher rules(const QList<Esri::ArcGISRuntime::UtilityAssetType *> &assetTypes)

    Signals

    (deprecated) void rulesCompleted(const QUuid &taskId, const QList<Esri::ArcGISRuntime::UtilityRule *> &utilityRuleResult)

    Member Function Documentation

    [since Esri::ArcGISRuntime 200.1] Esri::ArcGISRuntime::TaskWatcher UtilityNetworkDefinition::rules(const QList<Esri::ArcGISRuntime::UtilityAssetType *> &assetTypes)

    This function is deprecated. We strongly advise against using it in new code.

    Queries for a subset of UtilityRule objects that apply to a set of UtilityAssetType.

    Use this method to return network rules applicable to features of specific asset types. Limiting these asset types to those features being edited can substantially reduce the number of network rules returned.

    These asset types will be matched against the UtilityRuleElement::assetType of the following rule elements:

    If the collection of UtilityAssetType is empty or no matching rules are found for these asset types, an empty collection of UtilityRule objects is returned.

    This method returns a TaskWatcher for the asynchronous operation. Connect to the rulesCompleted signal to know when the task completes.

    This function was introduced in Esri::ArcGISRuntime 200.1.

    See also UtilityAssetType.

    [signal, since Esri::ArcGISRuntime 200.1] void UtilityNetworkDefinition::rulesCompleted(const QUuid &taskId, const QList<Esri::ArcGISRuntime::UtilityRule *> &utilityRuleResult)

    This function is deprecated. We strongly advise against using it in new code.

    Signal emitted when the rules operation completes.

    • taskId - The task ID of the asynchronous operation.
    • utilityRuleResult - The returned rules.

    The returned UtilityRule objects have the UtilityNetworkDefinition as their parent.

    This function was introduced in Esri::ArcGISRuntime 200.1.

    See also Returned QObjects Parenting.

    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.