An object that describes a RangeDomain to be created. More...
Header: | #include <RangeDomainDescription> |
Since: | Esri::ArcGISRuntime 100.14 |
Inherits: | Esri::ArcGISRuntime::DomainDescription |
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::createAsync(QString, QObject*).
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.