| 3333 | */ |
| 3334 | template <class DataType> |
| 3335 | void QCPDataContainer<DataType>::limitIteratorsToDataRange(const_iterator &begin, const_iterator &end, const QCPDataRange &dataRange) const |
| 3336 | { |
| 3337 | QCPDataRange iteratorRange(int(begin-constBegin()), int(end-constBegin())); |
| 3338 | iteratorRange = iteratorRange.bounded(dataRange.bounded(this->dataRange())); |
| 3339 | begin = constBegin()+iteratorRange.begin(); |
| 3340 | end = constBegin()+iteratorRange.end(); |
| 3341 | } |
| 3342 | |
| 3343 | /*! \internal |
| 3344 |
no test coverage detected