Skip To Content ArcGIS for Developers Sign In Dashboard

CodedValue Class

class Esri::ArcGISRuntime::CodedValue

Defines valid values for a field. More...

Header: #include <CodedValue>
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)
Esri::ArcGISRuntime::CodedValue &operator=(Esri::ArcGISRuntime::CodedValue &&other)
Esri::ArcGISRuntime::CodedValue &operator=(const Esri::ArcGISRuntime::CodedValue &other)
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.


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.



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.

Feedback on this topic?