ContingentValuesDefinition Class

  • ContingentValuesDefinition
  • class Esri::ArcGISRuntime::ContingentValuesDefinition

    An object that defines a contingent values definition. More...

    Header: #include <ContingentValuesDefinition.h>
    Since: Esri::ArcGISRuntime 100.13
    Inherits: Esri::ArcGISRuntime::Object and Esri::ArcGISRuntime::Loadable

    Public Functions

    virtual ~ContingentValuesDefinition() override
    QList<Esri::ArcGISRuntime::FieldGroup *> fieldGroups() const

    Reimplemented Public Functions

    virtual void cancelLoad() override
    virtual void load() override
    virtual Esri::ArcGISRuntime::Error loadError() const override
    virtual Esri::ArcGISRuntime::LoadStatus loadStatus() const override
    virtual void retryLoad() override

    Signals

    void doneLoading(const Esri::ArcGISRuntime::Error &loadError)

    Detailed Description

    Relevant samples:

    Member Function Documentation

    [override virtual] ContingentValuesDefinition::~ContingentValuesDefinition()

    Destructor.

    [override virtual] void ContingentValuesDefinition::cancelLoad()

    Reimplements: Loadable::cancelLoad().

    Cancels loading metadata for the object.

    Cancels loading the metadata if the object is loading and always calls doneLoading.

    [signal] void ContingentValuesDefinition::doneLoading(const Esri::ArcGISRuntime::Error &loadError)

    Signal emitted when this object is done loading.

    • loadError - Details about any error that may have occurred

    Note: If there is a load error, it will also be emitted on the errorOccurred signal.

    See also Loadable and Object.

    QList<Esri::ArcGISRuntime::FieldGroup *> ContingentValuesDefinition::fieldGroups() const

    Returns a collection of field groups participating in this contingent values definition.

    [override virtual] void ContingentValuesDefinition::load()

    Reimplements: Loadable::load().

    Loads the metadata for the object asynchronously.

    Loads the metadata if the object is not loaded and always calls doneLoading.

    An ArcGISFeature is loadable. Depending on a ServiceFeatureTable's feature request mode, queries on the table can return ArcGISFeature objects that have the minimum set of attributes required for rendering and labeling (and geometries do not include m-values). See ServiceFeatureTable::queryFeaturesAsync(QueryParameters, QueryFeatureFields), FeatureRequestMode::OnInteractionCache, and FeatureRequestMode::OnInteractionNoCache. To access all attributes in the returned ArcGISFeatures, call this method on each feature. For alternative ways to load all attributes in the returned features, see ServiceFeatureTable::loadOrRefreshFeaturesAsync(const QList<Feature*>&) or ServiceFeatureTable::queryFeaturesAsync(QueryParameters, QueryFeatureFields).

    [override virtual] Esri::ArcGISRuntime::Error ContingentValuesDefinition::loadError() const

    Reimplements: Loadable::loadError() const.

    Returns the load error.

    See also Error.

    [override virtual] Esri::ArcGISRuntime::LoadStatus ContingentValuesDefinition::loadStatus() const

    Reimplements: Loadable::loadStatus() const.

    Returns the load status.

    See also LoadStatus.

    [override virtual] void ContingentValuesDefinition::retryLoad()

    Reimplements: Loadable::retryLoad().

    Loads or retries loading metadata for the object asynchronously.

    Will retry loading the metadata if the object is failed to load. Will load the object if it is not loaded. Will not retry to load the object if the object is loaded. Will always call the done loading if this is called.

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