(#541) Using two parameters when adding well info (parameter name and value)

This commit is contained in:
Pål Hagen committed 2015-10-16 13:35:09 +02:00
1 parent 0a7e971577
commit c2f0163eef
2 files changed
+9 -3

No files matched your search

+7 -2
View File
@@ -580,7 +580,12 @@ void NRLib::LasWell::setStopDepth(double stopDepth)
stop_depth_ = stopDepth;
}
void NRLib::LasWell::addWellInfo(const std::string& wellInfo)
void NRLib::LasWell::addWellInfo(const std::string& parameter, const std::string& value)
{
well_info_.push_back(wellInfo);
std::string info = parameter;
info += " : ";
info += value;
info += " :";
well_info_.push_back(info);
}
+2 -1
View File
@@ -61,7 +61,8 @@ public:
void setVersionInfo(const std::string& logName);
void setStartDepth(double startDepth);
void setStopDepth(double stopDepth);
void addWellInfo(const std::string& wellInfo);
void addWellInfo(const std::string& parameter, const std::string& value);
private:
void ReadHeader(const std::string & filename,