QWTARRAYSERIESDATA(3)
okay bestie, welcome to QwtArraySeriesData< T >(3) β the Library Functions Manual page for this iconic template. Itβs from the Qwt User's Guide, and weβre about to go through every single detail, no skipping. π
β¨
β¨ NAME β¨
QwtArraySeriesData< T > β template class for data that is organized as QVector. π
π¦ SYNOPSIS π¦
#include <qwt_series_data.h>
Inherits QwtSeriesData< T >.
πΈ Public Member Functions πΈ
QwtArraySeriesData ()β Constructor.QwtArraySeriesData (const QVector< T > &samples)β constructor that takessamples.void setSamples (const QVector< T > &samples)β assign an array of samples.const QVector< T > samples () constβ returns array of samples.virtual size_t size () const overrideβ returns number of samples.virtual T sample (size_t index) const overrideβ returns sample at positionindex.
π Public Member Functions inherited from QwtSeriesData< T > π
QwtSeriesData ()β Constructor.virtual ~QwtSeriesData ()β Destructor.T firstSample () constT lastSample () constvirtual QRectF boundingRect () constvirtual void setRectOfInterest (const QRectF &rect)
π PROTECTED ATTRIBUTES π
QVector< T > m_samplesβ Vector of samples. (protected)
π Protected Attributes inherited from QwtSeriesData< T > π
QRectF cachedBoundingRectβ Can be used to cache a calculated bounding rectangle.
π DETAILED DESCRIPTION π
template<typename T>
class QwtArraySeriesData< T >
βTemplate class for data, that is organized as QVector.β
QVector uses implicit data sharing and can be passed around as argument efficiently. fr fr, thatβs the whole point.
Definition at line 152 of file qwt_series_data.h.
π§ CONSTRUCTOR & DESTRUCTOR DOCUMENTATION π§
template<typename T> QwtArraySeriesData< T >::QwtArraySeriesData ()
Constructor.
Definition at line 190 of file qwt_series_data.h.
template<typename T> QwtArraySeriesData< T >::QwtArraySeriesData (const QVector< T > & samples) [explicit]
Constructor
Parameters:
samplesβ Array of samples
Definition at line 195 of file qwt_series_data.h.
π MEMBER FUNCTION DOCUMENTATION π
template<typename T> T QwtArraySeriesData< T >::sample (size_t index) const
[override], [virtual]
Returns: Sample at a specific position
Parameters:
indexβ Index
Returns: Sample at position index
Implements: QwtSeriesData< T >
Definition at line 220 of file qwt_series_data.h.
template<typename T> const QVector< T > QwtArraySeriesData< T >::samples () const
Returns: Array of samples
Definition at line 208 of file qwt_series_data.h.
template<typename T> void QwtArraySeriesData< T >::setSamples (const QVector< T > & samples)
Assign an array of samples
Parameters:
samplesβ Array of samples
Definition at line 201 of file qwt_series_data.h.
template<typename T> size_t QwtArraySeriesData< T >::size () const
[override], [virtual]
Returns: Number of samples
Implements: QwtSeriesData< T >
Definition at line 214 of file qwt_series_data.h.
π MEMBER DATA DOCUMENTATION π
template<typename T> QVector< T > QwtArraySeriesData< T >::m_samples
[protected]
Vector of samples.
Definition at line 186 of file qwt_series_data.h.
π«Ά AUTHOR π«Ά
Generated automatically by Doxygen for Qwt User's Guide from the source code.
π thatβs the whole vibe check! Footer info: source/version is Qwt User's Guide, page is QwtArraySeriesData< T >(3) β and thereβs no date printed on this one, so no cap, thatβs all she wrote. π«Άβ¨
π¦ 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