diff --git a/ApplicationCode/ProjectDataModel/RimWellLogRftCurve.cpp b/ApplicationCode/ProjectDataModel/RimWellLogRftCurve.cpp index 0d9d10d60c..880761e9d0 100644 --- a/ApplicationCode/ProjectDataModel/RimWellLogRftCurve.cpp +++ b/ApplicationCode/ProjectDataModel/RimWellLogRftCurve.cpp @@ -94,7 +94,6 @@ int RimWellLogRftCurve::currentTimeStep() const void RimWellLogRftCurve::setEclipseResultCase(RimEclipseResultCase* eclipseResultCase) { m_eclipseResultCase = eclipseResultCase; - //clearGeneratedSimWellPaths(); } //-------------------------------------------------------------------------------------------------- @@ -206,7 +205,7 @@ RifReaderEclipseRft* RimWellLogRftCurve::rftReader() const //-------------------------------------------------------------------------------------------------- /// //-------------------------------------------------------------------------------------------------- -std::vector RimWellLogRftCurve::xValues() +std::vector RimWellLogRftCurve::xValues() const { RifReaderEclipseRft* reader = rftReader(); std::vector values; @@ -223,7 +222,7 @@ std::vector RimWellLogRftCurve::xValues() //-------------------------------------------------------------------------------------------------- /// //-------------------------------------------------------------------------------------------------- -std::vector RimWellLogRftCurve::depthValues() +std::vector RimWellLogRftCurve::depthValues() const { RifReaderEclipseRft* reader = rftReader(); std::vector values; diff --git a/ApplicationCode/ProjectDataModel/RimWellLogRftCurve.h b/ApplicationCode/ProjectDataModel/RimWellLogRftCurve.h index c5dffd97cb..6f54232dea 100644 --- a/ApplicationCode/ProjectDataModel/RimWellLogRftCurve.h +++ b/ApplicationCode/ProjectDataModel/RimWellLogRftCurve.h @@ -23,13 +23,14 @@ #include "RifEclipseRftAddress.h" -#include "cvfObject.h" #include "cafPdmField.h" #include "cafPdmPtrField.h" +#include "cvfObject.h" -class RimEclipseResultCase; class RifReaderEclipseRft; +class RimEclipseResultCase; class RiuLineSegmentQwtPlotCurve; + //================================================================================================== /// /// @@ -55,14 +56,15 @@ protected: virtual QString createCurveAutoName() override; virtual void onLoadDataAndUpdate(bool updateParentPlot) override; - virtual QList calculateValueOptions(const caf::PdmFieldHandle* fieldNeedingOptions, bool * useOptionsOnly); + // Pdm overrrides + virtual QList calculateValueOptions(const caf::PdmFieldHandle* fieldNeedingOptions, bool * useOptionsOnly) override; virtual void fieldChangedByUi(const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue) override; private: RifReaderEclipseRft* rftReader() const; - std::vector xValues(); - std::vector depthValues(); + std::vector xValues() const; + std::vector depthValues() const; private: RiuLineSegmentQwtPlotCurve* m_qwtPlotCurve;