Skip To Content ArcGIS for Developers Sign In Dashboard

Domain Class

class Esri::ArcGISRuntime::Domain

Base class for domains that specify the set of valid values for a field. More...

Header: #include <Domain>
Since: Esri::ArcGISRuntime 100.0
Inherited By:

Esri::ArcGISRuntime::CodedValueDomain, Esri::ArcGISRuntime::InheritedDomain, and Esri::ArcGISRuntime::RangeDomain

This class was introduced in Esri::ArcGISRuntime 100.0.

Public Functions

Domain(Esri::ArcGISRuntime::Domain &&other)
Domain(const Esri::ArcGISRuntime::Domain &other)
Esri::ArcGISRuntime::Domain &operator=(Esri::ArcGISRuntime::Domain &&other)
Esri::ArcGISRuntime::Domain &operator=(const Esri::ArcGISRuntime::Domain &other)
Esri::ArcGISRuntime::DomainType domainType() const
bool isEmpty() const
QString name() const
bool operator==(const Esri::ArcGISRuntime::Domain &other) const

Detailed Description

The following domain types are available:

  • Coded Value Domain
  • Inherited Domain
  • Range Domain

Member Function Documentation

Domain::Domain(Esri::ArcGISRuntime::Domain &&other)

Move constructor from other Domain.

Domain::Domain(const Esri::ArcGISRuntime::Domain &other)

Copy constructor from other Domain.


Default constructor. Creates an empty Domain with domainType DomainType::Unknown.

See also DomainType.

Esri::ArcGISRuntime::Domain &Domain::operator=(Esri::ArcGISRuntime::Domain &&other)

Move operator from other Domain.

Esri::ArcGISRuntime::Domain &Domain::operator=(const Esri::ArcGISRuntime::Domain &other)

Assignment operator from other Domain.



Esri::ArcGISRuntime::DomainType Domain::domainType() const

Returns the type of the domain.

bool Domain::isEmpty() const

Returns true if this Domain is empty.

QString Domain::name() const

Returns the name of the domain.

bool Domain::operator==(const Esri::ArcGISRuntime::Domain &other) const

Equivalency operator. Returns true if this object and other are equal.

Tests if two domain objects are equal.

This function was introduced in Esri::ArcGISRuntime 100.9.

Feedback on this topic?