Isis 3 Programmer Reference
GroupedStatistics.h
Go to the documentation of this file.
1 #ifndef GroupedStatistics_h
2 #define GroupedStatistics_h
3 
24 // Global forward declarations
25 template< class A, class B > class QMap;
26 template< class A > class QVector;
27 class QString;
28 
29 namespace Isis {
30 
31  // Isis forward declarations
32  class Statistics;
33 
55  public:
59 
60  void AddStatistic(const QString &statType, const double &newStat);
61  const Statistics &GetStatistics(const QString &statType) const;
63 
65 
66  private:
69  };
70 };
71 
72 #endif
73 
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
Grouped Statistics.
This class is used to accumulate statistics on double arrays.
Definition: Statistics.h:107
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.
Definition: Apollo.h:31
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.