Skip To Content ArcGIS for Developers Sign In Dashboard

TableSublayerSource 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: SublayerSource

Public Functions

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

Additional Inherited Members

Detailed Description

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

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).

TableSublayerSource::~TableSublayerSource()

Destructor.

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?