The key/value pairs obtained from the node's schema data and the associated schema. More...
Header | #include <Kml |
Since | Esri |
Inherits | Esri |
Public Functions
(since Esri | Kml |
virtual | ~ |
Q | attributes() const |
Esri | schema() const |
(since Esri void | set |
Detailed Description
Member Function Documentation
[since Esri::ArcGISRuntime 200.6]
KmlSchemaData::KmlSchemaData (const QVariantMap &attributes, Esri::ArcGISRuntime::KmlSchema *schema, QObject *parent = nullptr)
Creates schema data from the attribute key-value pairs and schema.
- attributes - The key-value pairs of the schema data.
- schema - The schema associated with the schema data.
- parent - The optional parent QObject.
This function was introduced in Esri::ArcGISRuntime 200.6.
[override virtual noexcept]
KmlSchemaData::~KmlSchemaData ()
Destructor.
QVariantMap KmlSchemaData::attributes() const
Returns the key and value pairs obtained from schema data nodes.
nullptr
values in array data will be discarded.
Esri::ArcGISRuntime::KmlSchema *KmlSchemaData::schema() const
Returns the schema associated with the schema data.
[since Esri::ArcGISRuntime 200.6]
void KmlSchemaData::setAttributeValue (const QString &attributeName , const QVariant &attributeValue )
Sets the value of an existing attribute.
- attributeName - The name of the attribute to update.
- attributeValue - The value to be set on the attribute.
Object type must match the type of the attribute.
This function was introduced in Esri::ArcGISRuntime 200.6.