##// END OF EJS Templates
Added static plugin support...
Added static plugin support In case of fully static exe even plugins must be static to allow single file executable. Small fix, when using resources in app from library they must be initialized with Q_INIT_RESOURCE. Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

r1031:958f5923ee65
r1156:247dc18789c6
Show More
DataSeriesIterator.cpp
88 lines | 1.8 KiB | text/x-c | CppLexer
/ core / src / Data / DataSeriesIterator.cpp
#include "Data/DataSeriesIterator.h"
DataSeriesIteratorValue::DataSeriesIteratorValue(
std::unique_ptr<DataSeriesIteratorValue::Impl> impl)
: m_Impl{std::move(impl)}
{
}
DataSeriesIteratorValue::DataSeriesIteratorValue(const DataSeriesIteratorValue &other)
: m_Impl{other.m_Impl->clone()}
{
}
DataSeriesIteratorValue &DataSeriesIteratorValue::operator=(DataSeriesIteratorValue other)
{
m_Impl->swap(*other.m_Impl);
return *this;
}
int DataSeriesIteratorValue::distance(const DataSeriesIteratorValue &other) const
{
return m_Impl->distance(*other.m_Impl);
}
bool DataSeriesIteratorValue::equals(const DataSeriesIteratorValue &other) const
{
return m_Impl->equals(*other.m_Impl);
}
bool DataSeriesIteratorValue::lowerThan(const DataSeriesIteratorValue &other) const
{
return m_Impl->lowerThan(*other.m_Impl);
}
DataSeriesIteratorValue DataSeriesIteratorValue::advance(int offset) const
{
return DataSeriesIteratorValue{m_Impl->advance(offset)};
}
void DataSeriesIteratorValue::next(int offset)
{
m_Impl->next(offset);
}
void DataSeriesIteratorValue::prev()
{
m_Impl->prev();
}
double DataSeriesIteratorValue::x() const
{
return m_Impl->x();
}
std::vector<double> DataSeriesIteratorValue::y() const
{
return m_Impl->y();
}
double DataSeriesIteratorValue::value() const
{
return m_Impl->value();
}
double DataSeriesIteratorValue::value(int componentIndex) const
{
return m_Impl->value(componentIndex);
}
double DataSeriesIteratorValue::minValue() const
{
return m_Impl->minValue();
}
double DataSeriesIteratorValue::maxValue() const
{
return m_Impl->maxValue();
}
QVector<double> DataSeriesIteratorValue::values() const
{
return m_Impl->values();
}
DataSeriesIteratorValue::Impl *DataSeriesIteratorValue::impl()
{
return m_Impl.get();
}