Refactor: Use PlotCollection interface more places.

This commit is contained in:
Kristian Bendiksen committed 2021-05-10 14:03:52 +02:00
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();
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------