mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2122 Formation/Well Path: Use reader in WellPath classes
This commit is contained in:
@@ -34,14 +34,15 @@
|
||||
|
||||
#include "cvfObject.h"
|
||||
|
||||
#include <QString>
|
||||
|
||||
class RifWellPathImporter;
|
||||
class RigWellPath;
|
||||
class RimEclipseView;
|
||||
class RimProject;
|
||||
class RimWellLogFile;
|
||||
class RimWellPath;
|
||||
class RimWellPathFormations;
|
||||
class RifWellPathFormationsImporter;
|
||||
class QString;
|
||||
|
||||
namespace cvf {
|
||||
class ModelBasicList;
|
||||
@@ -95,10 +96,13 @@ public:
|
||||
void removeWellPath(RimWellPath* wellPath);
|
||||
void deleteAllWellPaths();
|
||||
|
||||
void readWellPathFormationFiles();
|
||||
|
||||
RimWellPath* wellPathByName(const QString& wellPathName) const;
|
||||
RimWellPath* tryFindMatchingWellPath(const QString& wellName) const;
|
||||
void addWellPaths(const std::vector<RimWellPath*> wellPaths);
|
||||
RimWellLogFile* addWellLogs(const QStringList& filePaths);
|
||||
RimWellPathFormations* addWellFormations(const QStringList& filePaths);
|
||||
|
||||
void scheduleRedrawAffectedViews();
|
||||
|
||||
@@ -119,11 +123,11 @@ public:
|
||||
const caf::DisplayCoordTransform* displayCoordTransform);
|
||||
void updateFilePathsFromProjectPath(const QString& newProjectPath, const QString& oldProjectPath);
|
||||
protected:
|
||||
virtual void fieldChangedByUi( const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue );
|
||||
virtual void fieldChangedByUi( const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue ) override;
|
||||
|
||||
private:
|
||||
virtual void defineUiOrdering( QString uiConfigName, caf::PdmUiOrdering& uiOrdering );
|
||||
virtual caf::PdmFieldHandle* objectToggleField();
|
||||
virtual void defineUiOrdering( QString uiConfigName, caf::PdmUiOrdering& uiOrdering ) override;
|
||||
virtual caf::PdmFieldHandle* objectToggleField() override;
|
||||
|
||||
void readAndAddWellPaths(std::vector<RimWellPath*>& wellPathArray);
|
||||
void sortWellsByName();
|
||||
@@ -131,5 +135,6 @@ private:
|
||||
RiaEclipseUnitTools::UnitSystemType findUnitSystemForWellPath(const RimWellPath* wellPath);
|
||||
|
||||
RifWellPathImporter* m_wellPathImporter;
|
||||
RifWellPathFormationsImporter* m_wellPathFormationsImporter;
|
||||
QString m_newestAddedWellName;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user