10 #ifndef QWT_SERIES_STORE_H 11 #define QWT_SERIES_STORE_H 30 #ifndef QWT_PYTHON_WRAPPER 49 virtual QRectF
dataRect()
const {
return QRectF( 0.0, 0.0, -1.0, -1.0 ); }
50 virtual size_t dataSize()
const {
return 0; }
96 T sample(
int index )
const;
132 template <
typename T>
138 template <
typename T>
144 template <
typename T>
150 template <
typename T>
156 template <
typename T>
162 template <
typename T>
173 template <
typename T>
182 template <
typename T>
186 return QRectF( 1.0, 1.0, -2.0, -2.0 );
191 template <
typename T>
195 d_series->setRectOfInterest( rect );
198 template <
typename T>
204 return swappedSeries;
QwtSeriesData< T > * d_series
virtual size_t dataSize() const
Abstract interface for iterating over samples.
QwtSeriesStore()
Constructor The store contains no series.
virtual void setRectOfInterest(const QRectF &rect)
void setData(QwtSeriesData< T > *series)
~QwtSeriesStore()
Destructor.
QwtSeriesData< T > * data()
virtual void dataChanged()=0
dataChanged() indicates, that the series has been changed.
virtual void setRectOfInterest(const QRectF &)=0
Class storing a QwtSeriesData object.
Bridge between QwtSeriesStore and QwtPlotSeriesItem.
virtual QRectF dataRect() const
T sample(int index) const
virtual ~QwtAbstractSeriesStore()
Destructor.
virtual size_t dataSize() const =0
QwtSeriesData< T > * swapData(QwtSeriesData< T > *series)
empty_struct data[sizeof(T)/sizeof(empty_struct)]
virtual QRectF dataRect() const =0