| 3161 | */ |
| 3162 | template <class DataType> |
| 3163 | void QCPDataContainer<DataType>::limitIteratorsToDataRange(const_iterator &begin, const_iterator &end, const QCPDataRange &dataRange) const |
| 3164 | { |
| 3165 | QCPDataRange iteratorRange(begin-constBegin(), end-constBegin()); |
| 3166 | iteratorRange = iteratorRange.bounded(dataRange.bounded(this->dataRange())); |
| 3167 | begin = constBegin()+iteratorRange.begin(); |
| 3168 | end = constBegin()+iteratorRange.end(); |
| 3169 | } |
| 3170 | |
| 3171 | /*! \internal |
| 3172 |
no test coverage detected