Skip To Content ArcGIS for Developers Sign In Dashboard

FeatureType Class

(Esri::ArcGISRuntime::FeatureType)

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

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

Public Functions

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

Detailed Description

Encapsulates properties of types of features in a feature layer.

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

Member Function Documentation

FeatureType::FeatureType()

Default constructor. Creates an empty FeatureType.

FeatureType::FeatureType(const FeatureType &other)

Copy constructor from other FeatureType.

FeatureType::FeatureType(FeatureType &&other)

Move constructor from other FeatureType.

FeatureType::~FeatureType()

Destructor.

QMap<QString, 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<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.

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

Assignment operator from other FeatureType.

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

Move operator from other FeatureType.


Feedback on this topic?