CodedValueDescription Class

CodedValue to be created."> CodedValueDescription Class | ArcGISQtCpp
  • CodedValueDescription
  • class Esri::ArcGISRuntime::CodedValueDescription

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

    Header: #include <CodedValueDescription>
    Since: Esri::ArcGISRuntime 100.14
    Inherits: Esri::ArcGISRuntime::Object

    Public Functions

    CodedValueDescription(const QString &name, const QVariant &value, QObject *parent = nullptr)
    virtual ~CodedValueDescription() override
    QString name() const
    void setName(const QString &name)
    void setValue(const QVariant &value)
    QVariant value() 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

    CodedValueDescription::CodedValueDescription(const QString &name, const QVariant &value, QObject *parent = nullptr)

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

    • name - The coded value's name.
    • value - The coded value's value.
    • parent - The optional parent QObject.

    [override virtual] CodedValueDescription::~CodedValueDescription()


    QString CodedValueDescription::name() const

    Returns the coded value's name.

    See also setName().

    void CodedValueDescription::setName(const QString &name)

    Sets the name to name.

    See also name.

    void CodedValueDescription::setValue(const QVariant &value)

    Sets the value to value.

    See also value.

    QVariant CodedValueDescription::value() const

    Returns the coded value's value.

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

    See also setValue().

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