A condition evaluating the value of a UtilityNetworkAttribute on nodes in the network, either to another UtilityNetworkAttribute or to a specific value. More...
|  Header |  #include <Utility | 
|  Since |  Esri | 
|  Inherits |  Esri | 
This class was introduced in Esri::ArcGISRuntime 100.7.
Public Functions
| Utility | |
| Utility | |
| virtual | ~ | 
|  Esri | comparison | 
|  Esri | network | 
|  Esri | other | 
| QVariant | value() const | 
Detailed Description
Member Function Documentation
UtilityNetworkAttributeComparison::UtilityNetworkAttributeComparison   (Esri::ArcGISRuntime::UtilityNetworkAttribute      *networkAttribute , Esri::ArcGISRuntime::UtilityAttributeComparisonOperator       comparisonOperator , Esri::ArcGISRuntime::UtilityNetworkAttribute      *otherNetworkAttribute  , QObject *parent = nullptr)    
Creates a condition comparing the value of one UtilityNetworkAttribute to another.
Note: The UtilityNetworkAttribute::dataType of networkAttribute and otherNetworkAttribute must match.
- networkAttribute - The source UtilityNetworkAttribute that the value is compared to
 - comparisonOperator - The type of comparison to do between the source UtilityNetworkAttribute and another UtilityNetworkAttribute
 - otherNetworkAttribute - The UtilityNetworkAttribute being compared against another UtilityNetworkAttribute on each of the nodes
 - parent - The optional parent QObject.
 
UtilityNetworkAttributeComparison::UtilityNetworkAttributeComparison   (Esri::ArcGISRuntime::UtilityNetworkAttribute      *networkAttribute , Esri::ArcGISRuntime::UtilityAttributeComparisonOperator       comparisonOperator , const QVariant &value, QObject *parent = nullptr)    
Creates a condition comparing an UtilityNetworkAttribute to a specific value.
Note: The UtilityNetworkAttribute::dataType of networkAttribute and value must match.
- networkAttribute - The source UtilityNetworkAttribute that the value is compared to
 - comparisonOperator - The type of comparison to do between the source UtilityNetworkAttribute and the value
 - value - The specific value to compare networkAttribute against for each node in the trace. The value can be an integer data type, which can contain a small or large integer, or it can be double data type, which can contain a double or a date.
 - parent - The optional parent QObject.
 
[override virtual] UtilityNetworkAttributeComparison::~UtilityNetworkAttributeComparison    ()    
Destructor.
Esri::ArcGISRuntime::UtilityAttributeComparisonOperator       UtilityNetworkAttributeComparison::comparisonOperator () const    
Returns the type of comparison to do between the source UtilityNetworkAttribute and either the second UtilityNetworkAttribute or the value.
Esri::ArcGISRuntime::UtilityNetworkAttribute      *UtilityNetworkAttributeComparison::networkAttribute () const     
Returns the source UtilityNetworkAttribute that otherNetworkAttribute or value is compared to.
Esri::ArcGISRuntime::UtilityNetworkAttribute      *UtilityNetworkAttributeComparison::otherNetworkAttribute  () const     
Returns the UtilityNetworkAttribute being compared against UtilityNetworkAttributeComparison::networkAttribute on each of the nodes.
This is null if the comparison is against a specific value.
QVariant UtilityNetworkAttributeComparison::value() const    
Returns the specific value to compare networkAttribute against for each node in the trace.