ArcGIS Developers

FeatureType Class

class Esri::ArcGISRuntime::FeatureType

Encapsulates properties of types of features in a feature layer. More...

Header: #include <FeatureType>
Since: Esri::ArcGISRuntime 100.0

This class was introduced in Esri::ArcGISRuntime 100.0.

Public Functions

FeatureType(Esri::ArcGISRuntime::FeatureType &&other)
FeatureType(const Esri::ArcGISRuntime::FeatureType &other)
Esri::ArcGISRuntime::FeatureType &operator=(Esri::ArcGISRuntime::FeatureType &&other)
Esri::ArcGISRuntime::FeatureType &operator=(const Esri::ArcGISRuntime::FeatureType &other)
QMap<QString, Esri::ArcGISRuntime::Domain> domains() const
bool isEmpty() const
QString name() const
QList<Esri::ArcGISRuntime::FeatureTemplate> templates() const
QVariant typeId() const

Detailed Description

A feature type describes the various types of features that can belong to a feature layer.

Member Function Documentation

FeatureType::FeatureType(Esri::ArcGISRuntime::FeatureType &&other)

Move constructor from other FeatureType.

FeatureType::FeatureType(const Esri::ArcGISRuntime::FeatureType &other)

Copy constructor from other FeatureType.


Default constructor. Creates an empty FeatureType.

Esri::ArcGISRuntime::FeatureType &FeatureType::operator=(Esri::ArcGISRuntime::FeatureType &&other)

Move operator from other FeatureType.

Esri::ArcGISRuntime::FeatureType &FeatureType::operator=(const Esri::ArcGISRuntime::FeatureType &other)

Assignment operator from other FeatureType.



QMap<QString, Esri::ArcGISRuntime::Domain> FeatureType::domains() const

Returns the domains describing permissible attribute values for features of this type.

The map contains key-value pairs of field name and a corresponding Domain object for this type.

bool FeatureType::isEmpty() const

Returns true if this FeatureType is empty.

QString FeatureType::name() const

Returns the name of this type.

QList<Esri::ArcGISRuntime::FeatureTemplate> FeatureType::templates() const

Returns templates that can be used for creating new features of this type.

QVariant FeatureType::typeId() const

Returns the ID of this type.

Feedback on this topic?