The KML simple fields and key/value pairs obtained from the node's non-schema data. More...
Member Function Documentation[since Esri::ArcGISRuntime 200.6]
KmlNonSchemaData::KmlNonSchemaData(const QMap<QString, QString> &untypedAttributes, QObject *parent = nullptr)
Creates untyped non-schema data from the attribute key-value pairs.
This function was introduced in Esri::ArcGISRuntime 200.6.
[override virtual noexcept]
KmlNonSchemaData::~KmlNonSchemaData()
Destructor.
[since Esri::ArcGISRuntime 200.6]
void KmlNonSchemaData::addField(Esri::ArcGISRuntime::KmlSimpleField *field, const QVariant &attributeValue)
Adds the given field with an attribute value.
This function was introduced in Esri::ArcGISRuntime 200.6.
[since Esri::ArcGISRuntime 200.6]
void KmlNonSchemaData::addField(const QString &name, const QString &attributeValue)
Adds the given field as string type with an attribute value.
This function was introduced in Esri::ArcGISRuntime 200.6.
QVariantMap KmlNonSchemaData::attributes() constReturns the key-value pairs obtained from the node's non-schema data.
[static, since Esri::ArcGISRuntime 200.6]
Esri::ArcGISRuntime::KmlNonSchemaData *KmlNonSchemaData::create(const QMap<Esri::ArcGISRuntime::KmlSimpleField *, QVariant> &typedAttributes, QObject *parent = nullptr)
Creates typed non-schema data from the attribute key-value pairs.
The data must be of the same type as the field (see KmlSimpleField::type, and KmlSimpleField::isArray must be false. Arrays are not supported for non-schema data.
This function was introduced in Esri::ArcGISRuntime 200.6.
Esri::ArcGISRuntime::KmlSimpleField *KmlNonSchemaData::field(const QString &name) constReturns the KML simple field object with the given name, or nullptr
if no such field exists.
Returns the collection of KML simple fields representing the non-schema data.
[since Esri::ArcGISRuntime 200.6]
void KmlNonSchemaData::removeField(const QString &name)
Removes the attribute corresponding to the provided field name from attributes and the corresponding field from fields.
This function was introduced in Esri::ArcGISRuntime 200.6.
[since Esri::ArcGISRuntime 200.6]
void KmlNonSchemaData::setAttributeValue(const QString &attributeName, const QVariant &attributeValue)
Sets the value of an existing attribute.
Object type must match the type of the attribute. Use QString for untyped attributes.
This function was introduced in Esri::ArcGISRuntime 200.6.
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