Skip To Content ArcGIS for Developers Sign In Dashboard

UtilityAssetGroup Class


A utility network asset group More...

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

Public Functions

UtilityAssetType *assetType(const QString &name) const
QList<UtilityAssetType *> assetTypes() const
int code() const
QString name() const
  • 31 public functions inherited from QObject

Additional Inherited Members

Detailed Description

A utility network asset group

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



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<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.

Feedback on this topic?