Isis 3.0 Programmer Reference
Back | Home
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 ControlNetLogDataProtoV0001_Point_Measure_DataEntry;
31  class ControlPointFileEntryV0002_Measure_MeasureLogData;
32  class PvlKeyword;
33 
52  public:
68 
74 
82 
91 
96 
102 
108 
114 
120  };
125  static const int MaximumNumericLogDataType = 9;
126 
127 
138 
139  void SetNumericalValue(double);
141 
142  double GetNumericalValue() const;
144  QVariant GetValue() const;
145  bool IsValid() const;
146  PvlKeyword ToKeyword() const;
147 
149  ToProtocolBuffer() const;
150 
151  NumericLogDataType NameToDataType(QString name) const;
152  QString DataTypeToName(NumericLogDataType) const;
153 
154  private:
155  void Init();
156 
161  };
162 }
163 
164 #endif
NumericLogDataType GetDataType() const
Get the data type associated with this log data.
void Init()
This is a helper method for the constructor that initializes the data to a default, invalid state.
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.
double GetNumericalValue() const
Get the value associated with this log data.
ControlPointFileEntryV0002_Measure_MeasureLogData ToProtocolBuffer() const
This converts the log data to a protocol buffer object.
Control measures store z-scores in pairs.
double p_numericalValue
The actual value of the data.
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
bool IsValid() const
This tests if the log data is complete and valid.
GoodnessOfFit is pointreg information for reference measures.
void SetNumericalValue(double)
This updates the value associated with a NumericLogDataType.
QVariant GetValue() const
Get the data type associated with this log data.
Deprecated keyword kept for backwards compatability with older Control Networks.
NumericLogDataType p_dataType
Which kind of value are we storing.
QString DataTypeToName(NumericLogDataType) const
This converts the log data type to a string and is used internally for convertions to and from Pvl...
Deprecated keyword kept for backwards compatability with older Control Networks.
ControlMeasureLogData()
This creates an empty, invalid (IsValid() will return false), instance.
void SetDataType(NumericLogDataType)
This changes the type of this log data.
PvlKeyword ToKeyword() const
This converts the log data to a PvlKeyword.
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...

U.S. Department of the Interior | U.S. Geological Survey
ISIS | Privacy & Disclaimers | Astrogeology Research Program
To contact us, please post comments and questions on the ISIS Support Center
File Modified: 07/12/2023 23:16:24