Contains a field name and sort order for use in a query where the results are sorted. More...
| Header | #include <Order |
| Since | Esri |
This class was introduced in Esri::ArcGISRuntime 100.0.
Public Functions
| Order | |
| Order | |
| Order | |
| Order | |
| Esri | operator=( |
| Esri | operator=(const Esri |
| ~ | |
| void | clear() |
| QString | field |
| bool | is |
| void | set |
| void | set |
| Esri | sort |
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().