Refactor: Use PlotCollection interface more places.

This commit is contained in:
Kristian Bendiksen
2021-05-05 09:43:49 +02:00
parent 0fb69f7524
commit 8b2173f951
20 changed files with 271 additions and 311 deletions

View File

@@ -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();
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------