Workspace 6.21.5
|
An infinite data series whose value is the same as the index. More...
#include <DataAnalysis/DataStructures/dataseries.h>
Public Member Functions | |
SequenceDataSeries * | clone () const override |
void | destroy () override |
bool | empty () const override |
double | operator[] (int i) const override |
unsigned | size () const override |
Public Member Functions inherited from DataSeries | |
~DataSeries () override=default | |
double | back () const |
const_iterator | begin () const |
DataSeries * | clone () const override=0 |
virtual void | destroy ()=0 |
virtual bool | empty () const =0 |
const_iterator | end () const |
double | front () const |
bool | isInfinite () const |
operator QVector< double > () const | |
virtual double | operator[] (int i) const =0 |
virtual unsigned | size () const =0 |
Public Member Functions inherited from Clonable | |
virtual | ~Clonable ()=default |
virtual Clonable * | clone () const =0 |
This class represents an infinite series whose sole purpose is to return the index as its value in operator[](int). See the details for DataSeries for more information on this arrangement.
SequenceDataSeries objects are generally used as the X axis source for some other data series being plotted on the Y axis. This allows the values of the Y sequence to be plotted on a regularly spaced interval but where the actual association with an X value is not otherwise needed.
|
overridevirtual |
Note that this implementation of clone should not clone the underlying data of the series. Rather, just the interface to it should be cloned. This is important, because workspaces will frequently pass around clones of DataSeries objects like handles to the underlying data which could be expensive to copy.
Implements DataSeries.
|
overridevirtual |
Implements DataSeries.
|
inlineoverridevirtual |
Implements DataSeries.
|
inlineoverridevirtual |
Implements DataSeries.
|
inlineoverridevirtual |
Implements DataSeries.