MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Yantra::SortKey Struct Reference

Multi-dimensional sort key specification for complex sorting. More...

#include <UniversalSorter.hpp>

+ Collaboration diagram for MayaFlux::Yantra::SortKey:

Public Member Functions

 SortKey (std::string n, std::function< double(const std::any &)> e)
 

Public Attributes

std::string name
 
std::function< double(const std::any &)> extractor
 Extract sort value from data.
 
SortingDirection direction = SortingDirection::ASCENDING
 
double weight = 1.0
 Weight for multi-key sorting.
 
bool normalize = false
 Normalize values before sorting.
 

Detailed Description

Multi-dimensional sort key specification for complex sorting.

Definition at line 104 of file UniversalSorter.hpp.


The documentation for this struct was generated from the following file: