LuciadCPillar 2024.0.08
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
luciad::FeatureComparer Class Referencefinal

Feature comparer class to be used with std::sort like algorithms. More...

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

Public Member Functions

 FeatureComparer (const FeatureComparer &other)
 
 FeatureComparer (FeatureComparer &&other) noexcept
 
 FeatureComparer (FeatureQuery::SortOperator sortBy)
 Creates a new instance with the specified "sortBy" operator. More...
 
 ~FeatureComparer ()
 
bool operator() (const Feature &lhs, const Feature &rhs) const
 
FeatureCompareroperator= (FeatureComparer other) noexcept
 

Detailed Description

Feature comparer class to be used with std::sort like algorithms.

Constructor & Destructor Documentation

◆ FeatureComparer() [1/3]

luciad::FeatureComparer::FeatureComparer ( FeatureQuery::SortOperator  sortBy)
explicit

Creates a new instance with the specified "sortBy" operator.

Parameters
sortBySort operator.

◆ FeatureComparer() [2/3]

luciad::FeatureComparer::FeatureComparer ( const FeatureComparer other)

◆ FeatureComparer() [3/3]

luciad::FeatureComparer::FeatureComparer ( FeatureComparer &&  other)
noexcept

◆ ~FeatureComparer()

luciad::FeatureComparer::~FeatureComparer ( )

Member Function Documentation

◆ operator()()

bool luciad::FeatureComparer::operator() ( const Feature lhs,
const Feature rhs 
) const

◆ operator=()

FeatureComparer & luciad::FeatureComparer::operator= ( FeatureComparer  other)
noexcept