UtilityAssetGroup Class

  • UtilityAssetGroup
  • class Esri::ArcGISRuntime::UtilityAssetGroup

    A utility network asset group. More...

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

    This class was introduced in Esri::ArcGISRuntime 100.6.

    Public Functions

    virtual ~UtilityAssetGroup() override
    Esri::ArcGISRuntime::UtilityAssetType *assetType(const QString &name) const
    QList<Esri::ArcGISRuntime::UtilityAssetType *> assetTypes() const
    int code() const
    QString name() const

    Detailed Description

    This class is the first-level categorization of a UtilityNetworkSource (UtilityAssetType is the second-level categorization.). This class provides information about the UtilityAssetGroup, including the UtilityAssetType collection that is contained therein.

    Member Function Documentation

    [override virtual] UtilityAssetGroup::~UtilityAssetGroup()

    Destructor.

    Esri::ArcGISRuntime::UtilityAssetType *UtilityAssetGroup::assetType(const QString &name) const

    Returns a UtilityAssetType from the UtilityAssetGroup by name.

    For example, an UtilityAssetGroup describing electrical transformers may contain a UtilityAssetType for a specific type of electrical transformer with a name such as "Single-phase Distribution Transformer".

    Returns nullptr if there is no matching asset type.

    QList<Esri::ArcGISRuntime::UtilityAssetType *> UtilityAssetGroup::assetTypes() const

    Returns a list of UtilityAssetType objects defining the asset type contained in the UtilityAssetGroup.

    int UtilityAssetGroup::code() const

    Returns the code of the UtilityAssetGroup.

    This property is the subtype code value.

    QString UtilityAssetGroup::name() const

    Returns the name of the UtilityAssetGroup.

    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