123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175 |
- .TH "QwtSeriesStore< T >" 3 "Mon Dec 28 2020" "Version 6.1.6" "Qwt User's Guide" \" -*- nroff -*-
- .ad l
- .nh
- .SH NAME
- QwtSeriesStore< T > \- Class storing a \fBQwtSeriesData\fP object\&.
- .SH SYNOPSIS
- .br
- .PP
- .PP
- \fC#include <qwt_series_store\&.h>\fP
- .PP
- Inherits \fBQwtAbstractSeriesStore\fP\&.
- .SS "Public Member Functions"
- .in +1c
- .ti -1c
- .RI "\fBQwtSeriesStore\fP ()"
- .br
- .RI "Constructor The store contains no series\&. "
- .ti -1c
- .RI "\fB~QwtSeriesStore\fP ()"
- .br
- .RI "Destructor\&. "
- .ti -1c
- .RI "void \fBsetData\fP (\fBQwtSeriesData\fP< T > *series)"
- .br
- .ti -1c
- .RI "\fBQwtSeriesData\fP< T > * \fBdata\fP ()"
- .br
- .ti -1c
- .RI "const \fBQwtSeriesData\fP< T > * \fBdata\fP () const"
- .br
- .ti -1c
- .RI "T \fBsample\fP (int index) const"
- .br
- .ti -1c
- .RI "virtual size_t \fBdataSize\fP () const"
- .br
- .ti -1c
- .RI "virtual QRectF \fBdataRect\fP () const"
- .br
- .ti -1c
- .RI "virtual void \fBsetRectOfInterest\fP (const QRectF &rect)"
- .br
- .ti -1c
- .RI "\fBQwtSeriesData\fP< T > * \fBswapData\fP (\fBQwtSeriesData\fP< T > *series)"
- .br
- .in -1c
- .SS "Additional Inherited Members"
- .SH "Detailed Description"
- .PP
- .SS "template<typename T>
- .br
- class QwtSeriesStore< T >"
- Class storing a \fBQwtSeriesData\fP object\&.
- \fBQwtSeriesStore\fP and \fBQwtPlotSeriesItem\fP are intended as base classes for all plot items iterating over a series of samples\&. Both classes share a virtual base class ( \fBQwtAbstractSeriesStore\fP ) to bridge between them\&.
- .PP
- \fBQwtSeriesStore\fP offers the template based part for the plot item API, so that \fBQwtPlotSeriesItem\fP can be derived without any hassle with templates\&.
- .SH "Member Function Documentation"
- .PP
- .SS "template<typename T > \fBQwtSeriesData\fP< T > * \fBQwtSeriesStore\fP< T >::data\fC [inline]\fP"
- .PP
- \fBReturns\fP
- .RS 4
- the the series data
- .RE
- .PP
- .SS "template<typename T > const \fBQwtSeriesData\fP< T > * \fBQwtSeriesStore\fP< T >::data\fC [inline]\fP"
- .PP
- \fBReturns\fP
- .RS 4
- the the series data
- .RE
- .PP
- .SS "template<typename T > QRectF \fBQwtSeriesStore\fP< T >::dataRect\fC [virtual]\fP"
- .PP
- \fBReturns\fP
- .RS 4
- Bounding rectangle of the series or an invalid rectangle, when no series is stored
- .RE
- .PP
- \fBSee also\fP
- .RS 4
- \fBQwtSeriesData<T>::boundingRect()\fP
- .RE
- .PP
- .PP
- Implements \fBQwtAbstractSeriesStore\fP\&.
- .SS "template<typename T > size_t \fBQwtSeriesStore\fP< T >::dataSize\fC [virtual]\fP"
- .PP
- \fBReturns\fP
- .RS 4
- Number of samples of the series
- .RE
- .PP
- \fBSee also\fP
- .RS 4
- \fBsetData()\fP, \fBQwtSeriesData<T>::size()\fP
- .RE
- .PP
- .PP
- Implements \fBQwtAbstractSeriesStore\fP\&.
- .SS "template<typename T > T \fBQwtSeriesStore\fP< T >::sample (int index) const\fC [inline]\fP"
- .PP
- \fBParameters\fP
- .RS 4
- \fIindex\fP Index
- .RE
- .PP
- \fBReturns\fP
- .RS 4
- Sample at position index
- .RE
- .PP
- .SS "template<typename T > void \fBQwtSeriesStore\fP< T >::setData (\fBQwtSeriesData\fP< T > * series)"
- Assign a series of samples
- .PP
- \fBParameters\fP
- .RS 4
- \fIseries\fP Data
- .RE
- .PP
- \fBWarning\fP
- .RS 4
- The item takes ownership of the data object, deleting it when its not used anymore\&.
- .RE
- .PP
- .SS "template<typename T > void \fBQwtSeriesStore\fP< T >::setRectOfInterest (const QRectF & rect)\fC [virtual]\fP"
- Set a the 'rect of interest' for the series
- .PP
- \fBParameters\fP
- .RS 4
- \fIrect\fP Rectangle of interest
- .RE
- .PP
- \fBSee also\fP
- .RS 4
- \fBQwtSeriesData<T>::setRectOfInterest()\fP
- .RE
- .PP
- .PP
- Implements \fBQwtAbstractSeriesStore\fP\&.
- .SS "template<typename T > \fBQwtSeriesData\fP< T > * \fBQwtSeriesStore\fP< T >::swapData (\fBQwtSeriesData\fP< T > * series)"
- Replace a series without deleting the previous one
- .PP
- \fBParameters\fP
- .RS 4
- \fIseries\fP New series
- .RE
- .PP
- \fBReturns\fP
- .RS 4
- Previously assigned series
- .RE
- .PP
- .SH "Author"
- .PP
- Generated automatically by Doxygen for Qwt User's Guide from the source code\&.
|