Go to the documentation of this file.
10 #ifndef QWT_SERIES_STORE_H
11 #define QWT_SERIES_STORE_H
31 #ifndef QWT_PYTHON_WRAPPER
50 virtual QRectF
dataRect()
const {
return QRectF( 0.0, 0.0, -1.0, -1.0 ); }
51 virtual size_t dataSize()
const {
return 0; }
65 template<
typename T >
97 T
sample(
int index )
const;
133 template<
typename T >
139 template<
typename T >
145 template<
typename T >
151 template<
typename T >
157 template<
typename T >
160 return m_series ? m_series->sample( index ) : T();
163 template<
typename T >
166 if ( m_series != series )
174 template<
typename T >
177 if ( m_series == NULL )
180 return m_series->size();
183 template<
typename T >
186 if ( m_series == NULL )
187 return QRectF( 1.0, 1.0, -2.0, -2.0 );
189 return m_series->boundingRect();
192 template<
typename T >
196 m_series->setRectOfInterest( rect );
199 template<
typename T >
205 return swappedSeries;
virtual void setRectOfInterest(const QRectF &)=0
virtual ~QwtAbstractSeriesStore()
Destructor.
T sample(int index) const
void setData(QwtSeriesData< T > *series)
virtual QRectF dataRect() const QWT_OVERRIDE
virtual QRectF dataRect() const =0
~QwtSeriesStore()
Destructor.
QwtSeriesData< T > * m_series
Abstract interface for iterating over samples.
QwtSeriesData< T > * data()
virtual size_t dataSize() const QWT_OVERRIDE
virtual void dataChanged()=0
dataChanged() indicates, that the series has been changed.
QwtSeriesData< T > * swapData(QwtSeriesData< T > *series)
virtual void setRectOfInterest(const QRectF &rect) QWT_OVERRIDE
Class storing a QwtSeriesData object.
virtual size_t dataSize() const =0
QwtSeriesStore()
Constructor The store contains no series.
Bridge between QwtSeriesStore and QwtPlotSeriesItem.
plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:46