mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Performance: Control how much data to import from file
User can control if faults, NNCs and simulation wells are to be imported from file.
This commit is contained in:
@@ -22,12 +22,16 @@
|
||||
#include "cvfObject.h"
|
||||
#include "cvfLibCore.h"
|
||||
|
||||
#include "cafPdmPointer.h"
|
||||
|
||||
#include <QString>
|
||||
#include <QStringList>
|
||||
#include <QDateTime>
|
||||
|
||||
|
||||
class RigCaseData;
|
||||
class RifReaderSettings;
|
||||
|
||||
|
||||
//==================================================================================================
|
||||
//
|
||||
@@ -44,11 +48,14 @@ public:
|
||||
};
|
||||
|
||||
public:
|
||||
RifReaderInterface() { m_readFaultData = false; }
|
||||
virtual ~RifReaderInterface() {}
|
||||
RifReaderInterface() { }
|
||||
virtual ~RifReaderInterface() { }
|
||||
|
||||
void readFaultData(bool readFaultData) { m_readFaultData = readFaultData; }
|
||||
bool isFaultImportEnabled() { return m_readFaultData; }
|
||||
void setReaderSetting(RifReaderSettings* settings);
|
||||
|
||||
bool isFaultImportEnabled();
|
||||
bool isSimulationWellDataEnabled();
|
||||
bool isNNCsEnabled();
|
||||
|
||||
virtual bool open(const QString& fileName, RigCaseData* eclipseCase) = 0;
|
||||
virtual void close() = 0;
|
||||
@@ -63,6 +70,6 @@ public:
|
||||
|
||||
|
||||
private:
|
||||
std::vector<QString> m_filenamesWithFaults;
|
||||
bool m_readFaultData;
|
||||
std::vector<QString> m_filenamesWithFaults;
|
||||
caf::PdmPointer<RifReaderSettings> m_settings;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user