QWTCPOINTERDATA(3)
π QwtCPointerData< T > π
okay bestie, welcome to QwtCPointerData< T >(3) from the Library Functions Manual β this is the data class that contains two pointers to memory blocks of T, and it is lowkey carrying the whole data-class vibe. π
πΈ NAME πΈ
QwtCPointerData< T > β data class containing two pointers to memory blocks of T.
β¨ SYNOPSIS β¨
#include <qwt_point_data.h>
Inherits QwtSeriesData< QPointF >.
π Public Member Functions π
QwtCPointerData (const T *x, const T *y, size_t size)virtual size_t size () const overridevirtual QPointF sample (size_t index) const overrideconst T * xData () constconst T * yData () const
π Public Member Functions inherited from QwtSeriesData< QPointF > π
QwtSeriesData ()β Constructor.virtual ~QwtSeriesData ()β Destructor.QPointF firstSample () constQPointF lastSample () constvirtual QRectF boundingRect () constvirtual void setRectOfInterest (const QRectF &rect)
π«Ά Additional Inherited Members π«Ά
Protected Attributes inherited from QwtSeriesData< QPointF >
QRectF cachedBoundingRectβ Can be used to cache a calculated bounding rectangle.
π¦ DETAILED DESCRIPTION π¦
template<typename T>
class QwtCPointerData< T >"Data class containing two pointers to memory blocks of T.
Definition at line 43 of file qwt_point_data.h.
Yes bestie, that stray quote mark after > is literally in the source β leave it alone πβ¨
π CONSTRUCTOR & DESTRUCTOR DOCUMENTATION π
template<typename T>
QwtCPointerData< T >::QwtCPointerData (const T * x, const T * y, size_t size)
Constructor
Parameters
xβ Array of x valuesyβ Array of y valuessizeβ Size of the x and y arrays
β οΈ Warning: The programmer must assure that the memory blocks referenced by the pointers remain valid during the lifetime of the QwtPlotCPointer object. This is the important part, bestie β keep those blocks alive for the whole lifetime, no cap. π«Ά
See also: QwtPlotCurve::setData(), QwtPlotCurve::setRawSamples()
Definition at line 326 of file qwt_point_data.h.
π MEMBER FUNCTION DOCUMENTATION π
π¦ sample
template<typename T>
QPointF QwtCPointerData< T >::sample (size_t index) const [override], [virtual]
Return the sample at position i
Parameters
indexβ Index
Returns
Sample at position i
Implements QwtSeriesData< QPointF >.
Definition at line 347 of file qwt_point_data.h.
πΈ size
template<typename T>
size_t QwtCPointerData< T >::size () const [override], [virtual]
Returns
Size of the data set
Implements QwtSeriesData< QPointF >.
Definition at line 335 of file qwt_point_data.h.
β¨ xData
template<typename T>
const T * QwtCPointerData< T >::xData () const
Returns
Array of the x-values
Definition at line 354 of file qwt_point_data.h.
π yData
template<typename T>
const T * QwtCPointerData< T >::yData () const
Returns
Array of the y-values
Definition at line 361 of file qwt_point_data.h.
π AUTHOR π
Generated automatically by Doxygen for Qwt User's Guide from the source code.
mwah π that's the whole page. Footer sign-off: Qwt User's Guide source/version + QwtCPointerData< T >(3) title; date? not printed in the source, so no invented date tea πβ¨
π¦ 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