#1767 Add const access to RifReaderInterface

This commit is contained in:
Magne Sjaastad 2017-08-28 15:16:12 +02:00
parent c18e9c1293
commit d4663fe6df
2 changed files with 9 additions and 0 deletions

View File

@ -230,6 +230,14 @@ RifReaderInterface* RimReservoirCellResultsStorage::readerInterface()
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
const RifReaderInterface* RimReservoirCellResultsStorage::readerInterface() const
{
return m_readerInterface.p();
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------

View File

@ -55,6 +55,7 @@ public:
void setReaderInterface(RifReaderInterface* readerInterface);
RifReaderInterface* readerInterface();
const RifReaderInterface* readerInterface() const;
void computeDepthRelatedResults();
bool isDataPresent(size_t scalarResultIndex) const;