KmlSchema Class

  • KmlSchema
  • class Esri::ArcGISRuntime::KmlSchema

    A KML schema object. More...

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

    Public Functions

    virtual ~KmlSchema() override
    Esri::ArcGISRuntime::KmlSimpleField *field(const QString &name) const
    QList<Esri::ArcGISRuntime::KmlSimpleField *> fields() const
    QString name() const
    QString schemaId() const

    Detailed Description

    The schema element defined under KML document in the KML file. It consists of an array of KmlSimpleField, a name, and a schema ID.

    Member Function Documentation

    [override virtual] KmlSchema::~KmlSchema()

    Destructor.

    Esri::ArcGISRuntime::KmlSimpleField *KmlSchema::field(const QString &name) const

    Returns the simple field object with the given name, or nullptr if no such field exists.

    • name - The name of the simple field.

    QList<Esri::ArcGISRuntime::KmlSimpleField *> KmlSchema::fields() const

    Returns an array of simple fields.

    An array of KmlSimpleField objects dictates the creation of simple data nodes. If there is no schema defined at the document level, the array will be empty.

    QString KmlSchema::name() const

    Returns the name of the schema defined in the KML file.

    QString KmlSchema::schemaId() const

    Returns the ID of the schema defined in the KML file.

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