Isis 3.0 Developer's Reference (API) |
Home |
00001 #ifndef GroupedStatistics_h 00002 #define GroupedStatistics_h 00003 00024 // Global forward declarations 00025 template< class A, class B > class QMap; 00026 template< class A > class QVector; 00027 class QString; 00028 00029 namespace Isis { 00030 00031 // Isis forward declarations 00032 class Statistics; 00033 00054 class GroupedStatistics { 00055 public: 00056 GroupedStatistics(); 00057 GroupedStatistics(const GroupedStatistics &other); 00058 ~GroupedStatistics(); 00059 00060 void AddStatistic(const QString &statType, const double &newStat); 00061 const Statistics &GetStatistics(const QString &statType) const; 00062 const QVector< QString > GetStatisticTypes() const; 00063 00064 GroupedStatistics &operator=(const GroupedStatistics &other); 00065 00066 private: 00068 QMap< QString, Statistics > * groupedStats; 00069 }; 00070 }; 00071 00072 #endif 00073