mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Refactor: move method implementation to cpp file.
This commit is contained in:
parent
6144c1f3a6
commit
c79f7939b4
@ -256,3 +256,35 @@ bool RimWellLogLasFile::isDateValid( const QDateTime dateTime )
|
||||
{
|
||||
return dateTime.isValid() && dateTime != DEFAULT_DATE_TIME;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
caf::PdmFieldHandle* RimWellLogLasFile::userDescriptionField()
|
||||
{
|
||||
return &m_name;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
QString RimWellLogLasFile::name() const
|
||||
{
|
||||
return m_name;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RigWellLogLasFile* RimWellLogLasFile::wellLogData()
|
||||
{
|
||||
return m_wellLogDataFile.p();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimWellLogLasFile::WellFlowCondition RimWellLogLasFile::wellFlowRateCondition() const
|
||||
{
|
||||
return m_wellFlowCondition();
|
||||
}
|
||||
|
@ -48,13 +48,13 @@ public:
|
||||
|
||||
static RimWellLogLasFile* readWellLogFile( const QString& logFilePath, QString* errorMessage );
|
||||
|
||||
QString name() const override { return m_name; }
|
||||
QString name() const override;
|
||||
|
||||
bool readFile( QString* errorMessage ) override;
|
||||
|
||||
QString wellName() const override;
|
||||
|
||||
RigWellLogLasFile* wellLogData() override { return m_wellLogDataFile.p(); }
|
||||
RigWellLogLasFile* wellLogData() override;
|
||||
|
||||
bool hasFlowData() const;
|
||||
|
||||
@ -64,7 +64,7 @@ public:
|
||||
WELL_FLOW_COND_STANDARD
|
||||
};
|
||||
|
||||
RimWellLogLasFile::WellFlowCondition wellFlowRateCondition() const { return m_wellFlowCondition(); }
|
||||
RimWellLogLasFile::WellFlowCondition wellFlowRateCondition() const;
|
||||
|
||||
std::vector<std::pair<double, double>>
|
||||
findMdAndChannelValuesForWellPath( const RimWellPath& wellPath, const QString& channelName, QString* unitString = nullptr ) override;
|
||||
@ -73,7 +73,7 @@ private:
|
||||
void setupBeforeSave() override;
|
||||
void defineUiOrdering( QString uiConfigName, caf::PdmUiOrdering& uiOrdering ) override;
|
||||
|
||||
caf::PdmFieldHandle* userDescriptionField() override { return &m_name; }
|
||||
caf::PdmFieldHandle* userDescriptionField() override;
|
||||
|
||||
static bool isDateValid( const QDateTime dateTime );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user