QGIS API Documentation 3.30.0-'s-Hertogenbosch (f186b8efe0)
|
Represents a list of OrderByClauses, with the most important first and the least important last. More...
#include <qgsfeaturerequest.h>
Public Member Functions | |
CORE_EXPORT | OrderBy () |
Create a new empty order by. More... | |
CORE_EXPORT | OrderBy (const QList< QgsFeatureRequest::OrderByClause > &other) |
Create a new order by from a list of clauses. More... | |
QString CORE_EXPORT | dump () const |
Dumps the content to an SQL equivalent syntax. More... | |
QList< QgsFeatureRequest::OrderByClause > CORE_EXPORT | list () const |
Gets a copy as a list of OrderByClauses. More... | |
void CORE_EXPORT | load (const QDomElement &elem) |
Deserialize from XML. More... | |
void CORE_EXPORT | save (QDomElement &elem) const |
Serialize to XML. More... | |
QSet< int > CORE_EXPORT | usedAttributeIndices (const QgsFields &fields) const |
Returns a set of used, validated attribute indices. More... | |
QSet< QString > CORE_EXPORT | usedAttributes () const |
Returns a set of used attributes. More... | |
Represents a list of OrderByClauses, with the most important first and the least important last.
Definition at line 251 of file qgsfeaturerequest.h.
|
default |
Create a new empty order by.
QgsFeatureRequest::OrderBy::OrderBy | ( | const QList< QgsFeatureRequest::OrderByClause > & | other | ) |
Create a new order by from a list of clauses.
Definition at line 509 of file qgsfeaturerequest.cpp.
QString QgsFeatureRequest::OrderBy::dump | ( | ) | const |
Dumps the content to an SQL equivalent syntax.
Definition at line 589 of file qgsfeaturerequest.cpp.
QList< QgsFeatureRequest::OrderByClause > QgsFeatureRequest::OrderBy::list | ( | ) | const |
Gets a copy as a list of OrderByClauses.
This is only required in Python where the inheritance is not properly propagated and this makes it usable.
Definition at line 518 of file qgsfeaturerequest.cpp.
void QgsFeatureRequest::OrderBy::load | ( | const QDomElement & | elem | ) |
Deserialize from XML.
Definition at line 539 of file qgsfeaturerequest.cpp.
void QgsFeatureRequest::OrderBy::save | ( | QDomElement & | elem | ) | const |
Serialize to XML.
Definition at line 523 of file qgsfeaturerequest.cpp.
QSet< int > QgsFeatureRequest::OrderBy::usedAttributeIndices | ( | const QgsFields & | fields | ) | const |
Returns a set of used, validated attribute indices.
Definition at line 571 of file qgsfeaturerequest.cpp.
QSet< QString > QgsFeatureRequest::OrderBy::usedAttributes | ( | ) | const |
Returns a set of used attributes.
Definition at line 556 of file qgsfeaturerequest.cpp.