CodedValue Class

  • CodedValue
  • class Esri::ArcGISRuntime::CodedValue

    Defines valid values for a field. More...

    Header: #include <CodedValue.h>
    Since: Esri::ArcGISRuntime 100.0

    This class was introduced in Esri::ArcGISRuntime 100.0.

    Public Functions

    CodedValue(Esri::ArcGISRuntime::CodedValue &&other)
    CodedValue(const Esri::ArcGISRuntime::CodedValue &other)
    CodedValue()
    Esri::ArcGISRuntime::CodedValue &operator=(Esri::ArcGISRuntime::CodedValue &&other)
    Esri::ArcGISRuntime::CodedValue &operator=(const Esri::ArcGISRuntime::CodedValue &other)
    ~CodedValue()
    QVariant code() const
    bool isEmpty() const
    QString name() const

    Detailed Description

    Each valid value is assigned a unique name.

    Member Function Documentation

    CodedValue::CodedValue(Esri::ArcGISRuntime::CodedValue &&other)

    Move constructor from other CodedValue.

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

    Copy constructor from other CodedValue.

    CodedValue::CodedValue()

    Default constructor. Creates an empty CodedValue.

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

    Move operator from other CodedValue.

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

    Assignment operator from other CodedValue.

    CodedValue::~CodedValue()

    Destructor.

    QVariant CodedValue::code() const

    Returns the code for the coded value.

    bool CodedValue::isEmpty() const

    Returns true if this CodedValue is empty.

    QString CodedValue::name() const

    Returns the code name for the coded value.

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

    You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

    Your ArcGIS portal

    Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

    Your ArcGIS Location Platform dashboard

    Manage billing, monitor service usage, and access additional resources.

    Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

    Close