#1947 RFT/PLT Plot: Create const string in rftAddress for wellLogChannelName

This commit is contained in:
Unknown
2017-10-05 21:16:16 +02:00
committed by Rebecca Cox
parent 5f050448f9
commit e23783c1ed
2 changed files with 44 additions and 3 deletions

View File

@@ -20,6 +20,8 @@
#pragma once
#include <string>
#include <vector>
#include <QDateTime>
//==================================================================================================
@@ -28,9 +30,20 @@
//==================================================================================================
class RifEclipseRftAddress
{
public:
static const QString DEPTH;
static const QString PRESSURE;
static const QString SWAT;
static const QString SOIL;
static const QString SGAS;
static const QString WRAT;
static const QString ORAT;
static const QString GRAT;
public:
RifEclipseRftAddress(QString wellName, QDateTime timeStep, QString wellLogChannelName);
RifEclipseRftAddress(std::string wellName, time_t timeStep, std::string wellLogChannelName);
RifEclipseRftAddress(std::string wellName, time_t timeStep, QString wellLogChannelName);
static std::vector<QString> allWellLogChannelNames();
const QString& wellName() const { return m_wellName; }
QDateTime timeStep() const { return m_timeStep; }