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
12 template< class A, class B > class QMap;
13 template< class A > class QVector;
14 class QString;
15 
16 namespace 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:
56  };
57 };
58 
59 #endif
60 
Isis::GroupedStatistics::AddStatistic
void AddStatistic(const QString &statType, const double &newStat)
Add a new data entry for a given type of data.
Definition: GroupedStatistics.cpp:51
Isis::Statistics
This class is used to accumulate statistics on double arrays.
Definition: Statistics.h:94
Isis::GroupedStatistics::GroupedStatistics
GroupedStatistics()
construct a GroupedStatistics object
Definition: GroupedStatistics.cpp:17
Isis::GroupedStatistics::groupedStats
QMap< QString, Statistics > * groupedStats
Map from statistic type to Statistics object.
Definition: GroupedStatistics.h:55
Isis::GroupedStatistics
Grouped Statistics.
Definition: GroupedStatistics.h:41
Isis::GroupedStatistics::GetStatistics
const Statistics & GetStatistics(const QString &statType) const
Get statistics for a given type of data.
Definition: GroupedStatistics.cpp:66
Isis::GroupedStatistics::GetStatisticTypes
const QVector< QString > GetStatisticTypes() const
Return a list of all the different statistic tyes that this GroupedStatistics has.
Definition: GroupedStatistics.cpp:87
QMap
This is free and unencumbered software released into the public domain.
Definition: CubeIoHandler.h:22
Isis::GroupedStatistics::operator=
GroupedStatistics & operator=(const GroupedStatistics &other)
Assign a GroupedStatistics with another GroupedStatistics using =.
Definition: GroupedStatistics.cpp:107
Isis::GroupedStatistics::~GroupedStatistics
~GroupedStatistics()
destroy a GroupedStatistics object
Definition: GroupedStatistics.cpp:35
QVector
This is free and unencumbered software released into the public domain.
Definition: Calculator.h:18
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16