#2139, #2126 Add available times convenience access in RftReader, Rename enum in RifEclipseRftAddress

This commit is contained in:
Jacob Støren
2017-11-13 15:17:49 +01:00
parent 8bea278d20
commit c670878b33
6 changed files with 60 additions and 34 deletions

View File

@@ -32,7 +32,7 @@ class RifEclipseRftAddress
{
public:
enum RftWellLogChannelName
enum RftWellLogChannelType
{
NONE,
DEPTH,
@@ -46,16 +46,16 @@ public:
};
public:
RifEclipseRftAddress(QString wellName, QDateTime timeStep, RftWellLogChannelName wellLogChannelName);
RifEclipseRftAddress(QString wellName, QDateTime timeStep, RftWellLogChannelType wellLogChannel);
const QString& wellName() const { return m_wellName; }
QDateTime timeStep() const { return m_timeStep; }
const RftWellLogChannelName& wellLogChannelName() const { return m_wellLogChannelName; }
const RftWellLogChannelType& wellLogChannel() const { return m_wellLogChannel; }
private:
QString m_wellName;
QDateTime m_timeStep;
RftWellLogChannelName m_wellLogChannelName;
RftWellLogChannelType m_wellLogChannel;
};
bool operator==(const RifEclipseRftAddress& first, const RifEclipseRftAddress& second);