CodedValueDomainDescription Class

  • CodedValueDomainDescription
  • class Esri::ArcGISRuntime::CodedValueDomainDescription

    The description of the 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

    Use the CodedValueDomainDescription to create a new CodedValueDomain in a mobile geodatabase, by calling Geodatabase::createDomainAsync(Esri::ArcGISRuntime::DomainDescription*). The mobile geodatabase must have been created in ArcGIS Pro or using Geodatabase::createAsync(const 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 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.