47 (*groupedStats)[statType].AddData(newStat);
66 QString msg = statType;
67 msg +=
" passed to GetStats but does not exist within the map";
88 statTypes.push_back(i.key());
const Statistics & GetStatistics(const QString &statType) const
Get statistics for a given type of data.
~GroupedStatistics()
destroy a GroupedStatistics object
GroupedStatistics()
construct a GroupedStatistics object
This error is for when a programmer made an API call that was illegal.
This class is used to accumulate statistics on double arrays.
Unless noted otherwise, the portions of Isis written by the USGS are public domain.
#define _FILEINFO_
Macro for the filename and line number.
const QVector< QString > GetStatisticTypes() const
Return a list of all the different statistic tyes that this GroupedStatistics has.
GroupedStatistics & operator=(const GroupedStatistics &other)
Assign a GroupedStatistics with another GroupedStatistics using =.
Namespace for ISIS/Bullet specific routines.
QMap< QString, Statistics > * groupedStats
Map from statistic type to Statistics object.
void AddStatistic(const QString &statType, const double &newStat)
Add a new data entry for a given type of data.