341 {
345 attributed.metadata[
"strategy"] =
static_cast<int>(
m_strategy);
346 attributed.metadata[
"direction"] =
static_cast<int>(
m_direction);
347 attributed.metadata[
"granularity"] =
static_cast<int>(
m_granularity);
348 return attributed;
349 }
Datum< OutputType > output_type
virtual SortingType get_sorting_type() const =0
Gets the sorting type category for this sorter.
SortingDirection m_direction
virtual std::string get_sorter_name() const
Get sorter-specific name (derived classes override this)
SortingStrategy m_strategy
SortingGranularity m_granularity
std::unordered_map< std::string, std::any > metadata
Associated metadata.