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

    This class was introduced in Esri::ArcGISRuntime 100.12.

    Public Functions

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

    Reimplemented Public Functions

    virtual QString toJson() const override
    virtual QJsonObject unknownJson() const override
    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

    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] 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.

    [override virtual] QJsonObject LayerFloorDefinition::unknownJson() const

    Reimplements: JsonSerializable::unknownJson() const.

    Returns unknown data from the source JSON.

    Unknown JSON is a dictionary of values that was in the source JSON but was unparsed by the Runtime.

    See also JsonSerializable.

    [override virtual] QJsonObject LayerFloorDefinition::unsupportedJson() const

    Reimplements: JsonSerializable::unsupportedJson() const.

    Returns unsupported data from the source JSON.

    Unsupported JSON is a dictionary of values that are supported by webmaps, but not exposed through the native Runtime API.

    See also JsonSerializable.

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