##// END OF EJS Templates
Fixed untimely update of the range to be displayed in the variable widget
Fixed untimely update of the range to be displayed in the variable widget

File last commit:

r639:ec7e67b5ba15
r654:aff19a50babf
Show More
DataSeriesIterator.cpp
58 lines | 1.1 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)
{
std::swap(m_Impl, other.m_Impl);
return *this;
}
bool DataSeriesIteratorValue::equals(const DataSeriesIteratorValue &other) const
{
return m_Impl->equals(*other.m_Impl);
}
void DataSeriesIteratorValue::next()
{
m_Impl->next();
}
void DataSeriesIteratorValue::prev()
{
m_Impl->prev();
}
double DataSeriesIteratorValue::x() const
{
return m_Impl->x();
}
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();
}