4 #include "namedobject.h"
18 enum SortingAttribute { OnsetTimeASC = 0, OnsetTimeDESC, VolatilityASC, VolatilityDESC, SIZE_OF_ENUM };
35 virtual void orderLayers(
DataSet& data) = 0;
40 #endif // GRAPHSORTER_H
void Sort(DataSet &data, const SortingAttribute attribute)
Sorts the dataset in a preprocessing step according to its dataitems sorting attribute value...
Definition: graphsorter.cpp:22
SortingAttribute
List of attributes used to sort the dataset.
Definition: graphsorter.h:18
The data set.
Definition: dataset.h:85
Represents a single layer of the stacked graph.
Definition: dataset.h:23
static const char *const sortingAttribute_str[SortingAttribute::SIZE_OF_ENUM]
String value of the sorting attributes used to display in the GUI.
Definition: graphsorter.h:23
Derived classes provide sorting functionality for the graph layers, usign different algorithms...
Definition: graphsorter.h:10
Interface for objects which have a name.
Definition: namedobject.h:9