+#include <QStringList>
+#include <QSet>
+#include <QMap>
+
+class SPlot2d_Curve;
+
+namespace VISU {
+ typedef enum {NoneDvtn = 0,
+ AbsoluteDvtn, // min, max
+ PercentageDvtn, // min%, max%
+ ErrorDvtn, // errmin, errmax
+ ErrorPercentageDvtn, // errmin%, errmax%
+ SimpleErrorDvtn, // error
+ SimpleErrorPercentageDvtn // error%
+ } DeviationType;
+
+ class VISU_I_EXPORT DeviationData {
+ public:
+ DeviationData(){
+ _minRow = -1;_maxRow = -1;
+ _minType = NoneDvtn;_maxType = NoneDvtn;
+ }
+ DeviationData(const int minC, const int maxC,
+ const DeviationType minT, const DeviationType maxT) {
+ _minRow = minC; _maxRow = maxC;
+ _minType = minT ; _maxType = maxT;
+ }
+ int minRow() const {return _minRow;}
+ int maxRow() const {return _maxRow;}
+ DeviationType minDeviation() const {return _minType;}
+ DeviationType maxDeviation() const {return _maxType;}
+
+ private:
+ int _minRow;
+ int _maxRow;
+ DeviationType _minType;
+ DeviationType _maxType;
+ };
+
+ typedef QMap<int, DeviationData> DeviationMap;
+