An object that describes a CodedValue to be created. More...
| Header | #include <Coded |
| Since | Esri |
| Inherits | Esri |
This class was introduced in Esri::ArcGISRuntime 100.14.
Public Functions
| Coded | |
| virtual | ~ |
| QString | name() const |
| void | set |
| void | set |
| QVariant | value() const |
Detailed Description
Creation of domains is currently only supported on mobile geodatabases, either created in ArcGIS Pro or via Geodatabase::create(QString).
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 ()
Destructor.
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().