|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
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. | |
Multi-dimensional sort key specification for complex sorting.
Definition at line 104 of file UniversalSorter.hpp.