A domain which specifies a range of valid values for a field. More...
Header: | #include <RangeDomain.h> |
Since: | Esri::ArcGISRuntime 100.0 |
Inherits: | Esri::ArcGISRuntime::Domain |
This class was introduced in Esri::ArcGISRuntime 100.0.
Public Functions
RangeDomain(const Esri::ArcGISRuntime::Domain &other) | |
RangeDomain(Esri::ArcGISRuntime::RangeDomain &&other) | |
RangeDomain(const Esri::ArcGISRuntime::RangeDomain &other) | |
RangeDomain() | |
Esri::ArcGISRuntime::RangeDomain & | operator=(Esri::ArcGISRuntime::RangeDomain &&other) |
Esri::ArcGISRuntime::RangeDomain & | operator=(const Esri::ArcGISRuntime::RangeDomain &other) |
virtual | ~RangeDomain() override |
bool | isValid() const |
QVariant | maxValue() const |
QVariant | minValue() const |
Detailed Description
Member Function Documentation
RangeDomain::RangeDomain (const Esri::ArcGISRuntime::Domain &other)
Converting constructor from other Domain.
See also Downcast helper functions.
RangeDomain::RangeDomain (Esri::ArcGISRuntime::RangeDomain &&other)
Move constructor from other RangeDomain.
RangeDomain::RangeDomain (const Esri::ArcGISRuntime::RangeDomain &other)
Copy constructor from other RangeDomain.
RangeDomain::RangeDomain ()
Default constructor. Creates an empty and invalid RangeDomain with domainType DomainType::Unknown
.
See also DomainType.
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.
[override virtual]
RangeDomain::~RangeDomain ()
Destructor.
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 () const
Returns the maximum value of the range.
Note: The supported types are:
- short
- int
- float
- double
- QDateTime
QVariant RangeDomain::minValue () const
Returns the minimum value of the range.
Note: The supported types are:
- short
- int
- float
- double
- QDateTime