Isis 3 Programmer 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 
154  };
155 }
156 
157 #endif
void Init()
This is a helper method for the constructor that initializes the data to a default, invalid state.
PvlKeyword ToKeyword() const
This converts the log data to a PvlKeyword.
NumericLogDataType GetDataType() const
Get the data type associated with this log data.
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...
Deprecated keyword kept for backwards compatability with older Control Networks.
NumericLogDataType
Please do not change existing values in this list except the size - it will break backwards compadibi...
Deprecated keyword kept for backwards compatability with older Control Networks.
Statistical and similar ControlMeasure associated information.
void SetNumericalValue(double value)
This updates the value associated with a NumericLogDataType.
QVariant GetValue() const
Get the data type associated with this log data.
Control measures store z-scores in pairs.
double p_numericalValue
The actual value of the data.
bool IsValid() const
This tests if the log data is complete and valid.
Deprecated keyword kept for backwards compatability with older Control Networks.
static const int MaximumNumericLogDataType
This value must be > the largest enumerated value in this type or convertions to and from Pvl will no...
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...
void SetDataType(NumericLogDataType newDataType)
This changes the type of this log data.
GoodnessOfFit is pointreg information for reference measures.
Deprecated keyword kept for backwards compatability with older Control Networks.
NumericLogDataType p_dataType
Which kind of value are we storing.
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
Deprecated keyword kept for backwards compatability with older Control Networks.
double GetNumericalValue() const
Get the value associated with this log data.
ControlMeasureLogData()
This creates an empty, invalid (IsValid() will return false), instance.