mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1839 Observed Data : Added const to RifSummaryReaderInterface
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
/////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "RimObservedData.h"
|
||||
|
||||
#include "RimTools.h"
|
||||
|
||||
#include <QFileInfo>
|
||||
|
||||
@@ -36,12 +36,13 @@ class RimObservedData : public RimSummaryCase
|
||||
public:
|
||||
RimObservedData();
|
||||
|
||||
virtual QString summaryHeaderFilename() const override;
|
||||
virtual QString summaryHeaderFilename() const override;
|
||||
virtual QString caseName() override;
|
||||
virtual void updateFilePathsFromProjectPath(const QString& newProjectPath, const QString& oldProjectPath) override;
|
||||
|
||||
QString identifierName() const;
|
||||
RifEclipseSummaryAddress::SummaryVarCategory summaryCategory() const;
|
||||
|
||||
private:
|
||||
caf::PdmField<caf::AppEnum<RifEclipseSummaryAddress::SummaryVarCategory> > m_summaryCategory;
|
||||
caf::PdmField<QString> m_identifierName;
|
||||
|
||||
@@ -65,7 +65,7 @@ public:
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
virtual bool values(const RifEclipseSummaryAddress& resultAddress, std::vector<double>* values) override
|
||||
virtual bool values(const RifEclipseSummaryAddress& resultAddress, std::vector<double>* values) const override
|
||||
{
|
||||
values->push_back(20);
|
||||
values->push_back(40);
|
||||
@@ -79,7 +79,7 @@ public:
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
virtual std::string unitName(const RifEclipseSummaryAddress& resultAddress) override
|
||||
virtual std::string unitName(const RifEclipseSummaryAddress& resultAddress) const override
|
||||
{
|
||||
return "Unknown unit";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user