SortOperator class contains a list of properties that must be taken into account for sorting.
More...
#include <luciad/models/features/FeatureQuery.h>
SortOperator class contains a list of properties that must be taken into account for sorting.
◆ getComparer()
◆ getHash()
size_t luciad::FeatureQuery::SortOperator::getHash |
( |
| ) |
const |
Returns the hash value for this sort operator.
- Returns
- the hash value for this sort operator.
◆ getSortProperties()
const std::vector< SortProperty > & luciad::FeatureQuery::SortOperator::getSortProperties |
( |
| ) |
const |
Returns the list of sort properties.
- Returns
- the list of sort properties.
◆ operator!=()
bool luciad::FeatureQuery::SortOperator::operator!= |
( |
const SortOperator & |
other | ) |
const |
◆ operator==()
bool luciad::FeatureQuery::SortOperator::operator== |
( |
const SortOperator & |
other | ) |
const |
◆ sortBy()
Returns a new 'sortby' operator.
- Parameters
-
propertyPath | the path to the property that is used for the sort operation |
order | the sorting order: ascending or descending |
- Returns
- a new 'sortby' operator.
◆ thenBy()
Creates a secondary sorting operator that is used as fallback when the main sorting operator encounters the same value.
- Parameters
-
propertyPath | the path to the property that is used for the sort operation |
order | the sorting order: ascending or descending |
- Returns
- a secondary sorting operator.