An object that defines a contingency. More...
|  Header |  #include <Contingency.h | 
|  Since |  Esri | 
|  Inherits |  Esri | 
This class was introduced in Esri::ArcGISRuntime 100.13.
Public Functions
| virtual | ~ | 
| int | contingency | 
| bool | is | 
|  Esri | subtype() const | 
|  QMap | values(QObject *parent = nullptr) const | 
Detailed Description
Member Function Documentation
[override virtual] Contingency::~Contingency () 
Destructor.
int Contingency::contingencyId () const 
Returns the contingency's unique id.
bool Contingency::isRetired () const 
Returns a boolean indicating if the contingency is retired or not.
When a contingency is retired, it means that its presence in existing data is acceptable, but that it should not be presented as an option when editing. It is typically used to express that a value is no longer valid, such as using asbestos as a building material.
Esri::ArcGISRuntime::FeatureSubtype     Contingency::subtype() const 
Returns the subtype to which this contingency is applied.
QMap<QString, Esri::ArcGISRuntime::ContingentValue     *> Contingency::values(QObject *parent = nullptr) const  
Returns the contingency's values with an optional parent.
Returns a dictionary of field names to the value defined for that field in this contingency.