Placed WellLogExtractors in the RimWellLogPlotCollection and cached them

This commit is contained in:
Jacob Støren
2015-09-03 20:13:08 +02:00
parent e15a95f8b4
commit 1e6baed1dc
5 changed files with 90 additions and 47 deletions

View File

@@ -22,10 +22,12 @@
#include "cafPdmObject.h"
#include "cafPdmField.h"
#include "cafPdmChildArrayField.h"
#include "cvfCollection.h"
class RimWellLogPlot;
class RigEclipseWellLogExtractor;
class RimWellPath;
class RimEclipseCase;
//==================================================================================================
///
///
@@ -36,6 +38,10 @@ class RimWellLogPlotCollection : public caf::PdmObject
public:
RimWellLogPlotCollection();
virtual ~RimWellLogPlotCollection();
RigEclipseWellLogExtractor* findOrCreateExtractor(RimWellPath* wellPath, RimEclipseCase* eclCase);
caf::PdmChildArrayField<RimWellLogPlot*> wellLogPlots;
private:
cvf::Collection<RigEclipseWellLogExtractor> m_extractors;
};