368 {
372 attributed.metadata[
"strategy"] =
static_cast<int>(
m_strategy);
373 attributed.metadata[
"direction"] =
static_cast<int>(
m_direction);
374 attributed.metadata[
"granularity"] =
static_cast<int>(
m_granularity);
375 return attributed;
376 }
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)
IO< OutputType > output_type
SortingStrategy m_strategy
SortingGranularity m_granularity
std::unordered_map< std::string, std::any > metadata
Associated metadata.