##// 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:

r640:294b109a0563
r654:aff19a50babf
Show More
ArrayDataIterator.cpp
52 lines | 1.0 KiB | text/x-c | CppLexer
/ core / src / Data / ArrayDataIterator.cpp
#include "Data/ArrayDataIterator.h"
ArrayDataIteratorValue::ArrayDataIteratorValue(std::unique_ptr<ArrayDataIteratorValue::Impl> impl)
: m_Impl{std::move(impl)}
{
}
ArrayDataIteratorValue::ArrayDataIteratorValue(const ArrayDataIteratorValue &other)
: m_Impl{other.m_Impl->clone()}
{
}
ArrayDataIteratorValue &ArrayDataIteratorValue::operator=(ArrayDataIteratorValue other)
{
std::swap(m_Impl, other.m_Impl);
return *this;
}
bool ArrayDataIteratorValue::equals(const ArrayDataIteratorValue &other) const
{
return m_Impl->equals(*other.m_Impl);
}
void ArrayDataIteratorValue::next()
{
m_Impl->next();
}
void ArrayDataIteratorValue::prev()
{
m_Impl->prev();
}
double ArrayDataIteratorValue::at(int componentIndex) const
{
return m_Impl->at(componentIndex);
}
double ArrayDataIteratorValue::first() const
{
return m_Impl->first();
}
double ArrayDataIteratorValue::min() const
{
return m_Impl->min();
}
double ArrayDataIteratorValue::max() const
{
return m_Impl->max();
}