MCPcopy Create free account
hub / github.com/Audio4Linux/JDSP4Linux / clearItems

Method clearItems

3rdparty/qcustomplot/qcustomplot.cpp:14597–14603  ·  view source on GitHub ↗

! Removes all items from the plot and deletes them. Returns the number of items removed. \see removeItem */

Source from the content-addressed store, hash-verified

14595 \see removeItem
14596*/
14597int QCustomPlot::clearItems()
14598{
14599 int c = mItems.size();
14600 for (int i=c-1; i >= 0; --i)
14601 removeItem(mItems[i]);
14602 return c;
14603}
14604
14605/*!
14606 Returns the number of currently existing items in the plot

Callers

nothing calls this directly

Calls 3

elementCountFunction · 0.85
fillOrderFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected