UtilityNetworkListItem Class

  • UtilityNetworkListItem
  • class Esri::ArcGISRuntime::Toolkit::UtilityNetworkListItem

    An item contained within UtilityNetworkTraceController::utilityNetworks. This class wraps a UtilityNetwork for easy manipulation/inspection within an AbstractItemModel. More...

    Header: #include <UtilityNetworkListItem>
    Inherits: QObject

    Properties

    • name : const QString

    Public Functions

    UtilityNetworkListItem(QObject *parent = nullptr)
    UtilityNetworkListItem(Esri::ArcGISRuntime::UtilityNetwork *utilityNetwork, QObject *parent = nullptr)
    virtual ~UtilityNetworkListItem() override
    QString name() const
    void setUtilityNetwork(Esri::ArcGISRuntime::UtilityNetwork *utilityNetwork)
    Esri::ArcGISRuntime::UtilityNetwork *utilityNetwork() const

    Signals

    Detailed Description

    Property Documentation

    [read-only] name : const QString

    Returns the name of the item.

    Access functions:

    QString name() const

    Notifier signal:

    void nameChanged()

    Member Function Documentation

    [invokable] UtilityNetworkListItem::UtilityNetworkListItem(QObject *parent = nullptr)

    Constructs a new empty UtilityNetworkListItem object with a given parent.

    Note: This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.

    [invokable] UtilityNetworkListItem::UtilityNetworkListItem(Esri::ArcGISRuntime::UtilityNetwork *utilityNetwork, QObject *parent = nullptr)

    Constructs a new UtilityNetworkListItem object with a given utilityNetwork and parent.

    Note: This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.

    [override virtual] UtilityNetworkListItem::~UtilityNetworkListItem()

    Destructor.

    [signal] void UtilityNetworkListItem::nameChanged()

    Signal emitted when the utilityNetwork name changes.

    Note: Notifier signal for property name.

    void UtilityNetworkListItem::setUtilityNetwork(Esri::ArcGISRuntime::UtilityNetwork *utilityNetwork)

    Change the underlying item to utilityNetwork.

    See also utilityNetwork().

    Esri::ArcGISRuntime::UtilityNetwork *UtilityNetworkListItem::utilityNetwork() const

    Returns the current utilityNetwork.

    See also setUtilityNetwork().

    [signal] void UtilityNetworkListItem::utilityNetworkChanged()

    Signal emitted when the utilityNetwork changes.

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

    You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

    Your ArcGIS portal

    Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

    Your ArcGIS Location Platform dashboard

    Manage billing, monitor service usage, and access additional resources.

    Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

    Close