QWTSERIESSTORE(3)
π NAME π
okay so this is QwtSeriesStore< T > β Class storing a QwtSeriesData object. π«Ά This page is from the Library Functions Manual, bestie, and weβre folding that manual name in right here near the top instead of doing a boring header line. π
β¨ SYNOPSIS β¨
#include <qwt_series_store.h>
Inherits QwtAbstractSeriesStore.
πΈ Public Member Functions πΈ
QwtSeriesStore ()β Constructor. The store contains no series.~QwtSeriesStore ()β Destructor.void setData (QwtSeriesData< T > *series)QwtSeriesData< T > * data ()const QwtSeriesData< T > * data () constT sample (int index) constvirtual size_t dataSize () const overridevirtual QRectF dataRect () const overridevirtual void setRectOfInterest (const QRectF &rect) overrideQwtSeriesData< T > * swapData (QwtSeriesData< T > *series)
π«Ά Public Member Functions inherited from QwtAbstractSeriesStore π«Ά
virtual ~QwtAbstractSeriesStore ()β Destructor.
π Additional Inherited Members π
π
Protected Member Functions inherited from QwtAbstractSeriesStore π
virtual void dataChanged ()=0βdataChanged()indicates, that the series has been changed.
π Detailed Description π
template<typename T>
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. β¨
Definition at line 66 of file qwt_series_store.h.
π Constructor & Destructor Documentation π
π template<typename T> QwtSeriesStore< T >::QwtSeriesStore () [explicit] π
Constructor. The store contains no series. π
Definition at line 134 of file qwt_series_store.h.
π template<typename T> QwtSeriesStore< T >::~QwtSeriesStore () π
Destructor. π
Definition at line 140 of file qwt_series_store.h.
π¦ Member Function Documentation π¦
π template<typename T> QwtSeriesData< T > * QwtSeriesStore< T >::data () [inline] π
Returns: the the series data. (Yes, the double βtheβ is canon in the original, no cap π.)
Definition at line 146 of file qwt_series_store.h.
π template<typename T> const QwtSeriesData< T > * QwtSeriesStore< T >::data () const [inline] π
Returns: the the series data. π«Ά
Definition at line 152 of file qwt_series_store.h.
πΈ template<typename T> QRectF QwtSeriesStore< T >::dataRect () const [override], [virtual] πΈ
Returns: Bounding rectangle of the series or an invalid rectangle, when no series is stored.
See also: QwtSeriesData<T>::boundingRect()
Implements QwtAbstractSeriesStore.
Definition at line 184 of file qwt_series_store.h.
π§ template<typename T> size_t QwtSeriesStore< T >::dataSize () const [override], [virtual] π§
Returns: Number of samples of the series. β¨
See also: setData(), QwtSeriesData<T>::size()
Implements QwtAbstractSeriesStore.
Definition at line 175 of file qwt_series_store.h.
π template<typename T> T QwtSeriesStore< T >::sample (int index) const [inline] π
Parameters:
indexβ Index
Returns: Sample at position index.
Definition at line 158 of file qwt_series_store.h.
π₯ template<typename T> void QwtSeriesStore< T >::setData (QwtSeriesData< T > * series) π₯
Assign a series of samples.
Parameters:
seriesβ Data
β οΈ Warning: The item takes ownership of the data object, deleting it when its not used anymore. This is the big one, bestie β ownership is on the item, and the data object gets deleted when itβs no longer used. π
Definition at line 164 of file qwt_series_store.h.
π¦ template<typename T> void QwtSeriesStore< T >::setRectOfInterest (const QRectF & rect) [override], [virtual] π¦
Set a the βrect of interestβ for the series. (The phrasing is iconic, and weβre keeping it. π)
Parameters:
rectβ Rectangle of interest
See also: QwtSeriesData<T>::setRectOfInterest()
Implements QwtAbstractSeriesStore.
Definition at line 193 of file qwt_series_store.h.
π template<typename T> QwtSeriesData< T > * QwtSeriesStore< T >::swapData (QwtSeriesData< T > * series) π
Replace a series without deleting the previous one. π
Parameters:
seriesβ New series
Returns: Previously assigned series
Definition at line 200 of file qwt_series_store.h.
π Author π
Generated automatically by Doxygen for Qwt User's Guide from the source code. π
And thatβs the whole page, bestie π
β the footer source/version is Qwt User's Guide, the page tag is QwtSeriesStore< T >(3), and thereβs no date shown on this copy, so Iβm not inventing one. Mwah π«Άπ
π¦ where this page comes from
- alpine 3.24: qwt-doc 6.3.0-r0 Β· custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms