Code cleanup

This commit is contained in:
Rebecca Cox
2017-11-27 15:23:26 +01:00
parent 15d6daea45
commit 403e137f6d
3 changed files with 87 additions and 122 deletions

View File

@@ -28,26 +28,6 @@ RigWellPathFormations::RigWellPathFormations(std::vector<std::pair<double, QStri
m_keyInFile = key;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
const std::vector<std::pair<double, QString>>& RigWellPathFormations::measuredDepthAndFormationNames() const
{
return m_measuredDepthAndFormationNames;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RigWellPathFormations::measuredDepthAndFormationNames(std::vector<QString>& names, std::vector<double>& measuredDepths) const
{
for (std::pair<double, QString> mdAndFormName : m_measuredDepthAndFormationNames)
{
measuredDepths.push_back(mdAndFormName.first);
names.push_back(mdAndFormName.second);
}
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------