Skip To Content ArcGIS for Developers Sign In Dashboard

CodedValue Class

(Esri::ArcGISRuntime::CodedValue)

Defines valid values for a field. More...

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

Public Functions

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

Detailed Description

Defines valid values for a field.

Each valid value is assigned a unique name.

Member Function Documentation

CodedValue::CodedValue()

Default constructor. Creates an empty CodedValue.

CodedValue::CodedValue(const CodedValue &other)

Copy constructor from other CodedValue.

CodedValue::CodedValue(CodedValue &&other)

Move constructor 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.

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

Assignment operator from other CodedValue.

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

Move operator from other CodedValue.


Feedback on this topic?