DataSet.cpp

Summary
DataSet.cpp
Functions
CompareEntriesLessGlobal ‘less’ compare function for data entries by their values.
CompareEntriesGreaterGlobal ‘greater’ compare function for data entries by their values.
CompareGroupsLessGlobal ‘less’ compare function for data groups by their summed values.
CompareGroupsGreaterGlobal ‘greater’ compare function for data groups by their summed values.

Functions

CompareEntriesLess

bool CompareEntriesLess(DataEntry *pFirstEntry,
DataEntry *pSecondEntry)

Global ‘less’ compare function for data entries by their values.

Parameters

pFirstEntryThe first data entry to be compared.
pSecondEntryThe second data entry to be compared.

Returns

A boolean value indicating if the first entry’s value is smaller than the second entry’s.

CompareEntriesGreater

bool CompareEntriesGreater(DataEntry *pFirstEntry,
DataEntry *pSecondEntry)

Global ‘greater’ compare function for data entries by their values.

Parameters

pFirstEntryThe first data entry to be compared.
pSecondEntryThe second data entry to be compared.

Returns

A boolean value indicating if the first entry’s value is greater than the second entry’s.

CompareGroupsLess

bool CompareGroupsLess(DataGroup *pFirstGroup,
DataGroup *pSecondGroup)

Global ‘less’ compare function for data groups by their summed values.

Parameters

pFirstGroupThe first data group to be compared.
pSecondGroupThe second data group to be compared.

Returns

A boolean value indicating if the first group’s summed value is smaller than the second group’s.

CompareGroupsGreater

bool CompareGroupsGreater(DataGroup *pFirstGroup,
DataGroup *pSecondGroup)

Global ‘greater’ compare function for data groups by their summed values.

Parameters

pFirstGroupThe first data group to be compared.
pSecondGroupThe second data group to be compared.

Returns

A boolean value indicating if the first group’s summed value is greater than the second group’s.

bool CompareEntriesLess(DataEntry *pFirstEntry,
DataEntry *pSecondEntry)
Global ‘less’ compare function for data entries by their values.
bool CompareEntriesGreater(DataEntry *pFirstEntry,
DataEntry *pSecondEntry)
Global ‘greater’ compare function for data entries by their values.
bool CompareGroupsLess(DataGroup *pFirstGroup,
DataGroup *pSecondGroup)
Global ‘less’ compare function for data groups by their summed values.
bool CompareGroupsGreater(DataGroup *pFirstGroup,
DataGroup *pSecondGroup)
Global ‘greater’ compare function for data groups by their summed values.
Close