Isis Developer Reference
GroupedStatistics.h
Go to the documentation of this file.
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.
Definition GroupedStatistics.h:41
void AddStatistic(const QString &statType, const double &newStat)
Add a new data entry for a given type of data.
Definition GroupedStatistics.cpp:51
GroupedStatistics & operator=(const GroupedStatistics &other)
Assign a GroupedStatistics with another GroupedStatistics using =.
Definition GroupedStatistics.cpp:107
GroupedStatistics()
construct a GroupedStatistics object
Definition GroupedStatistics.cpp:17
const QVector< QString > GetStatisticTypes() const
Return a list of all the different statistic tyes that this GroupedStatistics has.
Definition GroupedStatistics.cpp:87
const Statistics & GetStatistics(const QString &statType) const
Get statistics for a given type of data.
Definition GroupedStatistics.cpp:66
~GroupedStatistics()
destroy a GroupedStatistics object
Definition GroupedStatistics.cpp:35
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.
Definition CubeIoHandler.h:22
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