CodedValueDomainDescription Class

  • CodedValueDomainDescription
  • class Esri::ArcGISRuntime::CodedValueDomainDescription

    An object that describes a CodedValueDomain to be created. More...

    Header: #include <CodedValueDomainDescription>
    Since: Esri::ArcGISRuntime 100.14
    Inherits: Esri::ArcGISRuntime::DomainDescription

    Public Functions

    CodedValueDomainDescription(const QString &name, Esri::ArcGISRuntime::FieldType fieldType, const QList<Esri::ArcGISRuntime::CodedValueDescription *> &values, QObject *parent = nullptr)
    virtual ~CodedValueDomainDescription() override
    Esri::ArcGISRuntime::CodedValueDescriptionListModel *values() const

    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

    CodedValueDomainDescription::CodedValueDomainDescription(const QString &name, Esri::ArcGISRuntime::FieldType fieldType, const QList<Esri::ArcGISRuntime::CodedValueDescription *> &values, QObject *parent = nullptr)

    Creates a new coded value domain description object with the specified name and coded values.

    • name - The coded value domain's name.
    • fieldType - The coded value domain's field type.
    • values - The coded value domain's coded values.
    • parent - The optional parent QObject.

    [override virtual] CodedValueDomainDescription::~CodedValueDomainDescription()

    Destructor.

    Esri::ArcGISRuntime::CodedValueDescriptionListModel *CodedValueDomainDescription::values() const

    Returns the coded value domain's coded values.

    For fields that utilize a coded value domain, the field type must match the type of the coded values.

    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.