Isis 3 Programmer Reference
GroupedStatistics.h
1#ifndef GroupedStatistics_h
2#define GroupedStatistics_h
3
9/* SPDX-License-Identifier: CC0-1.0 */
10
11// Global forward declarations
12template< class A, class B > class QMap;
13template< class A > class QVector;
14class QString;
15
16namespace Isis {
17
18 // Isis forward declarations
19 class Statistics;
20
42 public:
46
47 void AddStatistic(const QString &statType, const double &newStat);
48 const Statistics &GetStatistics(const QString &statType) const;
50
52
53 private:
55 QMap< QString, Statistics > * groupedStats;
56 };
57};
58
59#endif
60
Grouped Statistics.
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
This class is used to accumulate statistics on double arrays.
Definition Statistics.h:94
This is free and unencumbered software released into the public domain.
This is free and unencumbered software released into the public domain.
Definition Calculator.h:18
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16