FeatureTemplate Class

  • FeatureTemplate
  • class Esri::ArcGISRuntime::FeatureTemplate

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

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

    This class was introduced in Esri::ArcGISRuntime 100.0.

    Public Functions

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

    Detailed Description

    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(Esri::ArcGISRuntime::FeatureTemplate &&other)

    Move constructor from other FeatureTemplate.

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

    Copy constructor from other FeatureTemplate.

    FeatureTemplate::FeatureTemplate()

    Default constructor. Creates an empty FeatureTemplate.

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

    Move operator from other FeatureTemplate.

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

    Assignment operator from other FeatureTemplate.

    FeatureTemplate::~FeatureTemplate()

    Destructor.

    QString FeatureTemplate::description() const

    Returns the description of the template.

    Esri::ArcGISRuntime::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.

    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.