Isis 3 Developer Reference
|
Grouped Statistics. More...
#include <GroupedStatistics.h>
Public Member Functions | |
GroupedStatistics () | |
construct a GroupedStatistics object More... | |
GroupedStatistics (const GroupedStatistics &other) | |
copy construct a GroupedStatistics object More... | |
~GroupedStatistics () | |
destroy a GroupedStatistics object More... | |
void | AddStatistic (const QString &statType, const double &newStat) |
Add a new data entry for a given type of data. More... | |
const Statistics & | GetStatistics (const QString &statType) const |
Get statistics for a given type of data. More... | |
const QVector< QString > | GetStatisticTypes () const |
Return a list of all the different statistic tyes that this GroupedStatistics has. More... | |
GroupedStatistics & | operator= (const GroupedStatistics &other) |
Assign a GroupedStatistics with another GroupedStatistics using =. More... | |
Grouped Statistics.
This class is used to store statistics on a group of related items.
This class is include safe meaning that includers of this class will only get this class.
Isis::GroupedStatistics::GroupedStatistics | ( | ) |
construct a GroupedStatistics object
Isis::GroupedStatistics::GroupedStatistics | ( | const GroupedStatistics & | other | ) |
copy construct a GroupedStatistics object
other | The GroupedStatistics to copy |
Isis::GroupedStatistics::~GroupedStatistics | ( | ) |
destroy a GroupedStatistics object
void Isis::GroupedStatistics::AddStatistic | ( | const QString & | statType, |
const double & | newStat | ||
) |
Add a new data entry for a given type of data.
statType | Type of data (GoodnessOfFit for example) |
newStat | New statistical data to be added |
const Statistics & Isis::GroupedStatistics::GetStatistics | ( | const QString & | statType | ) | const |
Get statistics for a given type of data.
statType | Type of data |
IException | When the given type of data does not exist |
References _FILEINFO_, and Isis::IException::Programmer.
const QVector< QString > Isis::GroupedStatistics::GetStatisticTypes | ( | ) | const |
Return a list of all the different statistic tyes that this GroupedStatistics has.
GroupedStatistics & Isis::GroupedStatistics::operator= | ( | const GroupedStatistics & | other | ) |
Assign a GroupedStatistics with another GroupedStatistics using =.
other | The GroupedStatistics to copy |