OrderBy Class

  • OrderBy
  • class Esri::ArcGISRuntime::OrderBy

    Contains a field name and sort order for use in a query where the results are sorted. More...

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

    This class was introduced in Esri::ArcGISRuntime 100.0.

    Public Functions

    OrderBy(Esri::ArcGISRuntime::OrderBy &&other)
    OrderBy(const Esri::ArcGISRuntime::OrderBy &other)
    OrderBy(const QString &fieldName, Esri::ArcGISRuntime::SortOrder sortOrder)
    OrderBy()
    Esri::ArcGISRuntime::OrderBy &operator=(Esri::ArcGISRuntime::OrderBy &&other)
    Esri::ArcGISRuntime::OrderBy &operator=(const Esri::ArcGISRuntime::OrderBy &other)
    ~OrderBy()
    void clear()
    QString fieldName() const
    bool isEmpty() const
    void setFieldName(const QString &fieldName)
    void setSortOrder(Esri::ArcGISRuntime::SortOrder sortOrder)
    Esri::ArcGISRuntime::SortOrder sortOrder() const

    Detailed Description

    Member Function Documentation

    OrderBy::OrderBy(Esri::ArcGISRuntime::OrderBy &&other)

    Move constructor from other OrderBy.

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

    Copy constructor from other OrderBy.

    OrderBy::OrderBy(const QString &fieldName, Esri::ArcGISRuntime::SortOrder sortOrder)

    Creates an instance of OrderBy providing fieldName to order by and sortOrder to be applied on the field.

    OrderBy::OrderBy()

    Default Constructor. Create an empty OrderBy instance.

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

    Move operator from other OrderBy.

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

    Assignment operator from other OrderBy.

    OrderBy::~OrderBy()

    Destructor

    void OrderBy::clear()

    Clears this OrderBy and sets back to empty.

    QString OrderBy::fieldName() const

    Returns the field name to order by.

    See also setFieldName().

    bool OrderBy::isEmpty() const

    Returns true if this OrderBy is empty.

    void OrderBy::setFieldName(const QString &fieldName)

    Sets the fieldName to order by.

    See also fieldName().

    void OrderBy::setSortOrder(Esri::ArcGISRuntime::SortOrder sortOrder)

    Sets the sortOrder to be applied to the field.

    See also sortOrder().

    Esri::ArcGISRuntime::SortOrder OrderBy::sortOrder() const

    Returns the sort order applied to the field.

    See also setSortOrder().

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