mirror of
https://github.com/OPM/ResInsight.git
synced 2026-11-05 13:47:06 -06:00
Refactor: Use PlotCollection interface more places.
This commit is contained in:
1 parent
0fb69f7524
commit
8b2173f951
20 files changed
+271
-311
No files matched your search
@@ -214,6 +214,25 @@ const std::vector<RimWellRftPlot*> RimRftPlotCollection::rftPlots() const
|
||||
return plots;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimRftPlotCollection::loadDataAndUpdateAllPlots()
|
||||
{
|
||||
for ( auto& plot : m_rftPlots )
|
||||
{
|
||||
plot->loadDataAndUpdate();
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
size_t RimRftPlotCollection::plotCount() const
|
||||
{
|
||||
return m_rftPlots.size();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user