LuciadCPillar 2023.1.04
luciad::FeatureQuery::SortProperty Class Referencefinal

SortProperty class defines the property name and the sort order for the SortOperator. More...

#include <luciad/models/features/FeatureQuery.h>

Public Member Functions

 SortProperty (DataPropertyPath propertyPath, SortOrder order)
 Constructs an instance of the SortProperty for a given property name and a sort order. More...
 
size_t getHash () const
 Returns the hash value for this sort order. More...
 
const DataPropertyPathgetPropertyPath () const
 Returns the property path. More...
 
SortOrder getSortOrder () const
 Returns the sort order. More...
 
bool operator!= (const SortProperty &other) const
 
bool operator== (const SortProperty &other) const
 

Detailed Description

SortProperty class defines the property name and the sort order for the SortOperator.

Constructor & Destructor Documentation

◆ SortProperty()

luciad::FeatureQuery::SortProperty::SortProperty ( DataPropertyPath  propertyPath,
SortOrder  order 
)

Constructs an instance of the SortProperty for a given property name and a sort order.

Parameters
propertyPathPath to the data property.
orderProperty sort order.

Member Function Documentation

◆ getHash()

size_t luciad::FeatureQuery::SortProperty::getHash ( ) const

Returns the hash value for this sort order.

Returns
the hash value for this sort order.

◆ getPropertyPath()

const DataPropertyPath & luciad::FeatureQuery::SortProperty::getPropertyPath ( ) const

Returns the property path.

Returns
the property path.

◆ getSortOrder()

SortOrder luciad::FeatureQuery::SortProperty::getSortOrder ( ) const

Returns the sort order.

Returns
the sort order.

◆ operator!=()

bool luciad::FeatureQuery::SortProperty::operator!= ( const SortProperty other) const

◆ operator==()

bool luciad::FeatureQuery::SortProperty::operator== ( const SortProperty other) const