Contingency Class

  • Contingency
  • class Esri::ArcGISRuntime::Contingency

    An object that defines a contingency. More...

    Header: #include <Contingency.h>
    Since: Esri::ArcGISRuntime 100.13
    Inherits: Esri::ArcGISRuntime::Object

    Public Functions

    virtual ~Contingency() override
    int contingencyId() const
    bool isRetired() const
    Esri::ArcGISRuntime::FeatureSubtype subtype() const
    QMap<QString, Esri::ArcGISRuntime::ContingentValue *> 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.

    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.