logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

QwtSeriesStore< T > - Class storing a QwtSeriesData object.

Author

       Generated automatically by Doxygen for Qwt User's Guide from the source code.

Version 6.1.4                                    Wed Jan 2 2019                           QwtSeriesStore<T>(3)

Detailed Description

template<typenameT>
       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.

Member Function Documentation

template<typenameT>QwtSeriesData<T>*QwtSeriesStore<T>::data()[inline]Returns:
           the the series data

   template<typenameT>constQwtSeriesData<T>*QwtSeriesStore<T>::data()const[inline]Returns:
           the the series data

   template<typenameT>QRectFQwtSeriesStore<T>::dataRect()const[virtual]Returns:
           Bounding rectangle of the series or an invalid rectangle, when no series is stored

       Seealso:QwtSeriesData<T>::boundingRect()

       Implements QwtAbstractSeriesStore.

   template<typenameT>size_tQwtSeriesStore<T>::dataSize()const[virtual]Returns:
           Number of samples of the series

       Seealso:setData(), QwtSeriesData<T>::size()

       Implements QwtAbstractSeriesStore.

   template<typenameT>TQwtSeriesStore<T>::sample(intindex)const[inline]Parameters:index Index

       Returns:
           Sample at position index

   template<typenameT>voidQwtSeriesStore<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.

   template<typenameT>voidQwtSeriesStore<T>::setRectOfInterest(constQRectF&rect)[virtual]
       Set a the 'rect of interest' for the series

       Parameters:rect Rectangle of interest

       Seealso:QwtSeriesData<T>::setRectOfInterest()

       Implements QwtAbstractSeriesStore.

   template<typenameT>QwtSeriesData<T>*QwtSeriesStore<T>::swapData(QwtSeriesData<T>*series)
       Replace a series without deleting the previous one

       Parameters:series New series

       Returns:
           Previously assigned series

Name

       QwtSeriesStore< T > - Class storing a QwtSeriesData object.

Synopsis

       #include <qwt_series_store.h>

       Inherits QwtAbstractSeriesStore.

   PublicMemberFunctionsQwtSeriesStore ()
           Constructor The store contains no series.
       ~QwtSeriesStore ()
           Destructor.
       void setData (QwtSeriesData< T > *series)
       QwtSeriesData< T > * data ()
       const QwtSeriesData< T > * data () const
       T sample (int index) const
       virtual size_t dataSize () const
       virtual QRectF dataRect () const
       virtual void setRectOfInterest (const QRectF &rect)
       QwtSeriesData< T > * swapData (QwtSeriesData< T > *series)

   AdditionalInheritedMembers

See Also