#4581 Summary Plot: Add isHistoryQuantity

This commit is contained in:
Magne Sjaastad
2019-08-16 14:37:34 +02:00
parent c78b435864
commit c5542463aa
3 changed files with 13 additions and 3 deletions

View File

@@ -537,6 +537,16 @@ bool RifEclipseSummaryAddress::isDependentOnWellName(SummaryVarCategory category
return false;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
bool RifEclipseSummaryAddress::isHistoryQuantity() const
{
const std::string historyIdentifier = "H";
return RiaStdStringTools::endsWith(m_quantityName, historyIdentifier);
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------