Commit 17d39a9d authored by Adam Goins's avatar Adam Goins Committed by Makayla Shepherd
Browse files

removed protobuf references in ControlMeasureLogData. Changed...

removed protobuf references in ControlMeasureLogData. Changed ControlPointV0003 to not use deprecated toProtocolBuffer() call from ControlMeasureLogData.
parent 96241253
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -240,7 +240,13 @@ namespace Isis {
          throw IException(IException::Programmer, msg, _FILEINFO_);
        }
        else {
          *measure.add_log() = interpreter.ToProtocolBuffer();

          ControlPointFileEntryV0002_Measure_MeasureLogData protoBufDataEntry;

          protoBufDataEntry.set_doubledatatype(interpreter.GetDataType());
          protoBufDataEntry.set_doubledatavalue(interpreter.GetNumericalValue());

          *measure.add_log() = protoBufDataEntry;
        }
      }

+9 −2
Original line number Diff line number Diff line
@@ -32,6 +32,13 @@ namespace Isis {
  class PvlObject;
  class PvlContainer;

  /**
  * @internal
  *   @history 2017-12-21 Adam Goins - Changed Pvl constructor to not used
  *                           the deprecated "ToProtocolBuffer()" call from
  *                           ControlMeasureLogData.
  **/

  //TODO document this
  class ControlPointV0003 {
    public: