RangeDomainDescription Class

  • RangeDomainDescription
  • class Esri::ArcGISRuntime::RangeDomainDescription

    An object that describes a RangeDomain to be created. More...

    Header: #include <RangeDomainDescription>
    Since: Esri::ArcGISRuntime 100.14
    Inherits: Esri::ArcGISRuntime::DomainDescription

    This class was introduced in Esri::ArcGISRuntime 100.14.

    Public Functions

    RangeDomainDescription(const QString &name, Esri::ArcGISRuntime::FieldType fieldType, const QVariant &minValue, const QVariant &maxValue, QObject *parent = nullptr)
    virtual ~RangeDomainDescription() override
    QVariant maxValue() const
    QVariant minValue() const
    void setMaxValue(const QVariant &maxValue)
    void setMinValue(const QVariant &minValue)

    Detailed Description

    Creation of domains is currently only supported on mobile geodatabases, either created in ArcGIS Pro or via Geodatabase::create(QString).

    Member Function Documentation

    RangeDomainDescription::RangeDomainDescription(const QString &name, Esri::ArcGISRuntime::FieldType fieldType, const QVariant &minValue, const QVariant &maxValue, QObject *parent = nullptr)

    Creates a new range domain description object with the specified name and values.

    • name - The range domain's name.
    • fieldType - The range domain's field type.
    • minValue - The range domain's minimum value.
    • maxValue - The range domain's maximum value.
    • parent - The optional parent QObject.

    [override virtual] RangeDomainDescription::~RangeDomainDescription()

    Destructor.

    QVariant RangeDomainDescription::maxValue() const

    Returns the range domain's maximum value.

    For fields that utilize a range domain, the field type must match the type of the min and max values.

    See also setMaxValue().

    QVariant RangeDomainDescription::minValue() const

    Returns the range domain's minimum value.

    For fields that utilize a range domain, the field type must match the type of the minimum and maximum values.

    See also setMinValue().

    void RangeDomainDescription::setMaxValue(const QVariant &maxValue)

    Sets the maxValue to maxValue.

    See also maxValue.

    void RangeDomainDescription::setMinValue(const QVariant &minValue)

    Sets the minValue to minValue.

    See also minValue.

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