A range domain can specify the minimum and maximum value of a number or date for a field. Data entries outside the range will not be accepted in the field. When a user is editing data, you can present the minValue and maxValue to guide the user, and validate their input against the range domain before changes are saved. This helps to maintain data integrity.
Member Function Documentation RangeDomain::RangeDomain()Default constructor. Creates an empty and invalid RangeDomain with domainType DomainType::Unknown
.
See also DomainType.
[explicit]
RangeDomain::RangeDomain(const Esri::ArcGISRuntime::Domain &other)
Converting constructor from other Domain.
See also Downcast helper functions.
RangeDomain::RangeDomain(const Esri::ArcGISRuntime::RangeDomain &other)Copy constructor from other RangeDomain.
[noexcept]
RangeDomain::RangeDomain(Esri::ArcGISRuntime::RangeDomain &&other)
Move constructor from other RangeDomain.
[override virtual noexcept]
RangeDomain::~RangeDomain()
Destructor.
[since Esri::ArcGISRuntime 100.2]
bool RangeDomain::isValid() const
Gets whether this RangeDomain is valid.
A RangeDomain is valid if it is not empty and domainType is DomainType::RangeDomain.
Returns true
if valid.
This function was introduced in Esri::ArcGISRuntime 100.2.
QVariant RangeDomain::maxValue() constReturns the maximum value of the range.
Note: The supported types are:
Returns the minimum value of the range.
Note: The supported types are:
[noexcept]
Esri::ArcGISRuntime::RangeDomain &RangeDomain::operator=(Esri::ArcGISRuntime::RangeDomain &&other)
Move operator from other RangeDomain.
Esri::ArcGISRuntime::RangeDomain &RangeDomain::operator=(const Esri::ArcGISRuntime::RangeDomain &other)Assignment operator from other RangeDomain.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4