##// END OF EJS Templates
Exports core module as a shared library...
Exports core module as a shared library Export will be necessary to use anywhere constants that will be defined in core module (used for settings)

File last commit:

r452:158d38bb6d5a
r461:b8af3b4730c2
Show More
ScalarSeries.cpp
13 lines | 480 B | text/x-c | CppLexer
/ core / src / Data / ScalarSeries.cpp
Alexandre Leroux
Creates scalar series
r126 #include <Data/ScalarSeries.h>
Alexandre Leroux
Creates constructor for ScalarSeries that directly takes vectors...
r392 ScalarSeries::ScalarSeries(QVector<double> xAxisData, QVector<double> valuesData,
const Unit &xAxisUnit, const Unit &valuesUnit)
: DataSeries{std::make_shared<ArrayData<1> >(std::move(xAxisData)), xAxisUnit,
std::make_shared<ArrayData<1> >(std::move(valuesData)), valuesUnit}
{
}
Alexandre Leroux
Use std::shared_ptr in CosinusProvider
r310 std::unique_ptr<IDataSeries> ScalarSeries::clone() const
{
return std::make_unique<ScalarSeries>(*this);
}