##// END OF EJS Templates
Updates cosinus provider...
Updates cosinus provider - Uses constructor with vectors for the data series - Delete old constructors of scalar series

File last commit:

r452:158d38bb6d5a
r452:158d38bb6d5a
Show More
ScalarSeries.h
23 lines | 710 B | text/x-c | CLexer
#ifndef SCIQLOP_SCALARSERIES_H
#define SCIQLOP_SCALARSERIES_H
#include <Data/DataSeries.h>
/**
* @brief The ScalarSeries class is the implementation for a data series representing a scalar.
*/
class ScalarSeries : public DataSeries<1> {
public:
/**
* Ctor with two vectors. The vectors must have the same size, otherwise a ScalarSeries with no
* values will be created.
* @param xAxisData x-axis data
* @param valuesData values data
*/
explicit ScalarSeries(QVector<double> xAxisData, QVector<double> valuesData,
const Unit &xAxisUnit, const Unit &valuesUnit);
std::unique_ptr<IDataSeries> clone() const;
};
#endif // SCIQLOP_SCALARSERIES_H