Rename delta ensemble and case

Rename to RimDeltaSummaryCase and inherit RifSummaryReaderInterface
Rename to RimDeltaSummaryEnsemble

Remove obsolete RifDerivedEnsembleReader
This commit is contained in:
Magne Sjaastad
2024-11-13 11:26:06 +01:00
parent 11a3c66a0b
commit 7550b8702c
20 changed files with 210 additions and 347 deletions

View File

@@ -22,7 +22,7 @@
#include "RicCloseSummaryCaseFeature.h"
#include "RimDerivedEnsembleCaseCollection.h"
#include "RimDeltaSummaryEnsemble.h"
#include "RimMainPlotCollection.h"
#include "RimProject.h"
#include "RimSummaryCase.h"
@@ -64,7 +64,7 @@ bool RicCloseSummaryCaseInCollectionFeature::isCommandEnabled() const
summaryCaseCollections.erase( std::remove_if( summaryCaseCollections.begin(),
summaryCaseCollections.end(),
[]( RimSummaryEnsemble* coll )
{ return dynamic_cast<RimDerivedEnsembleCaseCollection*>( coll ) != nullptr; } ),
{ return dynamic_cast<RimDeltaSummaryEnsemble*>( coll ) != nullptr; } ),
summaryCaseCollections.end() );
return ( !summaryCaseMainCollections.empty() || !summaryCaseCollections.empty() );