class DataSet
Implements a set of data groups with a common name.
DataSet | Implements a set of data groups with a common name. |
Functions | |
DataSet | Initializes the object. |
~DataSet | Releases all allocated resources. |
AddDataGroup | Adds the data group to the data set. |
GetName | Returns the name of the data set. |
GetUnit | Returns the unit of the data values. |
GetHighestGroupValue | Returns the highest summed value among all data groups of the data set. |
GetAllDataEntries | Returns a vector containing the data entries of all data groups. |
GetDataGroups | Returns a vector containing the data groups of the data set. |
SetSortingOrder | Sorts the data set according to the parameter either descending or ascending. |
GetSortingOrder | Returns a boolean value indicating the sorting order of the data set. |
SetFiltering | Filters the data set according to the parameter. |
GetFiltering | Returns a boolean value indicating the filtering behavior of the data set. |
void SetFiltering( bool bShowAll )
Filters the data set according to the parameter. If true, all elements are shown, else only the FILTER_SIZE biggest elements are shown and the rest is filtered.
bShowAll | Indicates if all data entries are shown (true) or if the filtering is applied (false). |
Implements a set of data groups with a common name.
class DataSet
Initializes the object.
DataSet( std:: string sName, std:: string sUnit )
Releases all allocated resources.
~DataSet()
Adds the data group to the data set.
void AddDataGroup( DataGroup * pDataGroup )
Returns the name of the data set.
std::string GetName()
Returns the unit of the data values.
std::string GetUnit()
Returns the highest summed value among all data groups of the data set.
double GetHighestGroupValue()
Returns a vector containing the data entries of all data groups.
std::vector<DataEntry*> GetAllDataEntries()
Returns a vector containing the data groups of the data set.
std::vector<DataGroup*> GetDataGroups()
Sorts the data set according to the parameter either descending or ascending.
void SetSortingOrder( bool bDescending )
Returns a boolean value indicating the sorting order of the data set.
bool GetSortingOrder()
Filters the data set according to the parameter.
void SetFiltering( bool bShowAll )
Returns a boolean value indicating the filtering behavior of the data set.
bool GetFiltering()