The description of the CodedValue to be created. More...
Public Functions Detailed DescriptionEach CodedValueDescription consists of a value and a name. For example, for roads data the values 1, 2, and 3 might correspond to three types of road surface such as gravel, asphalt, and concrete. Coded value domains are typically created and assigned to your datasets using ArcGIS Pro, ArcGIS Online, or ArcGIS Enterprise.
If your mobile geodatabase was created in ArcGIS Pro or using Geodatabase::createAsync(const QString&, QObject*), you can create a CodedValueDomain. First, you must create a CodedValueDomainDescription with a collection of CodedValueDescription, by using CodedValueDomainDescription::CodedValueDomainDescription(const QString&, Esri::ArcGISRuntime::FieldType, const QList<Esri::ArcGISRuntime::CodedValueDescription*>&, QObject*). Next, you create the CodedValueDomain by calling Geodatabase::createDomainAsync(Esri::ArcGISRuntime::DomainDescription*) with the CodedValueDomainDescription.
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.
[override virtual noexcept]
CodedValueDescription::~CodedValueDescription()
Destructor.
QString CodedValueDescription::name() constReturns 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() constReturns 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().
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4