UtilityAssetType Class

  • UtilityAssetType
  • class Esri::ArcGISRuntime::UtilityAssetType

    The second-level categorization of a UtilityNetworkSource. More...

    Header: #include <UtilityAssetType.h>
    Since: Esri::ArcGISRuntime 100.6
    Inherits: Esri::ArcGISRuntime::Object

    This class was introduced in Esri::ArcGISRuntime 100.6.

    Public Functions

    virtual ~UtilityAssetType() override
    Esri::ArcGISRuntime::UtilityAssociationDeletionSemantics associationDeletionSemantics() const
    Esri::ArcGISRuntime::UtilityAssociationRole associationRole() const
    QList<Esri::ArcGISRuntime::UtilityCategory *> categories() const
    int code() const
    double containerViewScale() const
    QString name() const
    Esri::ArcGISRuntime::UtilityTerminalConfiguration *terminalConfiguration() const

    Detailed Description

    UtilityAssetType is the second-level categorization of a UtilityNetworkSource. (UtilityAssetGroup is the first-level categorization.)

    Examples of utility network asset types include:

    • The UtilityAssetType for a transformer UtilityAssetGroup in an electric distribution domain network could be StepTransformer, PowerTransformer, or DistributionTransformer.
    • The UtilityAssetType for a line feature class in a water distribution domain network could be PVCPipe, ClayPipe, or CastIronPipe.

    Member Function Documentation

    [override virtual] UtilityAssetType::~UtilityAssetType()

    Destructor.

    Esri::ArcGISRuntime::UtilityAssociationDeletionSemantics UtilityAssetType::associationDeletionSemantics() const

    Returns the update applied to UtilityAssociation objects when deleting an object of this UtilityAssetType.

    This determines the behavior that occurs when attempting to delete features with this asset type.

    This function was introduced in Esri::ArcGISRuntime 100.12.

    Esri::ArcGISRuntime::UtilityAssociationRole UtilityAssetType::associationRole() const

    Returns the associationRole of the UtilityAssetType.

    This property indicates whether the UtilityAssetType can be a container, a structure, or neither.

    QList<Esri::ArcGISRuntime::UtilityCategory *> UtilityAssetType::categories() const

    Returns the list of UtilityCategory objects.

    This is a collection of system-provided network categories that incorporate semantics of the utility network for subnetwork management and tracing operations.

    int UtilityAssetType::code() const

    Returns the attribute domain value code of the UtilityAssetType.

    double UtilityAssetType::containerViewScale() const

    Returns the container view scale of the UtilityAssetType

    If the utility asset type is a point container, this property is the appropriate display scale (zoom level) for displaying the container when it is opened. For other utility asset types, this property defaults to 0.0.

    QString UtilityAssetType::name() const

    Returns the name of the UtilityAssetType.

    Esri::ArcGISRuntime::UtilityTerminalConfiguration *UtilityAssetType::terminalConfiguration() const

    Returns the terminal configuration of the UtilityAssetType.

    Only asset types whose network source is UtilityNetworkSourceUsageType::device can have a terminal configuration.

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