mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Refactor: rename RimWellLogFile to RimWellLogLasFile
This commit is contained in:
@@ -44,7 +44,7 @@
|
||||
#include "RimProject.h"
|
||||
#include "RimStimPlanModel.h"
|
||||
#include "RimStimPlanModelCollection.h"
|
||||
#include "RimWellLogFile.h"
|
||||
#include "RimWellLogLasFile.h"
|
||||
#include "RimWellMeasurementCollection.h"
|
||||
#include "RimWellPath.h"
|
||||
#include "RimWellPathCompletionSettings.h"
|
||||
@@ -169,7 +169,7 @@ void RimWellPathCollection::loadDataAndUpdate()
|
||||
|
||||
if ( wellPath )
|
||||
{
|
||||
for ( RimWellLogFile* const wellLogFile : wellPath->wellLogFiles() )
|
||||
for ( RimWellLogLasFile* const wellLogFile : wellPath->wellLogFiles() )
|
||||
{
|
||||
if ( wellLogFile )
|
||||
{
|
||||
@@ -352,16 +352,16 @@ void RimWellPathCollection::addWellPaths( const std::vector<RimWellPath*> incomi
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
std::vector<RimWellLogFile*> RimWellPathCollection::addWellLogs( const QStringList& filePaths, QStringList* errorMessages )
|
||||
std::vector<RimWellLogLasFile*> RimWellPathCollection::addWellLogs( const QStringList& filePaths, QStringList* errorMessages )
|
||||
{
|
||||
CAF_ASSERT( errorMessages );
|
||||
|
||||
std::vector<RimWellLogFile*> logFileInfos;
|
||||
std::vector<RimWellLogLasFile*> logFileInfos;
|
||||
|
||||
foreach ( QString filePath, filePaths )
|
||||
{
|
||||
QString errorMessage;
|
||||
RimWellLogFile* logFileInfo = RimWellLogFile::readWellLogFile( filePath, &errorMessage );
|
||||
QString errorMessage;
|
||||
RimWellLogLasFile* logFileInfo = RimWellLogLasFile::readWellLogFile( filePath, &errorMessage );
|
||||
if ( !errorMessage.isEmpty() )
|
||||
{
|
||||
errorMessages->push_back( errorMessage );
|
||||
|
||||
Reference in New Issue
Block a user