![]() |
Isis 3 Programmer 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... | |
Private Attributes | |
QMap< QString, Statistics > * | groupedStats |
Map from statistic type to Statistics object. 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.
2009-09-14 Eric Hyer - Original Version
2009-09-18 Eric Hyer - Fixed some comments / documentation
2009-10-15 Eric Hyer - Added GetStatisticTypes method
Definition at line 54 of file GroupedStatistics.h.
Isis::GroupedStatistics::GroupedStatistics | ( | ) |
construct a GroupedStatistics object
Definition at line 11 of file GroupedStatistics.cpp.
References groupedStats.
Isis::GroupedStatistics::GroupedStatistics | ( | const GroupedStatistics & | other | ) |
copy construct a GroupedStatistics object
other | The GroupedStatistics to copy |
Definition at line 22 of file GroupedStatistics.cpp.
References groupedStats.
Isis::GroupedStatistics::~GroupedStatistics | ( | ) |
destroy a GroupedStatistics object
Definition at line 29 of file GroupedStatistics.cpp.
References groupedStats.
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 |
Definition at line 45 of file GroupedStatistics.cpp.
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 |
Definition at line 60 of file GroupedStatistics.cpp.
References _FILEINFO_, groupedStats, and Isis::IException::Programmer.
const QVector< QString > Isis::GroupedStatistics::GetStatisticTypes | ( | ) | const |
Return a list of all the different statistic tyes that this GroupedStatistics has.
Definition at line 81 of file GroupedStatistics.cpp.
References groupedStats.
GroupedStatistics & Isis::GroupedStatistics::operator= | ( | const GroupedStatistics & | other | ) |
Assign a GroupedStatistics with another GroupedStatistics using =.
other | The GroupedStatistics to copy |
Definition at line 101 of file GroupedStatistics.cpp.
References groupedStats.
|
private |
Map from statistic type to Statistics object.
Definition at line 68 of file GroupedStatistics.h.
Referenced by GetStatistics(), GetStatisticTypes(), GroupedStatistics(), operator=(), and ~GroupedStatistics().
U.S. Department of the Interior | U.S. Geological Survey ISIS | Privacy & Disclaimers | Astrogeology Research Program To contact us, please post comments and questions on the USGS Astrogeology Discussion Board To report a bug, or suggest a feature go to: ISIS Github File Modified: 07/12/2023 23:50:28 |