DynamicEntityDataSourceInfo Class

  • DynamicEntityDataSourceInfo
  • class Esri::ArcGISRuntime::DynamicEntityDataSourceInfo

    Metadata for a DynamicEntityDataSource. More...

    Header: #include <DynamicEntityDataSourceInfo.h>
    Since: Esri::ArcGISRuntime 200.2
    Inherits: Esri::ArcGISRuntime::Object

    Public Functions

    DynamicEntityDataSourceInfo(const QString &entityIdFieldName, const QList<Esri::ArcGISRuntime::Field> &fields, QObject *parent = nullptr)
    virtual ~DynamicEntityDataSourceInfo() override
    QString description() const
    QString entityIdFieldName() const
    QList<Esri::ArcGISRuntime::Field> fields() const
    Esri::ArcGISRuntime::Envelope fullExtent() const
    void setDescription(const QString &description)
    void setFullExtent(const Esri::ArcGISRuntime::Envelope &fullExtent)
    void setSpatialReference(const Esri::ArcGISRuntime::SpatialReference &spatialReference)
    Esri::ArcGISRuntime::SpatialReference spatialReference() const

    Detailed Description

    An object of this type must be provided by classes that derive from DynamicEntityDataSource as the return value of DynamicEntityDataSource::onLoadAsync.

    Relevant samples:

    Member Function Documentation

    DynamicEntityDataSourceInfo::DynamicEntityDataSourceInfo(const QString &entityIdFieldName, const QList<Esri::ArcGISRuntime::Field> &fields, QObject *parent = nullptr)

    Creates a new data source info.

    • entityIdFieldName - The name of the field containing values that uniquely identify each entity. For example, the track id field with a unique identifier for each track from track-aware data, or the object id field for discrete data.
    • fields - The data source's field definitions.
    • parent - The optional parent QObject.

    [override virtual] DynamicEntityDataSourceInfo::~DynamicEntityDataSourceInfo()

    Destructor.

    QString DynamicEntityDataSourceInfo::description() const

    Returns the description of the data source.

    See also setDescription().

    QString DynamicEntityDataSourceInfo::entityIdFieldName() const

    Returns the name of the field containing values that uniquely identify each entity. For example, the track id field with a unique identifier for each track from track-aware data, or the object id field for discrete data.

    QList<Esri::ArcGISRuntime::Field> DynamicEntityDataSourceInfo::fields() const

    Returns the data source's field definitions.

    Esri::ArcGISRuntime::Envelope DynamicEntityDataSourceInfo::fullExtent() const

    Returns the full extent of the source data.

    See also setFullExtent().

    void DynamicEntityDataSourceInfo::setDescription(const QString &description)

    Sets the description to description.

    See also description.

    void DynamicEntityDataSourceInfo::setFullExtent(const Esri::ArcGISRuntime::Envelope &fullExtent)

    Sets the fullExtent to fullExtent.

    See also fullExtent.

    void DynamicEntityDataSourceInfo::setSpatialReference(const Esri::ArcGISRuntime::SpatialReference &spatialReference)

    Sets the spatialReference to spatialReference.

    See also spatialReference.

    Esri::ArcGISRuntime::SpatialReference DynamicEntityDataSourceInfo::spatialReference() const

    Returns the SpatialReference of this data source.

    The default is WGS84 (4326).

    See also setSpatialReference().

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