ArcGIS Developers

TableSublayerSource Class

class Esri::ArcGISRuntime::TableSublayerSource

Sublayer source that is a table, a feature class, or a raster that resides in a registered workspace (either a folder or geodatabase). More...

Header: #include <TableSublayerSource>
Since: Esri::ArcGISRuntime 100.1
Inherits: Esri::ArcGISRuntime::SublayerSource

This class was introduced in Esri::ArcGISRuntime 100.1.

Public Functions

TableSublayerSource(const QString &workspaceId, const QString &dataSourceName, QObject *parent = nullptr)
virtual ~TableSublayerSource() override
QString dataSourceName() const
QString geodatabaseVersion() const
void setGeodatabaseVersion(const QString &geodatabaseVersion)
QString workspaceId() const

Detailed Description

Member Function Documentation

TableSublayerSource::TableSublayerSource(const QString &workspaceId, const QString &dataSourceName, QObject *parent = nullptr)

Constructor that accepts a workspace ID and a data source name.

  • workspaceId - The workspace ID.
  • dataSourceName - The data source name.
  • parent - The parent object (optional, defaults to nullptr).

[override virtual] TableSublayerSource::~TableSublayerSource()


QString TableSublayerSource::dataSourceName() const

Returns the name of the data source for this object.

QString TableSublayerSource::geodatabaseVersion() const

Returns the geodatabase version, if applicable.

See also setGeodatabaseVersion().

void TableSublayerSource::setGeodatabaseVersion(const QString &geodatabaseVersion)

Sets the geodatabase version to geodatabaseVersion.

If the data source is a versioned geodatabase, you can use this property to switch to an alternate version. The registered geodatabase version is used by default.

See also geodatabaseVersion().

QString TableSublayerSource::workspaceId() const

Returns the workspace ID.

Feedback on this topic?