16 #error no need to expose this header to Swig
20 #ifndef BORNAGAIN_DEVICE_DATA_CUMULATIVEVALUE_H
21 #define BORNAGAIN_DEVICE_DATA_CUMULATIVEVALUE_H
32 void add(
double value,
double weight = 1.0);
bool operator<(const CumulativeValue &lhs, const CumulativeValue &rhs)
bool operator>(const CumulativeValue &lhs, const CumulativeValue &rhs)
The cumulative value with average and rms on-the-flight calculations.
void setContent(double value)
double getContent() const
int getNumberOfEntries() const
double getAverage() const
void add(double value, double weight=1.0)