7#include "GroupedStatistics.h"
30 groupedStats =
new QMap< QString, Statistics >(*other.groupedStats);
53 (*groupedStats)[statType].AddData(newStat);
72 QString msg = statType;
73 msg +=
" passed to GetStats but does not exist within the map";
94 statTypes.push_back(i.key());
112 groupedStats =
new QMap< QString, Statistics >(*other.groupedStats);
void AddStatistic(const QString &statType, const double &newStat)
Add a new data entry for a given type of data.
GroupedStatistics & operator=(const GroupedStatistics &other)
Assign a GroupedStatistics with another GroupedStatistics using =.
GroupedStatistics()
construct a GroupedStatistics object
const QVector< QString > GetStatisticTypes() const
Return a list of all the different statistic tyes that this GroupedStatistics has.
QMap< QString, Statistics > * groupedStats
Map from statistic type to Statistics object.
const Statistics & GetStatistics(const QString &statType) const
Get statistics for a given type of data.
~GroupedStatistics()
destroy a GroupedStatistics object
@ Programmer
This error is for when a programmer made an API call that was illegal.
This class is used to accumulate statistics on double arrays.
This is free and unencumbered software released into the public domain.
This is free and unencumbered software released into the public domain.