QwtSeriesStore< T >(3) Qwt User's Guide QwtSeriesStore< T >(3)

QwtSeriesStore< T > - Class storing a QwtSeriesData object.

#include <qwt_series_store.h>

Inherits QwtAbstractSeriesStore.


QwtSeriesStore ()
Constructor The store contains no series. ~QwtSeriesStore ()
Destructor. void setData (QwtSeriesData< T > *series)
QwtSeriesData< T > * data ()
const QwtSeriesData< T > * data () const
T sample (int index) const
virtual size_t dataSize () const
virtual QRectF dataRect () const
virtual void setRectOfInterest (const QRectF &rect)
QwtSeriesData< T > * swapData (QwtSeriesData< T > *series)

class QwtSeriesStore< T >" Class storing a QwtSeriesData object.

QwtSeriesStore and QwtPlotSeriesItem are intended as base classes for all plot items iterating over a series of samples. Both classes share a virtual base class ( QwtAbstractSeriesStore ) to bridge between them.

QwtSeriesStore offers the template based part for the plot item API, so that QwtPlotSeriesItem can be derived without any hassle with templates.

Returns:

the the series data

Returns:

the the series data

Returns:

Bounding rectangle of the series or an invalid rectangle, when no series is stored

See also:

QwtSeriesData<T>::boundingRect()

Implements QwtAbstractSeriesStore.

Returns:

Number of samples of the series

See also:

setData(), QwtSeriesData<T>::size()

Implements QwtAbstractSeriesStore.

Parameters:

index Index

Returns:

Sample at position index

Assign a series of samples

Parameters:

series Data

Warning:

The item takes ownership of the data object, deleting it when its not used anymore.

Set a the 'rect of interest' for the series

Parameters:

rect Rectangle of interest

See also:

QwtSeriesData<T>::setRectOfInterest()

Implements QwtAbstractSeriesStore.

Replace a series without deleting the previous one

Parameters:

series New series

Returns:

Previously assigned series

Generated automatically by Doxygen for Qwt User's Guide from the source code.

Wed Jan 2 2019 Version 6.1.4