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

    Public Functions

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

    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


    Default constructor. Creates an empty FeatureTemplate.

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

    Copy constructor from other FeatureTemplate.

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

    Move constructor from other FeatureTemplate.



    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.

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

    Assignment operator from other FeatureTemplate.

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

    Move operator from other FeatureTemplate.

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