An object that describes a RangeDomain to be created. More...
| Header | #include <Range |
| Since | Esri |
| Inherits | Esri |
This class was introduced in Esri::ArcGISRuntime 100.14.
Public Functions
| Range | |
| virtual | ~ |
| QVariant | max |
| QVariant | min |
| void | set |
| void | set |
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.