Isis 3.0 Object Programmers' Reference
Home
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
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
54
class
GroupedStatistics
{
55
public
:
56
GroupedStatistics
();
57
GroupedStatistics
(
const
GroupedStatistics
&other);
58
~GroupedStatistics
();
59
60
void
AddStatistic
(
const
QString &statType,
const
double
&newStat);
61
const
Statistics
&
GetStatistics
(
const
QString &statType)
const
;
62
const
QVector< QString >
GetStatisticTypes
()
const
;
63
64
GroupedStatistics
&
operator=
(
const
GroupedStatistics
&other);
65
66
private
:
68
QMap< QString, Statistics >
*
groupedStats
;
69
};
70
};
71
72
#endif
73