Loading isis/src/control/objs/ControlMeasureLogData/ControlMeasureLogData.h +9 −8 Original line number Diff line number Diff line Loading @@ -45,7 +45,8 @@ namespace Isis { * @history 2011-04-04 Steven Lambright - Added error checking to the * conversion to protocol buffer * @history 2011-04-11 Steven Lambright - Added GetValue method * @history 2012-12-21 Adam Goins - Removed protobuf references. * @history 2017-12-21 Adam Goins - Removed protobuf references. * @history 2018-01-04 Adam Goins - Added variable names to method declarations. */ class ControlMeasureLogData { public: Loading Loading @@ -117,22 +118,22 @@ namespace Isis { */ Obsolete_AverageResidual = 8 }; /** * This value must be > the largest enumerated value in this type or * convertions to and from Pvl will not work. */ static const int MaximumNumericLogDataType = 9; ControlMeasureLogData(); ControlMeasureLogData(NumericLogDataType); ControlMeasureLogData(PvlKeyword); ControlMeasureLogData(NumericLogDataType, double value); ControlMeasureLogData(NumericLogDataType dataType); ControlMeasureLogData(PvlKeyword keywordRep); ControlMeasureLogData(NumericLogDataType dataType, double value); ControlMeasureLogData(const ControlMeasureLogData & other); ~ControlMeasureLogData(); void SetNumericalValue(double); void SetDataType(NumericLogDataType); void SetNumericalValue(double value); void SetDataType(NumericLogDataType newDataType); double GetNumericalValue() const; NumericLogDataType GetDataType() const; Loading @@ -141,7 +142,7 @@ namespace Isis { PvlKeyword ToKeyword() const; NumericLogDataType NameToDataType(QString name) const; QString DataTypeToName(NumericLogDataType) const; QString DataTypeToName(NumericLogDataType type) const; private: void Init(); Loading Loading
isis/src/control/objs/ControlMeasureLogData/ControlMeasureLogData.h +9 −8 Original line number Diff line number Diff line Loading @@ -45,7 +45,8 @@ namespace Isis { * @history 2011-04-04 Steven Lambright - Added error checking to the * conversion to protocol buffer * @history 2011-04-11 Steven Lambright - Added GetValue method * @history 2012-12-21 Adam Goins - Removed protobuf references. * @history 2017-12-21 Adam Goins - Removed protobuf references. * @history 2018-01-04 Adam Goins - Added variable names to method declarations. */ class ControlMeasureLogData { public: Loading Loading @@ -117,22 +118,22 @@ namespace Isis { */ Obsolete_AverageResidual = 8 }; /** * This value must be > the largest enumerated value in this type or * convertions to and from Pvl will not work. */ static const int MaximumNumericLogDataType = 9; ControlMeasureLogData(); ControlMeasureLogData(NumericLogDataType); ControlMeasureLogData(PvlKeyword); ControlMeasureLogData(NumericLogDataType, double value); ControlMeasureLogData(NumericLogDataType dataType); ControlMeasureLogData(PvlKeyword keywordRep); ControlMeasureLogData(NumericLogDataType dataType, double value); ControlMeasureLogData(const ControlMeasureLogData & other); ~ControlMeasureLogData(); void SetNumericalValue(double); void SetDataType(NumericLogDataType); void SetNumericalValue(double value); void SetDataType(NumericLogDataType newDataType); double GetNumericalValue() const; NumericLogDataType GetDataType() const; Loading @@ -141,7 +142,7 @@ namespace Isis { PvlKeyword ToKeyword() const; NumericLogDataType NameToDataType(QString name) const; QString DataTypeToName(NumericLogDataType) const; QString DataTypeToName(NumericLogDataType type) const; private: void Init(); Loading