qse  0.5.4
qsedatareference.h
Go to the documentation of this file.
1 #ifndef QSEDATAREFERENCE_H
2 #define QSEDATAREFERENCE_H
3 
4 #include "qwt_series_data.h"
5 
6 class QseDataSet;
7 class QseColumn;
8 
9 class QseDataReference : public QwtPointSeriesData
10 {
11  public:
12  QseDataReference(const QseDataSet *ds, int scan, int xcol, int ycol, int normcol=-1);
13 
14  size_t size() const;
15  double x(size_t i) const;
16  double y(size_t i) const;
17 
18  QseDataReference* copy() const;
19 
20  QPointF sample(size_t i) const;
21 
22  private:
24  int m_Scan;
25  int m_XCol;
26  int m_YCol;
27  int m_NormCol;
31 };
32 
33 #endif
QseDataReference * copy() const
const QseColumn * m_YData
size_t size() const
const QseColumn * m_NormData
const QseColumn * m_XData
QPointF sample(size_t i) const
const QseDataSet * m_DataSet
double y(size_t i) const
double x(size_t i) const
QseDataReference(const QseDataSet *ds, int scan, int xcol, int ycol, int normcol=-1)