A utility network asset group. More...
Header | #include <Utility |
Since | Esri |
Inherits | Esri |
Public Functions
virtual | ~ |
Esri | asset |
Q | asset |
int | code() const |
Q | 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 noexcept]
UtilityAssetGroup::~UtilityAssetGroup ()
Destructor.
Esri::ArcGISRuntime::UtilityAssetType *UtilityAssetGroup::assetType (const QString &name) const
Returns a UtilityAssetType from the UtilityAssetGroup by name.
- name - The name of the UtilityAssetType to return.
For example, a 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.