Limits the associations displayed based upon the associated feature's role or function. More...
| Header | #include <Utility |
| Since | Esri |
| Inherits | Esri |
Public Functions
| Utility | |
| Utility | |
| Utility | |
| Utility | |
| virtual | ~ |
| Esri | asset |
| Esri | asset |
| QString | description() const |
| Esri | filter |
| Esri | network |
| void | set |
| void | set |
| QString | title() const |
Detailed Description
The UtilityAssociation objects shown in either a Popup or FeatureForm can be tailored to only those associations relevant to a particular workflow or user, based on the UtilityAssociationsFilterType, UtilityAssetType, or other properties. Only associated features that match the filter's criteria are shown in the UtilityAssociationsPopupElement or UtilityAssociationsFormElement.
Member Function Documentation
[explicit] UtilityAssociationsFilter::UtilityAssociationsFilter (Esri::ArcGISRuntime::UtilityAssociationsFilterType filterType , QObject *parent = nullptr)
Creates a new utility network associations filter with the specified filter type.
- filterType - The type of filter to apply to the associations.
- parent - The optional parent QObject.
UtilityAssociationsFilter::UtilityAssociationsFilter (Esri::ArcGISRuntime::UtilityAssociationsFilterType filterType , Esri::ArcGISRuntime::UtilityAssetGroup *assetGroup , QObject *parent = nullptr)
Creates a new utility network associations filter with the specified filter type and asset group.
- filterType - The type of filter to apply to the associations.
- assetGroup - The asset group to filter the associations by.
- parent - The optional parent QObject.
UtilityAssociationsFilter::UtilityAssociationsFilter (Esri::ArcGISRuntime::UtilityAssociationsFilterType filterType , Esri::ArcGISRuntime::UtilityAssetType *assetType , QObject *parent = nullptr)
Creates a new utility network associations filter with the specified filter type and asset type.
- filterType - The type of filter to apply to the associations.
- assetType - The asset type to filter the associations by.
- parent - The optional parent QObject.
UtilityAssociationsFilter::UtilityAssociationsFilter (Esri::ArcGISRuntime::UtilityAssociationsFilterType filterType , Esri::ArcGISRuntime::UtilityNetworkSource *networkSource , QObject *parent = nullptr)
Creates a new utility network associations filter with the specified filter type and network source.
- filterType - The type of filter to apply to the associations.
- networkSource - The network source to filter the associations by.
- parent - The optional parent QObject.
[override virtual noexcept] UtilityAssociationsFilter::~UtilityAssociationsFilter ()
Destructor.
Esri::ArcGISRuntime::UtilityAssetGroup *UtilityAssociationsFilter::assetGroup () const
Returns filter the utility network associations by the asset group of the associated feature.
If the UtilityAssociationsFilter is part of a UtilityAssociationsPopupElement and the associations are filtered by UtilityAssetGroup, this property is populated when the UtilityNetwork is loaded. The Popup::evaluateExpressionsAsync method will load the UtilityNetwork.
See also Popup::evaluateExpressionsAsync.
Esri::ArcGISRuntime::UtilityAssetType *UtilityAssociationsFilter::assetType () const
Returns filter the utility network associations by the asset type of the associated feature.
If the UtilityAssociationsFilter is part of a UtilityAssociationsPopupElement and the associations are filtered by UtilityAssetType, this property is populated when the UtilityNetwork is loaded. The Popup::evaluateExpressionsAsync method will load the UtilityNetwork.
See also Popup::evaluateExpressionsAsync.
QString UtilityAssociationsFilter::description() const
Returns a string that describes the associations matching the filter criteria.
See also setDescription().
Esri::ArcGISRuntime::UtilityAssociationsFilterType UtilityAssociationsFilter::filterType () const
Returns filter the utility network associations by the associated feature's role or function.
Esri::ArcGISRuntime::UtilityNetworkSource *UtilityAssociationsFilter::networkSource () const
Returns filter the utility network associations by network source of the associated feature.
If the UtilityAssociationsFilter is part of a UtilityAssociationsPopupElement and the associations are filtered by UtilityNetworkSource, this property is populated when the UtilityNetwork is loaded. The Popup::evaluateExpressionsAsync method will load the UtilityNetwork.
See also Popup::evaluateExpressionsAsync.
void UtilityAssociationsFilter::setDescription (const QString &description)
Sets the description to description.
See also description.
void UtilityAssociationsFilter::setTitle (const QString &title)
Sets the title to title.
See also title.
QString UtilityAssociationsFilter::title() const
Returns a string title for the associated feature matching the filter criteria.
See also setTitle().