QWTCPOINTERVALUEDATA(3)
hey bestie, welcome to the QwtCPointe...ueData< T >(3) page from the Library Functions Manual π this is all about QwtCPointerValueData< T >, aka the "pointer to y data" data class. it's giving template realness, no cap β¨
π NAME π
QwtCPointerValueData< T >β a data class containing a pointer to memory of y coordinates π
π SYNOPSIS π
#include <qwt_point_data.h>
Inherits QwtSeriesData< QPointF >.
β¨ Public Member Functions β¨
QwtCPointerValueData (const T *y, size_t size)virtual size_t size () const overridevirtual QPointF sample (size_t index) const overrideconst T * yData () const
π Public Member Functions inherited from QwtSeriesData< QPointF > π
QwtSeriesData ()
Constructor.
virtual ~QwtSeriesData ()
Destructor.
QPointF firstSample () const
QPointF lastSample () const
virtual QRectF boundingRect () const
virtual 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 QwtCPointerValueData< T >
Data class containing a pointer to memory of y coordinates. π
The memory contains the y coordinates, while the index is interpreted as x coordinate. lowkey iconic, honestly π
Definition at line 89 of file qwt_point_data.h.
π Constructor & Destructor Documentation π
template<typename T> QwtCPointerValueData< T >::QwtCPointerValueData (const T * y, size_t size)
Constructor β¨
Parameters
- y β Array of y values
- size β 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 QwtCPointerValueData object. this is the "keep your pointers alive" rule, bestie, no cap π
See also
QwtPlotCurve::setData(), QwtPlotCurve::setRawSamples()
Definition at line 380 of file qwt_point_data.h.
β¨ Member Function Documentation β¨
template<typename T> QPointF QwtCPointerValueData< 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 400 of file qwt_point_data.h.
template<typename T> size_t QwtCPointerValueData< T >::size () const [override], [virtual]
Returns
Size of the data set
Implements QwtSeriesData< QPointF >.
Definition at line 388 of file qwt_point_data.h.
template<typename T> const T * QwtCPointerValueData< T >::yData () const
Returns
Array of the y-values
Definition at line 407 of file qwt_point_data.h.
πΈ Author πΈ
Generated automatically by Doxygen for Qwt User's Guide from the source code. that's the meta lore π«Ά
you made it to the end, bestie π this page is from the Qwt User's Guide, auto-generated by Doxygen from the source code, and it's the QwtCPointe...ueData< T >(3) page β no date printed on it, but it still ate π
β¨
π¦ 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