##// END OF EJS Templates
Makes clear() and size() methods compatible with two-dimensional ArrayData
Makes clear() and size() methods compatible with two-dimensional ArrayData

File last commit:

r461:b8af3b4730c2
r502:49305aa35689
Show More
ScalarSeries.h
25 lines | 755 B | text/x-c | CLexer
Alexandre Leroux
Creates scalar series
r126 #ifndef SCIQLOP_SCALARSERIES_H
#define SCIQLOP_SCALARSERIES_H
Alexandre Leroux
Exports core module as a shared library...
r461 #include "CoreGlobal.h"
Alexandre Leroux
Creates scalar series
r126 #include <Data/DataSeries.h>
/**
* @brief The ScalarSeries class is the implementation for a data series representing a scalar.
*/
Alexandre Leroux
Exports core module as a shared library...
r461 class SCIQLOP_CORE_EXPORT ScalarSeries : public DataSeries<1> {
Alexandre Leroux
Creates scalar series
r126 public:
Alexandre Leroux
Creates constructor for ScalarSeries that directly takes vectors...
r392 /**
* 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);
Alexandre Leroux
Use std::shared_ptr in CosinusProvider
r310 std::unique_ptr<IDataSeries> clone() const;
Alexandre Leroux
Creates scalar series
r126 };
#endif // SCIQLOP_SCALARSERIES_H