KmlSchemaData Class

  • KmlSchemaData
  • class Esri::ArcGISRuntime::KmlSchemaData

    The key/value pairs obtained from the node's schema data and the associated schema. More...

    Header: #include <KmlSchemaData.h>
    Since: Esri::ArcGISRuntime 200.5
    Inherits: Esri::ArcGISRuntime::Object

    Public Functions

    KmlSchemaData(const QVariantMap &attributes, Esri::ArcGISRuntime::KmlSchema *schema, QObject *parent = nullptr)
    virtual ~KmlSchemaData() override
    QVariantMap attributes() const
    Esri::ArcGISRuntime::KmlSchema *schema() const
    void setAttributeValue(const QString &attributeName, const QVariant &attributeValue)

    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] KmlSchemaData::~KmlSchemaData()

    Destructor.

    QVariantMap KmlSchemaData::attributes() const

    Returns the key and value pairs obtained from schema data nodes.

    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.

    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.