ArcGIS Developers

EncDataset Class

class Esri::ArcGISRuntime::EncDataset

An Electronic Navigation Chart (ENC) dataset object. More...

Header: #include <EncDataset>
Since: Esri::ArcGISRuntime 100.2
Inherits: Esri::ArcGISRuntime::Object

This class was introduced in Esri::ArcGISRuntime 100.2.

Public Functions

virtual ~EncDataset() override
QString description() const
Esri::ArcGISRuntime::Envelope extent() const
bool isAuthorized() const
QString name() const
QString volumeName() const

Detailed Description

Use EncExchangeSet to get the list of EncDataset objects from a list of paths.

// create EncExchangeSet using paths
EncExchangeSet* encExchangeSet = new EncExchangeSet(paths, parent);

// get the list of EncDataset
QList<EncDataset*> EncDatasets = encExchangeSet->datasets();

// display the names of EncDataset
for (EncDataset* EncDataset: EncDatasets)
  qDebug() << EncDataset->name();

Note: You cannot create an object of this class.

See also EncExchangeSet and EncLayer.

Member Function Documentation

[override virtual] EncDataset::~EncDataset()


QString EncDataset::description() const

Gets the description of the ENC dataset.

Esri::ArcGISRuntime::Envelope EncDataset::extent() const

Gets the extent of the ENC dataset.

The extent can be used for setting the viewpoint of the map view to the ENC data set.

bool EncDataset::isAuthorized() const

Gets a value indicating whether the data set is authorized.

If the underlying data is S-57, then this function returns true.

This function was introduced in Esri::ArcGISRuntime 100.3.

QString EncDataset::name() const

Gets the name of the ENC dataset.

QString EncDataset::volumeName() const

Gets the volume name of the ENC dataset.

Feedback on this topic?