#2545 Move fields from public to private

This commit is contained in:
Magne Sjaastad
2018-03-01 07:51:30 +01:00
parent bb0f026644
commit ef2179f1ba
19 changed files with 181 additions and 128 deletions

View File

@@ -104,9 +104,9 @@ void RicfExportProperty::execute()
m_eclipseKeyword = m_propertyName;
}
view->cellResult->setResultType(m_type());
view->cellResult->setResultVariable(m_propertyName());
view->cellResult()->setResultType(m_type());
view->cellResult()->setResultVariable(m_propertyName());
view->loadDataAndUpdate();
RifEclipseInputFileTools::writeBinaryResultToTextFile(filePath, eclipseCase->eclipseCaseData(), m_timeStepIndex, view->cellResult, m_eclipseKeyword, m_undefinedValue);
RifEclipseInputFileTools::writeBinaryResultToTextFile(filePath, eclipseCase->eclipseCaseData(), m_timeStepIndex, view->cellResult(), m_eclipseKeyword, m_undefinedValue);
}

View File

@@ -105,15 +105,15 @@ void RicfExportSimWellCompletions::execute()
std::vector<RimSimWellInView*> simWells;
if (m_wellPathNames().empty())
{
std::copy(view->wellCollection->wells.begin(),
view->wellCollection->wells.end(),
std::copy(view->wellCollection()->wells.begin(),
view->wellCollection()->wells.end(),
std::back_inserter(simWells));
}
else
{
for (const QString& wellPathName : m_wellPathNames())
{
RimSimWellInView* simWell = view->wellCollection->findWell(wellPathName);
RimSimWellInView* simWell = view->wellCollection()->findWell(wellPathName);
if (simWell)
{
simWells.push_back(simWell);