qse  0.5.4
qseexafsoperator.h
Go to the documentation of this file.
1 #ifndef QSEEXAFSOPERATOR_H
2 #define QSEEXAFSOPERATOR_H
3 
4 #include "qseoperator.h"
5 #include "qseregexpparameter.h"
6 #include <QHash>
7 #include <QColor>
8 
9 class QseDataSet;
10 class QseScan;
11 class QseColumn;
12 
14 {
15  Q_OBJECT;
16 
17  public:
19  QseDataSet* outData,
20  const QString& name,
21  QObject* parent=0);
22 
25 
26  public:
27  bool matchesEnergyPattern(const QseColumn* col, int colnum);
28  bool matchesEnergyColumn(const QseColumn* col, int colnum);
29  bool matchesDetectorPattern(const QseColumn* col, int colnum);
30  bool matchesDetectorColumn(const QseColumn* col, int colnum);
31  bool matchesNormalizationPattern(const QseColumn* col, int colnum);
32  bool matchesNormalizationColumn(const QseColumn* col, int colnum);
33  bool matchesSecondsPattern(const QseColumn* col, int colnum);
34  bool matchesSecondsColumn(const QseColumn* col, int colnum);
35  bool matchesCopyPattern(const QseColumn* col, int colnum);
36  bool matchesCopyColumn(const QseColumn* col, int colnum);
37  bool matchesCopyNormalizedPattern(const QseColumn* col, int colnum);
38  bool matchesCopyNormalizedColumn(const QseColumn* col, int colnum);
39  bool matchesCopyRatePattern(const QseColumn* col, int colnum);
40  bool matchesCopyRateColumn(const QseColumn* col, int colnum);
41  bool matchesCopyTotalCountsPattern(const QseColumn* col, int colnum);
42  bool matchesCopyTotalCountsColumn(const QseColumn* col, int colnum);
43 
44  typedef enum {
48  } QseScanRole;
49 
50  typedef enum {
61  } QseColumnRole;
62 
63  static QColor colorForRole(QseColumnRole r);
64  static QColor backgroundColorForRole(QseColumnRole r);
65 
66  protected:
69 
78 
79  QHash<const QseScan*, QseScanRole> m_ScanExceptions;
80  QHash<const QseColumn*, QseColumnRole> m_Exceptions;
81 };
82 
83 #endif
QseRegExpParameter m_DetectorPattern
bool matchesCopyTotalCountsColumn(const QseColumn *col, int colnum)
bool matchesCopyRateColumn(const QseColumn *col, int colnum)
QseRegExpParameter m_SecondsPattern
bool matchesDetectorPattern(const QseColumn *col, int colnum)
bool matchesEnergyColumn(const QseColumn *col, int colnum)
bool matchesCopyColumn(const QseColumn *col, int colnum)
static QColor colorForRole(QseColumnRole r)
bool matchesDetectorColumn(const QseColumn *col, int colnum)
bool matchesCopyNormalizedColumn(const QseColumn *col, int colnum)
bool matchesCopyRatePattern(const QseColumn *col, int colnum)
bool matchesSecondsPattern(const QseColumn *col, int colnum)
QseEXAFSOperator(QseDataSet *inData, QseDataSet *outData, const QString &name, QObject *parent=0)
QseRegExpParameter m_EnergyPattern
QseDataSet * outputData()
QseRegExpParameter m_CopyRatePattern
QseDataSet * m_InputData
QHash< const QseColumn *, QseColumnRole > m_Exceptions
bool matchesCopyPattern(const QseColumn *col, int colnum)
QString name() const
Definition: qseoperator.cpp:11
QHash< const QseScan *, QseScanRole > m_ScanExceptions
QseRegExpParameter m_CopyTotalCountsPattern
bool matchesCopyTotalCountsPattern(const QseColumn *col, int colnum)
QseRegExpParameter m_NormalizationPattern
QseRegExpParameter m_CopyNormalizedPattern
bool matchesCopyNormalizedPattern(const QseColumn *col, int colnum)
bool matchesNormalizationPattern(const QseColumn *col, int colnum)
bool matchesNormalizationColumn(const QseColumn *col, int colnum)
QseDataSet * m_OutputData
QseDataSet * inputData()
QseRegExpParameter m_CopyPattern
static QColor backgroundColorForRole(QseColumnRole r)
bool matchesSecondsColumn(const QseColumn *col, int colnum)
bool matchesEnergyPattern(const QseColumn *col, int colnum)