| 3169 | */ |
| 3170 | template <class DataType> |
| 3171 | void QCPDataContainer<DataType>::limitIteratorsToDataRange(const_iterator &begin, const_iterator &end, const QCPDataRange &dataRange) const |
| 3172 | { |
| 3173 | QCPDataRange iteratorRange(begin-constBegin(), end-constBegin()); |
| 3174 | iteratorRange = iteratorRange.bounded(dataRange.bounded(this->dataRange())); |
| 3175 | begin = constBegin()+iteratorRange.begin(); |
| 3176 | end = constBegin()+iteratorRange.end(); |
| 3177 | } |
| 3178 | |
| 3179 | /*! \internal |
| 3180 |
no test coverage detected