Skip To Content ArcGIS for Developers Sign In Dashboard

FeatureSet Class

(Esri::ArcGISRuntime::FeatureSet)

Base class for a collection of features. More...

Public Functions

virtual ~FeatureSet()
virtual QList<Field> fields() const = 0
virtual GeometryType geometryType() const = 0
virtual FeatureIterator iterator() const = 0
virtual SpatialReference spatialReference() const = 0

Detailed Description

Base class for a collection of features.

A feature set can be the result of a task, such as a query, or the input to a task, such as some geoprocessing tasks.

If the features in a feature set contain only attributes and no geometry, the feature set can be considered a simple table where each feature is a row in that table.

Member Function Documentation

[virtual] FeatureSet::~FeatureSet()

Destructor.

[pure virtual] QList<Field> FeatureSet::fields() const

Returns the list of fields common to all features in this feature set.

This is the pure virtual version of this method. It should be implemented by classes that inherit from this interface.

[pure virtual] GeometryType FeatureSet::geometryType() const

Returns the geometry type common to all features in this feature set.

This is the pure virtual version of this method. It should be implemented by classes that inherit from this interface.

[pure virtual] FeatureIterator FeatureSet::iterator() const

Returns an iterator used iterate over all features in this feature set.

This is the pure virtual version of this method. It should be implemented by classes that inherit from this interface.

[pure virtual] SpatialReference FeatureSet::spatialReference() const

Returns the spatial reference common to all features in this feature set.

This is the pure virtual version of this method. It should be implemented by classes that inherit from this interface.


Feedback on this topic?