| 3372 | */ |
| 3373 | template <class DataType> |
| 3374 | void QCPDataContainer<DataType>::limitIteratorsToDataRange(const_iterator &begin, const_iterator &end, const QCPDataRange &dataRange) const |
| 3375 | { |
| 3376 | QCPDataRange iteratorRange(int(begin-constBegin()), int(end-constBegin())); |
| 3377 | iteratorRange = iteratorRange.bounded(dataRange.bounded(this->dataRange())); |
| 3378 | begin = constBegin()+iteratorRange.begin(); |
| 3379 | end = constBegin()+iteratorRange.end(); |
| 3380 | } |
| 3381 | |
| 3382 | /*! \internal |
| 3383 |
no test coverage detected