Skip To Content ArcGIS for Developers Sign In Dashboard

FeatureTemplate Class

(Esri::ArcGISRuntime::FeatureTemplate)

Represents all of the information needed to create a feature. More...

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

Public Functions

FeatureTemplate()
FeatureTemplate(const FeatureTemplate &other)
FeatureTemplate(FeatureTemplate &&other)
~FeatureTemplate()
QString description() const
DrawingTool drawingTool() const
bool isEmpty() const
QString name() const
QVariantMap prototypeAttributes() const
FeatureTemplate &operator=(const FeatureTemplate &other)
FeatureTemplate &operator=(FeatureTemplate &&other)

Detailed Description

Represents all of the information needed to create a feature.

A feature template defines all the information required to create a feature: the layer where a feature will be stored and the attributes a feature is created with.

Member Function Documentation

FeatureTemplate::FeatureTemplate()

Default constructor. Creates an empty FeatureTemplate.

FeatureTemplate::FeatureTemplate(const FeatureTemplate &other)

Copy constructor from other FeatureTemplate.

FeatureTemplate::FeatureTemplate(FeatureTemplate &&other)

Move constructor from other FeatureTemplate.

FeatureTemplate::~FeatureTemplate()

Destructor.

QString FeatureTemplate::description() const

Returns the description of the template.

DrawingTool FeatureTemplate::drawingTool() const

Returns the supported drawing tool to create a feature.

bool FeatureTemplate::isEmpty() const

Returns true if this FeatureTemplate is empty.

QString FeatureTemplate::name() const

Returns the name of the template.

QVariantMap FeatureTemplate::prototypeAttributes() const

Returns the attributes of a prototypical feature associated with the template.

The template specifies default values for many of the attributes and can be used to easily create new features.

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

Assignment operator from other FeatureTemplate.

FeatureTemplate &FeatureTemplate::operator=(FeatureTemplate &&other)

Move operator from other FeatureTemplate.


Feedback on this topic?