Skip to content
  • UtilityAssociationFeatureOptions
  • class Esri::ArcGISRuntime::UtilityAssociationFeatureOptions

    Configurable options for a utility network feature when creating an association. More...

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

    Public Functions

    virtual ~UtilityAssociationFeatureOptions() override
    Esri::ArcGISRuntime::UtilityTerminalConfiguration *candidateFeatureTerminalConfiguration() const
    Esri::ArcGISRuntime::UtilityTerminalConfiguration *formFeatureTerminalConfiguration() const
    bool isFractionAlongEdgeValid() const

    Detailed Description

    This includes a bool indicating whether a UtilityAssociation::fractionAlongEdge value can be assigned to the feature or its association, along with the UtilityTerminalConfiguration for both the feature being edited in the FeatureForm and the candidate feature. If no terminal is valid for either feature or the association type, the UtilityTerminalConfiguration properties are empty.

    See also UtilityAssociationsFormElement::optionsForAssociationCandidateAsync(Esri::ArcGISRuntime::ArcGISFeature*, QObject*).

    Member Function Documentation

    [override virtual noexcept] UtilityAssociationFeatureOptions::~UtilityAssociationFeatureOptions()

    Destructor.

    Esri::ArcGISRuntime::UtilityTerminalConfiguration *UtilityAssociationFeatureOptions::candidateFeatureTerminalConfiguration() const

    Returns the terminal configuration for the candidate feature.

    Esri::ArcGISRuntime::UtilityTerminalConfiguration *UtilityAssociationFeatureOptions::formFeatureTerminalConfiguration() const

    Returns the terminal configuration for the feature being edited by the FeatureForm.

    bool UtilityAssociationFeatureOptions::isFractionAlongEdgeValid() const

    Returns true if the UtilityAssociation::fractionAlongEdge property is valid for the association, false otherwise.

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