#include <Statistics.h>
Public Types | |
enum | Error { STATISTICS_NAME_NOT_FOUND } |
Public Member Functions | |
TSStats & | getTSStats (StatisticsName name) |
Return all statistics with given name. | |
bool | hasTSStats (StatisticsName name) |
checks if a given statistics name is defined. | |
const FixLenTimeSeries & | getStatistics (StatisticsName name, IDType id) const throw ( Error, TSStats::Error ) |
Return statistics with given name and ID. | |
FixLenTimeSeries & | getStatistics (StatisticsName name, IDType id) throw ( Error, TSStats::Error ) |
Return statistics with given name and ID. | |
Statistics | copy () |
Returns a copy of the Stats. | |
TSStats | copyTSStats (StatisticsName name, int32 window_size=0, TimeSec precision=0, TimeStamp time_stamp=0) throw ( Error ) |
Copy TSStats. | |
TSStats | copyTSStats (StatisticsName name, IDVect ids, int32 window_size=0, TimeSec precision=0, TimeStamp time_stamp=0) throw ( Error ) |
Copy TSStats with given object names. | |
FixLenTimeSeries | copyStatistics (StatisticsName name, IDType id, int32 window_size=0, TimeSec precision=0, TimeStamp time_stamp=0) throw ( Error ) |
Copy statistics of an given object. | |
void | outputStatisticsNames (ostream &os) |
Output the names of all statistics. | |
Friends | |
ostream & | operator<< (ostream &os, const Statistics &stats) |
Output the Stats. |
|
|
|
Returns a copy of the Stats.
|
|
Copy statistics of an given object. If window_size/precision/time_stamp is zero, then the default value is used. Otherwise, the returned data are resamples according to the given parameters.
|
|
Copy TSStats with given object names. Only the statistis data of the objects in the given list are returned. If window_size/precision/time_stamp is zero, then the default value is used. Otherwise, the returned data are resamples according to the given parameters.
|
|
Copy TSStats. If window_size/precision/time_stamp is zero, then the default value is used. Otherwise, the returned data are resamples according to the given parameters.
|
|
Return statistics with given name and ID.
|
|
Return statistics with given name and ID.
|
|
Return all statistics with given name.
|
|
checks if a given statistics name is defined.
|
|
Output the names of all statistics.
|
|
Output the Stats.
|