git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1765
270642c3-0616-0410-b53a-bc976706d245
}
template <class T>
-prefix_ void senf::StatisticAccumulator<T>::data( StatisticsData &data_)
+prefix_ void senf::StatisticAccumulator<T>::data( StatisticsData &data_) const
{
data_.min = (float) min_;
data_.avg = avg();
data_.max = (float) max_;
data_.stddev = stddev();
- data_.count = count;
+ data_.count = count_;
}
boost::uint32_t count() const;
///< Returns count of accumulated values.
/**< This method returns count of accumulated values of the current accumulation.*/
- void data( StatisticsData & data_);
+ void data( StatisticsData & data_) const;
///< Returns the accumulated data as a tuple
/**< This method returns the accumulated information as a tuple.*/