MCPcopy Index your code
hub / github.com/Audio4Linux/JDSP4Linux / dataRange

Method dataRange

3rdparty/qcustomplot/qcustomplot.cpp:2544–2554  ·  view source on GitHub ↗

! Returns the data range with the specified \a index. If the data selection is simplified (the usual state of the selection, see \ref simplify), the ranges are sorted by ascending data point index. \see dataRangeCount */

Source from the content-addressed store, hash-verified

2542 \see dataRangeCount
2543*/
2544QCPDataRange QCPDataSelection::dataRange(int index) const
2545{
2546 if (index >= 0 && index < mDataRanges.size())
2547 {
2548 return mDataRanges.at(index);
2549 } else
2550 {
2551 qDebug() << Q_FUNC_INFO << "index out of range:" << index;
2552 return {};
2553 }
2554}
2555
2556/*!
2557 Returns a \ref QCPDataRange which spans the entire data selection, including possible

Callers 5

qcustomplot.cppFile · 0.45
intersectionMethod · 0.45
mouseDoubleClickEventMethod · 0.45
mouseReleaseEventMethod · 0.45
setColorScaleMethod · 0.45

Calls 2

sizeMethod · 0.45
atMethod · 0.45

Tested by

no test coverage detected