Isis 3 Developer Reference
MeasureValidationResults.h
Go to the documentation of this file.
1 #ifndef _MeasureValidationResults_h_
2 #define _MeasureValidationResults_h_
3 
4 class QString;
5 template< class T > class QVector;
6 
29 namespace Isis {
44 
45  public:
46  enum Option {
59  };
60 
63 
64  bool isValid();
65  bool getValidStatus(Option opt);
66 
67  QString toString();
68  QString toString(QString serialNumber, QString pointID);
69  QString toString(QString sample, QString line, QString serialNumber,
70  QString pointID);
71 
72  void addFailure(Option opt, double tolerance, const char* compare="less");
73  void addFailure(Option opt, double computed, double min, double max);
74 
75  QString getFailurePrefix(Option opt);
76 
77  private:
78  QVector<Option> * failures;
79  QString * errorMsg;
80  };
81 };
82 
83 #endif
84 
Definition: MeasureValidationResults.h:52
Definition: MeasureValidationResults.h:48
Option
Definition: MeasureValidationResults.h:46
Definition: MeasureValidationResults.h:53
Definition: MeasureValidationResults.h:51
Definition: MeasureValidationResults.h:49
bool isValid()
Definition: MeasureValidationResults.cpp:29
void addFailure(Option opt, double tolerance, const char *compare="less")
Definition: MeasureValidationResults.cpp:60
bool getValidStatus(Option opt)
Definition: MeasureValidationResults.cpp:34
Definition: MeasureValidationResults.h:50
Definition: MeasureValidationResults.h:58
Definition: MeasureValidationResults.h:55
Definition: MeasureValidationResults.h:57
Definition: MeasureValidationResults.h:56
Definition: Calculator.h:33
Definition: MeasureValidationResults.h:54
MeasureValidationResults class.
Definition: MeasureValidationResults.h:43
MeasureValidationResults()
Definition: MeasureValidationResults.cpp:8
~MeasureValidationResults()
Definition: MeasureValidationResults.cpp:17
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
QString getFailurePrefix(Option opt)
Definition: MeasureValidationResults.cpp:79
QString toString()
Definition: MeasureValidationResults.cpp:39
Definition: MeasureValidationResults.h:47