Skip to content

LayerFloorDefinition Class

  • LayerFloorDefinition
  • class Esri::ArcGISRuntime::LayerFloorDefinition

    Describes how features in a FloorAware layer are associated with floor levels of a facility. More...

    Header: #include <LayerFloorDefinition.h>
    Since: Esri::ArcGISRuntime 100.12
    Inherits: Esri::ArcGISRuntime::Object and Esri::ArcGISRuntime::JsonSerializable

    Public Functions

    LayerFloorDefinition(const QString &floorField, QObject *parent = nullptr)
    virtual ~LayerFloorDefinition() override
    QString floorField() const

    Reimplemented Public Functions

    virtual QString toJson() const override
    (deprecated) virtual QJsonObject unknownJson() const override
    (deprecated) virtual QJsonObject unsupportedJson() const override

    Static Public Members

    Esri::ArcGISRuntime::LayerFloorDefinition *fromJson(const QString &json, QObject *parent = nullptr)

    Detailed Description

    LayerFloorDefinition defines the properties that are used to filter the levels, or floors, of a facility.

    See also GeoModelFloorDefinition.

    Member Function Documentation

    [explicit] LayerFloorDefinition::LayerFloorDefinition(const QString &floorField, QObject *parent = nullptr)

    Creates a new LayerFloorDefinition object with a name of an attribute field.

    • floorField - The name of the attribute field that contains each floor level's ID.
    • parent - The optional parent QObject.

    [override virtual noexcept] LayerFloorDefinition::~LayerFloorDefinition()

    Destructor.

    QString LayerFloorDefinition::floorField() const

    Returns the name of the attribute field that contains each floor level's ID.

    [static] Esri::ArcGISRuntime::LayerFloorDefinition *LayerFloorDefinition::fromJson(const QString &json, QObject *parent = nullptr)

    Converts a JSON string and returns an object.

    • json - The JSON string.
    • parent The parent object (optional).

    [override virtual] QString LayerFloorDefinition::toJson() const

    Reimplements: JsonSerializable::toJson() const.

    Converts an object and returns a JSON string.

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