Refactor: add RimWellLogFile interface

This commit is contained in:
Kristian Bendiksen
2023-10-02 16:07:54 +02:00
parent 651235b352
commit 55eeccf7c5
9 changed files with 223 additions and 42 deletions

View File

@@ -23,6 +23,7 @@
#include "RigGeoMechCaseData.h"
#include "RimGeoMechCase.h"
#include "RimWellLogFileUtil.h"
#include "RimWellLogLasFile.h"
#include "RimWellPath.h"
@@ -378,7 +379,7 @@ void RimWbsParameters::defineUiOrdering( QString uiConfigName, caf::PdmUiOrderin
//--------------------------------------------------------------------------------------------------
bool RimWbsParameters::hasLasFileWithChannel( const QString& channel ) const
{
return m_wellPath && !RimWellLogLasFile::findMdAndChannelValuesForWellPath( m_wellPath, channel ).empty();
return m_wellPath && !RimWellLogFileUtil::findMdAndChannelValuesForWellPath( *m_wellPath, channel ).empty();
}
//--------------------------------------------------------------------------------------------------