UtilityRuleElement Class

  • UtilityRuleElement
  • class Esri::ArcGISRuntime::UtilityRuleElement

    Specifies the type of features participating in a network rule. More...

    Header: #include <UtilityRuleElement.h>
    Since: Esri::ArcGISRuntime 200.1
    Inherits: Esri::ArcGISRuntime::Object

    Public Functions

    virtual ~UtilityRuleElement() override
    Esri::ArcGISRuntime::UtilityAssetGroup *assetGroup() const
    Esri::ArcGISRuntime::UtilityAssetType *assetType() const
    Esri::ArcGISRuntime::UtilityNetworkSource *networkSource() const
    Esri::ArcGISRuntime::UtilityTerminal *terminal() const

    Detailed Description

    A rule element describes the type of features to which a network rule is applied.

    A rule element participating in a network rule can be one of the following:

    Attachment network rules place a structure feature in the UtilityRule::fromElement and attachment features in the UtilityRule::toElement. Containment network rules place a container feature in the UtilityRule::fromElement and content features in the UtilityRule::toElement. If nested containment is allowed, another container feature may be placed in the UtilityRule::toElement. Connectivity network rules with a UtilityRule::viaElement have a junction feature.

    Network rules that support terminal connectivity use these rule elements to define which terminal the rule is applicable for.

    Member Function Documentation

    [override virtual] UtilityRuleElement::~UtilityRuleElement()

    Destructor.

    Esri::ArcGISRuntime::UtilityAssetGroup *UtilityRuleElement::assetGroup() const

    Returns the asset group that contains the asset type bound by a network rule.

    Esri::ArcGISRuntime::UtilityAssetType *UtilityRuleElement::assetType() const

    Returns the asset type bound by a network rule.

    Esri::ArcGISRuntime::UtilityNetworkSource *UtilityRuleElement::networkSource() const

    Returns the network source that contains the asset group and asset type bound by a network rule.

    Esri::ArcGISRuntime::UtilityTerminal *UtilityRuleElement::terminal() const

    Returns the terminal of the asset type where a network rule is applicable.

    Only applicable to asset types with terminals and network rules that support terminal connectivity.

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