Isis 3 Developer Reference
ControlMeasureLogData.h
Go to the documentation of this file.
1 #ifndef ControlMeasureLogData_h
2 #define ControlMeasureLogData_h
3 
26 class QString;
27 class QVariant;
28 
29 namespace Isis {
30  class PvlKeyword;
31 
52  public:
68 
74 
82 
91 
96 
102 
108 
114 
120  };
121 
126  static const int MaximumNumericLogDataType = 9;
127 
130  ControlMeasureLogData(PvlKeyword keywordRep);
131  ControlMeasureLogData(NumericLogDataType dataType, double value);
134 
135  void SetNumericalValue(double value);
136  void SetDataType(NumericLogDataType newDataType);
137 
138  double GetNumericalValue() const;
140  QVariant GetValue() const;
141  bool IsValid() const;
142  PvlKeyword ToKeyword() const;
143 
144  NumericLogDataType NameToDataType(QString name) const;
145  QString DataTypeToName(NumericLogDataType type) const;
146 
147  private:
148  void Init();
149 
151  NumericLogDataType p_dataType;
153  double p_numericalValue;
154  };
155 }
156 
157 #endif
PvlKeyword ToKeyword() const
This converts the log data to a PvlKeyword.
Definition: ControlMeasureLogData.cpp:158
NumericLogDataType GetDataType() const
Get the data type associated with this log data.
Definition: ControlMeasureLogData.cpp:127
NumericLogDataType NameToDataType(QString name) const
This converts a string to a log data type and is useful for converting Pvl keywords to Numeric Log Da...
Definition: ControlMeasureLogData.cpp:172
Deprecated keyword kept for backwards compatability with older Control Networks.
Definition: ControlMeasureLogData.h:73
NumericLogDataType
Please do not change existing values in this list except the size - it will break backwards compadibi...
Definition: ControlMeasureLogData.h:63
Deprecated keyword kept for backwards compatability with older Control Networks.
Definition: ControlMeasureLogData.h:113
Statistical and similar ControlMeasure associated information.
Definition: ControlMeasureLogData.h:51
void SetNumericalValue(double value)
This updates the value associated with a NumericLogDataType.
Definition: ControlMeasureLogData.cpp:92
QVariant GetValue() const
Get the data type associated with this log data.
Definition: ControlMeasureLogData.cpp:136
This is a placeholder for unset values.
Definition: ControlMeasureLogData.h:67
Control measures store z-scores in pairs.
Definition: ControlMeasureLogData.h:90
bool IsValid() const
This tests if the log data is complete and valid.
Definition: ControlMeasureLogData.cpp:146
Deprecated keyword kept for backwards compatability with older Control Networks.
Definition: ControlMeasureLogData.h:101
static const int MaximumNumericLogDataType
This value must be > the largest enumerated value in this type or convertions to and from Pvl will no...
Definition: ControlMeasureLogData.h:126
A single keyword-value pair.
Definition: PvlKeyword.h:98
QString DataTypeToName(NumericLogDataType type) const
This converts the log data type to a string and is used internally for convertions to and from Pvl...
Definition: ControlMeasureLogData.cpp:198
void SetDataType(NumericLogDataType newDataType)
This changes the type of this log data.
Definition: ControlMeasureLogData.cpp:103
GoodnessOfFit is pointreg information for reference measures.
Definition: ControlMeasureLogData.h:81
Deprecated keyword kept for backwards compatability with older Control Networks.
Definition: ControlMeasureLogData.h:119
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
Definition: ControlMeasureLogData.h:95
Deprecated keyword kept for backwards compatability with older Control Networks.
Definition: ControlMeasureLogData.h:107
double GetNumericalValue() const
Get the value associated with this log data.
Definition: ControlMeasureLogData.cpp:115
ControlMeasureLogData()
This creates an empty, invalid (IsValid() will return false), instance.
Definition: ControlMeasureLogData.cpp:12
~ControlMeasureLogData()
Destructor.
Definition: ControlMeasureLogData.cpp:73