CuteHMI - Data Acquisition (CuteHMI.DataAcquisition.1)
|
Classes | |
class | DbServiceableMixin |
class | EventCollective |
class | HistoryCollective |
class | ModelMixin |
class | QMLPlugin |
QML plugin. More... | |
class | RecencyCollective |
class | TableCollective |
struct | TableNameTraits |
struct | TableNameTraits< bool > |
struct | TableNameTraits< double > |
struct | TableNameTraits< int > |
class | TableObject |
class | TagCache |
Functions | |
template<typename COLUMN_VALUES , int SIZE> | |
void | mergeColumnValues (COLUMN_VALUES &result, const COLUMN_VALUES *columnValues, std::function< bool(const COLUMN_VALUES &a, int aIndex, const COLUMN_VALUES &b, int bIndex)> compare) |
Merge column values into single COLUMN_VALUES structure, so that elements are stored in particular order. More... | |
void cutehmi::dataacquisition::internal::mergeColumnValues | ( | COLUMN_VALUES & | result, |
const COLUMN_VALUES * | columnValues, | ||
std::function< bool(const COLUMN_VALUES &a, int aIndex, const COLUMN_VALUES &b, int bIndex)> | compare | ||
) |
Merge column values into single COLUMN_VALUES structure, so that elements are stored in particular order.
COLUMN_VALUES | column values type. |
SIZE | size of columnValues array. |
mergedValues | reference to a structure where results shall be stored. |
columnValues | column values arrays. Arrays should be sorted as if they were sorted by compare function in descending(!) order (thus typically some sort of "less than" compare function shall be used to maintain descending order). |
compare | function which compares |