MCPcopy Create free account
hub / github.com/CieNTi/serial_port_plotter / span

Method span

qcustomplot/qcustomplot.cpp:2533–2539  ·  view source on GitHub ↗

! Returns a \ref QCPDataRange which spans the entire data selection, including possible intermediate segments which are not part of the original data selection. */

Source from the content-addressed store, hash-verified

2531 intermediate segments which are not part of the original data selection.
2532*/
2533QCPDataRange QCPDataSelection::span() const
2534{
2535 if (isEmpty())
2536 return QCPDataRange();
2537 else
2538 return QCPDataRange(mDataRanges.first().begin(), mDataRanges.last().end());
2539}
2540
2541/*!
2542 Adds the given \a dataRange to this data selection. This is equivalent to the += operator but

Callers

nothing calls this directly

Calls 3

isEmptyFunction · 0.85
endMethod · 0.80
beginMethod · 0.45

Tested by

no test coverage detected